7/26/2023 0 Comments Sublime text vs textwranglerMake any further edits for your project settings if desired. Paste the following and save the settings. In Windows also save it in your home directory, for example: C:\Users\MY_USER_NAME\.gitconfig.sublime-project Now go to menu "Project" → "Edit Project" to edit the project settings. Its path is therefore: ~/.gitconfig.sublime-project. In Linux I saved it in my Linux home directory with the file name. Go to menu "Project" → "Save Project As." and choose a place to save it. Open Sublime Text and go to menu "File" → "New Window" to create a new anonymous project. Create a Sublime Text project with settings we want to use to edit Git commit messages For example, I normally set my ruler to 120 chars in most projects, but for Git commit messages I want it to be 72 characters so that it fits nicely in a terminal when you call git log or git lg.ġ. In Windows, I like to use Git Bash so that it feels more like Linux.įirst, we want to create a special Sublime Text project so that we can specify special project settings we want set whenever Git calls the editor, to make things easier when editing in Git. To follow these instructions in Windows make sure you have installed Git for Windows. Oh, peer pressure But, truly, Sublime is a great editor that’s why so many use it. It’s attractive, easy to use plus all my friends use it. I’ve played with TextWrangler, but there’s something about the Sublime Editor. (and hope no flags are needed for optimal usage.)īest settings for Sublime Text 3 or 4 as your Git editor (Windows
0 Comments
Leave a Reply. |