Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,602
Community Members
 
Community Events
164
Community Groups

Can't push after Commit

I'm in the master branch, up to date, make a commit without automatically pushing, and then the push button should show a "1", but it doesn't show anything. In addition, I tried doing it again with automatically pushing, and then following error appeared:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks commit -q -F C:\Users\Antheus\AppData\Local\Temp\5yo351ft.elv The Local branch '(no branch)' (Remote branch = '(no branch)') is invalid. Ref names must follow git ref-format rules: https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html Completed with errors, see above.

 

1 answer

1 accepted

This is a bug in the latest version. Very irritating.

Workaround: When the window pops up where you select what branch to push, check your new branch. Then you select the text in the "remote branch" field and copy it all. Then paste it right back. Then the push will work. It seems the GUI doesnt recognize the new value when its auto-filled but when you copy paste the exact same text back into the box it does.

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

52,036 views 125 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you