githubteacher / githubfordevelopers-april

GitHub for Developers Training
4 stars 11 forks source link

I got this error when I tried the command #146

Open leef6 opened 7 years ago

leef6 commented 7 years ago

git commit atom --wait: atom: command not found error: There was a problem with the editor 'atom --wait'. Please supply the message using either -m or -F option.

brianamarie commented 7 years ago

@leef6 It looks like the atom text editor isn't quite set up correctly. For now, I recommend using gi commit -m "message" so that it will go through. Later, here is some documentation for setting atom as a default text editor.

leef6 commented 7 years ago

ok, thanks

leef6 commented 7 years ago

I got the same error again when I try the revert command

brianamarie commented 7 years ago

@leef6 Let's do git config --global --unset-all core.editor, and see if that fixes the problem.

brianamarie commented 7 years ago

@leef6 Were you able to resolve the problem?

leef6 commented 7 years ago

No I haven't tried. I will do it after as I at least try to follow on with the concepts, even if I can't do it. Thanks.

brianamarie commented 7 years ago

@leef6 Okay, great.