For years I have been working on a project along with my colleagues following this pattern.
git checkout dev
git pull
git checkout -b my-branch
git add .
git commit -m "cool new changes"
git pull origin dev
git add .
git commit -m "more cool things"
git push
and so on. Never have I had an issue. Now suddenly I am constantly faced with this message
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Did git recently update something to force this? Did my config get corrupted? What I want is for it to do whatever it always did, which I'm pretty sure was just an auto-merge. I can't stand rebase as it makes me go through 100s of conflicts that don't actually exist.