git-repo icon indicating copy to clipboard operation
git-repo copied to clipboard

error.GitError: --force-sync not enabled; cannot overwrite a local work tree.

Open DKLind opened this issue 8 years ago • 1 comments

Following 'repo init', all repositories have detached heads. I'm getting this error when ever I checkout a remote branch from a repository, followed by 'repo sync'. I have git version 2.11.1.windows.1 installed.

DKLind avatar Feb 10 '17 00:02 DKLind

@DKLind Can you check that with the fix in #58 things are OK for you?

I am almost 100% mine is not the right fix, but in my case it worked around the issue decently enough.

eddyp avatar Feb 17 '17 20:02 eddyp