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,360,061
Community Members
 
Community Events
168
Community Groups

how to push detached HEAD to remote.

I have NO local branches, My changes are quick fixes so they lives on detached HEADs off different server heads. I need to push HEAD commit but there is nothing on UI on Push dialog, it's empty in local and remote branches table. Thus I have to go to terminal and manually write

git push origin HEAD:refs/my/branches/develop

How to perform push from UI ?

 

1 answer

1 accepted

0 votes
Answer accepted
bgannin Atlassian Team Jun 13, 2019

Hi @Konstantin Illichev,

There is no affordance specifically for this in the UI. You can create a custom action to run the command and save yourself the context switch. Hope that helps.

Brian Ganninger
Principal Developer, Sourcetree

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...

78,759 views 134 29
Read article

Atlassian Community Events