How do I make Sublime the default text editor for Git?

Git is the version control system for the masses. Why not use your favorite editor when editing files? Below are the instructions for editing files in Sublime Text 2.

git config –global core.editor “‘c:/program files/sublime text 2/sublime_text.exe’ -w”

Leave a Reply

Your email address will not be published. Required fields are marked *