windows 7 - git commit error with sublime text 2 -


this question has answer here:

i'm taking course "how use git , github" on udacity. i'm following along examples i've run problem. i've been @ trying fix problem via googling , trial , error myself 2 hours. think it's time make stackoverflow post. prefer trying figure out issue without posting on stackoverflow, seems @ point, i'm not being productive , i'm sure issue gotcha more experienced developer , save hours posting here, here am. i've found forum posts on varying sites similar issues mine , have followed appropriate action no avail. appreciate or guidance.

so, learning git , doing our first git commit. i'm on windows 7. i'm using git bash navigate through directories on computer , git commands. course had set default editor git sublime text 2 command...

git config --global core.editor "'c:/program files/sublime text2/sublime_text.exe' -n -w" 

now, navigate appropriate directory using git bash , git status , shows 2 files want in staging area. fine , well. try git commit, following error...

'c:/program files/sublime text2/sublime_text.exe' -n -w: c:/program files/sublim e text2/sublime_text.exe: no such file or directory error: there problem editor ''c:/program files/sublime text2/subl ime_text.exe' -n -w'. please supply message using either -m or -f option. 

please help!!!

thanks in advance time , efforts :)

i taking same course udacity , have same errors . figured out path in .gitconfig file includes slashes before space aren't needed . go .gitconfig file , find path c:/program files/sublime\\ text\\ 2/sublime_text.exe . remove slashes , make c:/program files/sublime text 2/sublime_text.exe.

now error of providing message using -m go away , sublime open on entering git commit


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -