Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple instances of git (each created by single activity in local git repository) #1198

Closed
quasarea opened this issue Dec 12, 2016 · 9 comments

Comments

@quasarea
Copy link

Versions

ConEmu build: 161206 x64
OS version: Windows 7 x64
Used shell version: cmd::Cmder

Problem description

Multiple instances of git processes are invoked by any command after accessing local git repository.
Each is locking repository so committing is no blocked.
Got fresh update of cmder and fresh install of git (git version 2.11.0.windows.1)

Steps to reproduce

enter local git repository (notice tab name will change to git.exe)
type any command, i.e. echo "a" multiple times
each command opens new git sub process
Actual results

multiple git processes running

Expected results

one git process handling all the activity in the repository

2016-12-08 17_43_33-cmd

2016-12-08 17_44_18-cmd

@jamesjrg
Copy link

I too have this issue, have you found a way to disable git support? I'm fine using cmder without the git-aware prompt, but this behaviour makes it unusable as is.

@quasarea
Copy link
Author

Nope, nothing new from my side. I'm running git in separated consoles and avoiding git folders in cmder.

Tired to reinstall both in different order, did not help at all.

@glucas
Copy link
Contributor

glucas commented Mar 1, 2017

I've seen this problem before, but haven't had it in a while. I think this is related to git processes not terminating properly, see #1060 for related discussion.

@DeezCashews
Copy link

Just adding my observations, same problem. Didn't happen until I updated to Windows 10 last night but that's not to say Cmder didn't upgrade as well. Tried a fresh install of Cmder + Git for windows after uninstalling my own Git for Windows. Still getting same error. Even doing

git status -> creates lock file
git add --all -> Failed because lock file still exists and there are handing git processes

This only happens in cmd, not in Powershell or bash through Cmder.

@quasarea
Copy link
Author

@Stanzilla - was it fixed?

@Stanzilla
Copy link
Member

Yeah should be

@eddy-ojb
Copy link

No it's not fixed. I have the same issue. 4 instances of git running, blowing up my laptop. How do I fix?

@DeezCashews
Copy link

Use Powershell if you can.

@hassan-kassim
Copy link

use this for remove the git running process.

rm -f .git/index.lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants