git rebase fast-forward fails with abbreviateCommands
- From
- Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
- Date
- Mar 27, 2020, 11:44 UTC
- Message-ID
- <9b4bc756764d87c9f34c11e6ec2fc6482f531805.camel@gmail.com>
Hi,
Since 2.26.0 a simple "git rebase" fails to fast-forward a branch, reporting "error: nothing to do."
It started to work again after removing my gitconfig. I've reduced it to the following:
git init foo; cd foo
git commit --allow-empty -m foo
git commit --allow-empty -m bar
git checkout -tb foo
git reset HEAD~
git -c rebase.abbreviateCommands=true rebase