Created
October 24, 2012 07:12
-
-
Save Osse/3944504 to your computer and use it in GitHub Desktop.
git status error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When running 'git status' I get the following error when my cwd is .../repo/some_subdir | |
fatal: internal error: work tree has already been set | |
Current worktree: /full/path/to/repo/ | |
New worktree: /full/path/to/repo/some_subdir | |
When I am in .../repo and run 'git status' it behaves as expected. There .git is a textfile containing: | |
gitdir: /some/other/full/path/myrepo | |
and .../myrepo contains what .../repo/.git used to contain. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had this error with git 2.7.4, upgraded to 2.19.1 by following https://unix.stackexchange.com/a/170831/250380 and this error went away.