jp.av.dev 2020-07-16 15:28:35 -04:00
parent d56ddc941e
commit a583b7f35d

@ -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. .*"