Git Error: warning: refname 'origin/branch-name' is ambiguous.
When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file:
1 $ rm .git/refs/heads/origin/branch-name
When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file:
1 $ rm .git/refs/heads/origin/branch-name