You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am running SourceTree 4.1.3 on a Mac.
When I:
No error messages are displayed, but the Push button doesn't show a number (I'd expect a "1") and the commit doesn't appear on bitbucket.org. The History in SourceTree does show the commit with a commit number.
If I follow the same steps as above but do select the "push changes immediately..." checkbox, I get a "src refspec refs/heads/HEAD does not match any" error as shown here (in bold):
git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/fc/1_ybtrqn5h54w29tft3l1fpm0000gn/T/SourceTreeTemp.89CL9b
git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/HEAD:refs/heads/HEAD
Pushing to https://bitbucket.org/USERNAME/REPOSITORYNAME.git
error: src refspec refs/heads/HEAD does not match any
error: failed to push some refs to 'https://bitbucket.org/USERNAME/REPOSITORYNAME.git'
Completed with errors, see above
Here is the History tree that is displayed in SourceTree:
Thanks for helping a git novice!