When I clone a Git repo in Source Tree and make a commit and then go to Master branch to try and push my code to Bit Bucket, I get this error:
'git log' failed with code 128:'fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
This has been happening recently whenever I create a new repo and then initiate first commit. Seems to throw this error everytime. I'm not sure why as I haven't changed anything.
Currently running Mac 10.7.5 and Source Tree 1.5.4. and have Git 220.127.116.11 on my Mac.
Hmm, that's odd - it looks like something has happened to the definition of the remote branch 'origin/master'.
Can you try this:
This kind of thing usually only happens if someone deletes branches from the remote, or forces a push which changes commits that someone else has pulled. Beause git fetches this from the remote and stores it, if it changes it can get confused unless you prune the remote info like this. You shouldn't need to do it normally.
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs