It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,942 views 0 12
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