Git commit command is not working properly with atom editor

atom install shell commands
git set editor
atom command not found
atom-shell commands not working
please supply the message using either -m or -f option.
atom command line
bash: atom command not found
atom php editor

When I give the command "$git commit" to git bash, then

$ git commit
hint: Waiting for your editor to close the file... 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.

this error is thrown by git. I have configured atom in git using this command :-

$ git config --global core.editor "atom --wait"

If this problem appears, you have to :

1 - Go to the Atom menu.

2 - Select "Install Shell Commands".

3 - Restart the terminal

It's magic it works :D

"atom --wait" does not work · Issue #20152 · atom/atom · GitHub, Atom launches to act as commit message editor, but the Command Prompt does not block, and instead git issues the following error output  When attempting to use atom --wait as the git config core.editor setting as introduced in Atom v1.25.0-beta0 by #16497, it seems the functionality attempted in that PR doesn't work under Windows, since the Atom window that the editor was spawn in still needs to fully close for git to consider the message as ready.

In git bash do a

git config core.editor "atom --add --wait"

Then you can do in git bash a

git commit

and it will open up Atom and wait. Enter a message, save and quit.

atom --wait doesn't work as git editor on Windows · Issue #16740 , atom --wait doesn't work as git editor on Windows #16740 Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking- As soon as the tab is closed git considers the message done and does the commit. described above, as well as using atom --wait --safe as the editor command. I expect an Atom window to open with git commit details, and a place for me to enter a commit message. Upon closing this Atom window, I expect the commit to be executed and succeed. Actual behavior:

Here are some tools to figure this out.

Check current configuration:

git config --list

Check Status:

git status

See which configuration below works for the atom text editor:

git config --global core.editor "atom"
git config --global core.editor "atom --wait"
git config --global core.editor "atom -w -s"

Be sure to leave a message in the file that opens after running "git commit" in terminal. Save and completely exit the editor.

Problem using atom 1.32.2 as git commit editor - support, When I use git commit from the command line git says "hint: Waiting for your editor to close the file… ", but then doesn't finish when I close the  On the left, click SSH and GPG keys, then New SSH key. Paste your public SSH key in the box, provide a title, and save by clicking Add SSH key. Now, back inside Atom, open the Command Palette. On Mac, press shift + command + p. In Windows/Linux, press control + shift + p. Type git clone and press enter.

Version Control in Atom, Atom can be used as your Git commit editor and ships with the language-git with Atom includes several Git decorations that display on the right side of the status bar: Most of the commands will take the current file you're viewing and open a commits that are on the branch you're currently working on locally that are not  You can configure Atom to be your Git commit editor with the following command: git config --global core.editor "atom --wait" The language-git package will help you with your brevity by colorizing the first lines of commit messages when they’re longer than 50 and 65 characters. You can tweak these styles by adding the following snippet to your ~/.atom/styles.less file. Click the Atom > Open Your Stylesheet menu item to open it.

Git and Atom Setup, Windows does not have this by default, so we will install Git Bash which is a Atom is the text-editor that we support in this class for editing files. First, we will install a terminal/command line we can use directly in Atom. Confirm that you set the key up correctly by navigating to the Atom terminal again and running: ssh -T  You can configure Atom to be your Git commit editor with the following command: git config --global core.editor "atom --wait" The language-git package will help remind you to be brief by colorizing the first lines of commit messages when they're longer than 50 or 65 characters.

Git Code Editor Error when trying to Commit : git, hint: Waiting for your editor to close the file subl -w: subl: command not I ran git config --get core.editor and the output was atom, when opening files I have a situation where developers are working right in a Unix/AIX directory in /sandbox​. Note: If you don't have Atom and you'd like to get it, go to: https://atom.io/ 1. git-control. The git-control package is my personal favorite as it makes working with Git a breeze. If, like me, you’re a bit more of a casual Git user and don’t have all the commands you need 100% memorized, this is the package for you.

Comments
  • How to go to atom menu? Do I need to install a package?
  • Atom menu in in the top left corner of atom ( you can press alt to have the menu bar )
  • Ok, but where can I find install shell Commands? Is it inside File, Edit, View, Selection, Find, Packages or Help?
  • Note that "Install Shell Commands" isn't available on all operating systems
  • I'm using Windows 10.