Simple git alias that does pull --ff-only. It is possible to configure git pull to do --ff-only by default - https://blog.sffc.xyz/post/185195398930/why-you-should-use-git-pull-ff-only-git-is-a
but I prefer to have default settings for commands to have fine-grained control over the operations.
Open .gitconfig (usually it is in c:/users/YOUR-USER/.gitconfig) and add an alias:
[alias]
up = !git pull --ff-only
No comments:
Post a Comment