¿Cómo configurar el repositorio de github en mi NetBeans IDE?
Soy muy nuevo en Github. Acabo de crear una cuenta de github y dice lo siguiente:
Paso 1
Global setup:
Set up git
git config --global user.name "MyName"
git config --global user.email [email protected]
Next steps:
mkdir Java
cd Java
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:MyName/Java.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin [email protected]:MyName/Java.git
git push -u origin master
Paso 2) NetBeans IDE que intenta configurar el enlace como [email protected]: MyName / Java.git
Ahora da error como puedes ver arriba. ¿Cómo configuro esto?
Seguimient: (el proceso anterior no funcionó)
$ create a project > cd /var/tmp/newproject
$ sudo git remote add origin [email protected]:me/newproject.git
$ ls -a
. .. build build.xml dist .git .gitignore manifest.mf nbproject src
$ Open netbeans
> Automatically it detects
> origin:[email protected]:me/newproject.git
> press next
> local branch
> select master
> press next
> press finish
Works!