Reputation: 58067
I ran git config --global core.worktree
and it messed up all of my git repos. How can I undo this change? What's the default value for core.worktree and how can I set it up?
Upvotes: 1
Views: 208
Reputation: 1323135
You could simply remove that config (git config --global --unset core.worktree
)or:
Set the path to the root of the working tree.
This can be overridden by theGIT_WORK_TREE
environment variable and the--work-tree
command line option
The default work_tree directory is the one with the .git
in it.
Upvotes: 3