Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Configure Git To Use Sublime Text Editor For Commit Messages

Execute the following command if you wish to configure git to use Sublime Text editor when making commit messages:

git config --global core.editor "subl -n -w"

References

Last updated: 30th September 2018
First published: 23rd September 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch