Search code examples
gitgit-config

git config rebase.abbreviateCommands


I'd like to enable rebase.abbreviateCommands. I added the lines below to my git file (~/.gitconfig), saved, opened a new terminal, cd to a git repo, then attempted a git rebase -i HEAD~, and I still "pick" instead of "p". I confirmed git is using this file by removing configurations and observing changes, and by running git config -l.

[rebase]
        abbreviateCommands = true

Doc: https://git-scm.com/docs/git-config (search for abbreviateCommands)


Solution

  • rebase.abbreviateCommands was new in Git version 2.16.0. What Git version are you running?