Only check if `.git` exists, not more
git worktree
has .git
as a file, not a directory.
Signed-off-by: Maxime “pep” Buquet pep@bouah.net
git worktree
has .git
as a file, not a directory.
Signed-off-by: Maxime “pep” Buquet pep@bouah.net
This will create a new commit in order to revert the existing changes.