Created
April 28, 2018 22:38
-
-
Save andrebian/fa17867e27106b2277aa3c38e7491db1 to your computer and use it in GitHub Desktop.
Configurando mais de um repositório
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adicionando o primeiro repositório, do Github | |
$ git remote add origin git@github.com:seu_user/seu_projeto.git | |
# Agora adicionando um segundo repositório, vou nomear como **build** | |
git remote add build ssh://user@server/pasta_do_repositorio.git | |
## Obtendo atualizações dos repositórios | |
$ git pull origin master | |
$ git pull build master | |
### Enviando alterações para os repositórios | |
$ git push origin master | |
$ git push build master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment