Whenever I use git commit --amend, it automatically opens Vim on Terminal. Since I am a Sublime Text 2 user, I would love to have this editor opening whenever I execute this command.
Thanks for your help
Whenever I use git commit --amend, it automatically opens Vim on Terminal. Since I am a Sublime Text 2 user, I would love to have this editor opening whenever I execute this command.
Thanks for your help
Set Sublime Text 2 to be your editor for commits
git config --global core.editor "subl -n -w"
But I do not use Sublime, so check this : https://help.github.com/articles/associating-text-editors-with-git/