From a583b7f35d87e083285245b6208fc63d63c8f08d Mon Sep 17 00:00:00 2001 From: "jp.av.dev" Date: Thu, 16 Jul 2020 15:28:35 -0400 Subject: [PATCH] --- Comandos-Basicos-Git.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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. .*"