updated gitComandos.txt
This commit is contained in:
+9
-1
@@ -1,9 +1,16 @@
|
|||||||
GIT Librography
|
GIT Librography
|
||||||
|
|
||||||
|
git add .
|
||||||
|
git commit -m "mensagem"
|
||||||
|
# Enviar mudanças (ambos)
|
||||||
|
git push origin master
|
||||||
|
|
||||||
# atualizar arquivos do repositorio remoto para o local
|
# atualizar arquivos do repositorio remoto para o local
|
||||||
git pull origin master
|
git pull origin master
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Github
|
@Github
|
||||||
# git init
|
# git init
|
||||||
git add .
|
git add .
|
||||||
@@ -24,5 +31,6 @@ git push origin master --force
|
|||||||
git remote -v
|
git remote -v
|
||||||
git remote add github git@github.com:flashlan/Librography.git
|
git remote add github git@github.com:flashlan/Librography.git
|
||||||
|
|
||||||
|
# setar multiplos remotes para atualizar com um comando (push)
|
||||||
|
git remote set-url --add --push origin git@github.com:flashlan/Librography.git
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user