You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have currently the issue, that the path splitter -- is removed if no path spec exists, e.g. git checkout -f dev -- becomes git checkout -f dev.
This can be an issue if for example in a repository with a file dev, no local branch dev and a remote branch origin/dev. The checkout command can not decide which operation to perform (create local branch or restore file) and quits with an error.
This can be reproduced in the repository: https://github.com/thomaszub/simple-git-co-bug
I make a PR.
Kind regards
Thomas
The text was updated successfully, but these errors were encountered:
Hi,
I have currently the issue, that the path splitter
--
is removed if no path spec exists, e.g.git checkout -f dev --
becomesgit checkout -f dev
.This can be an issue if for example in a repository with a file
dev
, no local branchdev
and a remote branchorigin/dev
. The checkout command can not decide which operation to perform (create local branch or restore file) and quits with an error.This can be reproduced in the repository: https://github.com/thomaszub/simple-git-co-bug
I make a PR.
Kind regards
Thomas
The text was updated successfully, but these errors were encountered: