Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Elgene Ee
Elgene Ee
3,554 Points

Open sublime text editor from Git Bash?

Hi guys, I have searched for help about how to make Sublime Text 3 as my default editor using Git Bash using the code here:

$git config --global core.editor "'c:/program files/sublime text 3/subl.exe' -w"

However, what if I would like to edit some files without using nano command but using git command and modify the file by Sublime Text 3, then push and commit everything via Git Bash.

Hope someone can help me out, thanks!

1 Answer