Fatal: ambiguous argument

I have a branch at ssh://git@github.com/flashodoo/free-addons.git#12.0 and run perfectly. But create another brach and with ssh://git@github.com/flashodoo/free-addons.git#13.0 i have:

Error when updating git from ssh://git@github.com/flashodoo/free-addons.git#13.0
returncode: 128
b"fatal: ambiguous argument ‘origin/13.0’: unknown revision or path not in the working tree.\nUse ‘–’ to separate paths from revisions, like this:\n’git […] – […]

Any help?

Hi there! :wave: Welcome to the Community!

What command did you run to get that error message?

Did you perhaps have a folder called “13.0” in the repository? Git treats branch names exactly the same as file paths, so if you had a folder with the same name as the branch, that would cause the ambiguity!

1 Like