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?
I ran git config –global core.worktree and it messed up all of my git
Share
You could simply remove that config (
git config --global --unset core.worktree)or:The default work_tree directory is the one with the
.gitin it.