Skip to content

Instantly share code, notes, and snippets.

@Adron
Created May 3, 2017 18:24
Show Gist options
  • Save Adron/d86eac58a61b726ea8f1e416a386a32b to your computer and use it in GitHub Desktop.
Save Adron/d86eac58a61b726ea8f1e416a386a32b to your computer and use it in GitHub Desktop.
Set Atom to Git Editor
git config --global core.editor "atom --wait"
@ahmad-mostafa1000
Copy link

When i use git commit command i got this:
hint: Waiting for your editor to close the file... error: cannot spawn atom: No such file or directory
error: unable to start editor 'atom'
Please supply the message using either -m or -F option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment