Quickly open git source code vim $(git --exec-path)/git-rebase--interactive Automatically change "pick" to "reword" in a rebase GIT_SEQUENCE_EDITOR="sed -i '' -e 's/^pick/reword/g'" git rebase -i --root