-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branch name conflicts with existing directory name #1318
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Description
If there exists a directory with the same name as a branch, switching to this branch fails.
The following error message is shown:
Failed to switch branch: fatal: ambiguous argument 'b': both revision and filename Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'
Reproduce
Expected behavior
Due to the error, the branch could not be switched.
Thus, the expected behavior is that switching branches works even if there is a directory with the same name.
Context
0.50.0
@jupyterlab/git v0.50.0 enabled OK (python, jupyterlab-git)
2.42.0
Command Line Output
The text was updated successfully, but these errors were encountered: