File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,9 @@ git push --force-with-lease (set origin to be the same as local)
269
269
```
270
270
271
271
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.
275
275
276
276
You can also `git push --force-with-lease` from master to keep your origin's master in sync with
277
277
upstream.
You can’t perform that action at this time.
0 commit comments