2018-02-05 02:27:07 +00:00
|
|
|
# Collaboration
|
2019-11-23 16:05:04 +00:00
|
|
|
```bash
|
2018-02-05 02:27:07 +00:00
|
|
|
# Pull from default remote.
|
|
|
|
git pull
|
|
|
|
|
|
|
|
# Push to default remote.
|
|
|
|
git push
|
|
|
|
|
|
|
|
# Push to 'origin' remote from 'master' branch.
|
|
|
|
git push origin master
|
|
|
|
|
|
|
|
# Sync with the repo this was forked from / the remote associated with 'upstream.'
|
|
|
|
git pull upstream master
|
2021-09-11 11:31:20 +00:00
|
|
|
|
|
|
|
# Fetch from all remotes, by default, unless remotes are setup in the config.
|
|
|
|
git remote update
|
2018-02-05 02:27:07 +00:00
|
|
|
```
|