Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't push after Commit

Carlos Eloy Jose Sanz December 18, 2019

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

0 votes
Answer accepted
Andreas Andersson December 19, 2019

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.

Carlos Eloy Jose Sanz December 19, 2019

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events