why magit said ' Git is already running' when i am trying to do a commit
Asked Answered
S

1

8

i am using magit in emacs , when i try to commit a change by type C-c C-c the output console shows' Git is already running', as i checked thru Git bash , it did not generete any commit .

Sabec answered 9/12, 2012 at 4:27 Comment(0)
H
11

This seems to be a bug in magit and it happens from time to time. Killing git in the terminal with killall git seems to resolve the problem. As @Daimrod noted in a comment killing the magit-display-buffer will have the same effect.

Hutch answered 9/12, 2012 at 8:40 Comment(3)
You can also kill the buffer which contains the process ($magit-display-process).Frisk
so for the window enviroment , i have to close the git bash windows?Sabec
Or you can kill the magit-display-buffer (this would kill the underlying git process as well)Hutch

© 2022 - 2024 — McMap. All rights reserved.