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.
I am getting this issue, I'm using git flow and just finished with a feature branch, merged it into develop, removed my old feature branch and now get that error message everytime I change branch or load up the window with the graph it errors.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
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