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 trialTammy Dotson
16,790 PointsChanging Git Code Editor in Windows
How do I get Git to change the code editor from notepad to Adobes Edge Code or Notepad ++. I have been trying git config --global core.editor with paths to each file and nothing seems to be working. After each attempt I get command not found. Or it goes back to the command prompt then when I try and type in the editor e.g. notepad++ readme i get the command not found message again.
4 Answers
Ethan Lowry
Courses Plus Student 7,323 PointsThe method described here might be what you're looking for.
Tammy Dotson
16,790 PointsThank you Ethan I tried this and it didn't work for me. I know I am getting the paths right. I just can't figure it out. Thanks for your help though, I appreciate it.
Tammy Dotson
16,790 PointsThank you Ethan after doing some research your post did lead me to the answer. I am posting how I did it here in case anyone searches the forum and this can help. I got it working with notepad++ by typing in. git config --global core.editor ' "C:/Program Files (x86)/Notepad++/Notepad++.exe" ' for some reason the single and double quotations were the key on my system.
Ethan Lowry
Courses Plus Student 7,323 PointsCool, glad you got it sorted.
Ethan Lowry
Courses Plus Student 7,323 PointsAlso if you wouldn't mind marking the question as answered that would be good, thanks :)
Tammy Dotson
16,790 PointsI was looking for that but I don't see it in this post for some reason its not showing up. I see the correct answer in other posts but not this one.