diff --git a/Comandos-Basicos-Git.md b/Comandos-Basicos-Git.md index ba24fb1..c1a6ed6 100644 --- a/Comandos-Basicos-Git.md +++ b/Comandos-Basicos-Git.md @@ -213,16 +213,18 @@ git push -u origin master ``` git remote -v git remote rm origin - -"Pushing an existing repository from the command line" -" ssh " -git remote add origin gite@192.168.0.8:333/jp.av.dev/test_r.git -git push -u origin master - -" http " -git remote add origin http://192.168.0.8:3000/jp.av.dev/test_repo.git ``` +### Pushing an existing repository from the command line + +#### ssh +``` +git remote add origin sshUsr@192.8.8.8:88/usrRepo/repo.git +git push -u origin master +``` +#### https +`git remote add origin https://url:3000/usrRepo/repo.git` + ## Git ignore "Crear archivo .gitignore aƱadir archivo/carpeta/extension para ignorarlos no guardar archivos sensibles, regex, ej. .*"