Skip to content

Commit 9a42b37

Browse files
camelidjyn514
authored andcommitted
Clarify paragraph in "Keeping things up to date"
1 parent 0cc70fc commit 9a42b37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/git.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ git push --force-with-lease (set origin to be the same as local)
269269
```
270270

271271
To avoid merges as per the [No-Merge Policy](#no-merge-policy), you may want to use
272-
`git config pull.ff only` (this will apply the config to the local repo).
273-
to avoid merge conflicts while pulling, without needing
274-
`--ff-only` or `--rebase` while `git pull`ing
272+
`git config pull.ff only` (this will apply the config only to the local repo)
273+
to ensure that Git doesn't create merge commits when `git pull`ing, without
274+
needing to pass `--ff-only` or `--rebase` every time.
275275

276276
You can also `git push --force-with-lease` from master to keep your origin's master in sync with
277277
upstream.

0 commit comments

Comments
 (0)