0
votes

I'm doing the Udacity course on Github and I'm trying to setup Sublime Text 3 with Github.

Running the "subl" command works and the text editor runs normally but when I try to commit something, which brings along Sublime to type the comment for the commit, I get this error.

C:/Program Files/Git/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl: C:/Program: No such file or directory error: There was a problem with the editor 'C:/Program Files/Git/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'.

I've tried adding the Sublime installation directory to my Windows PATH, and trying to create the directory specified in the error message.

What am I doing wrong here?

I am using the mintty emulator by the way,.

1
That's a quoting issue it looks like. The path is getting word-split by the shell. How did you set up sublime text for this? Did you follow the class's directions exactly? - Etan Reisner
Oops, apparently my short attention span has led me to forget two bash commands to input before I can use Sublime to commit! - user4442318

1 Answers

0
votes

Oops, turns out the problem is my fault. There were some commands I forgot to run in the git bash command line. For reference, the commands are:

git config --global push.default upstream

and

git config --global merge.conflictstyle diff3

Thanks for all the help though!