Clarify paragraph in "Keeping things up to date"
This commit is contained in:
parent
f1b5e50437
commit
ef35a84098
|
|
@ -269,9 +269,9 @@ git push --force-with-lease (set origin to be the same as local)
|
||||||
```
|
```
|
||||||
|
|
||||||
To avoid merges as per the [No-Merge Policy](#no-merge-policy), you may want to use
|
To avoid merges as per the [No-Merge Policy](#no-merge-policy), you may want to use
|
||||||
`git config pull.ff only` (this will apply the config to the local repo).
|
`git config pull.ff only` (this will apply the config only to the local repo)
|
||||||
to avoid merge conflicts while pulling, without needing
|
to ensure that Git doesn't create merge commits when `git pull`ing, without
|
||||||
`--ff-only` or `--rebase` while `git pull`ing
|
needing to pass `--ff-only` or `--rebase` every time.
|
||||||
|
|
||||||
You can also `git push --force-with-lease` from master to keep your origin's master in sync with
|
You can also `git push --force-with-lease` from master to keep your origin's master in sync with
|
||||||
upstream.
|
upstream.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue