The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to push detached HEAD to remote.

Konstantin Illichev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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

TAGS
AUG Leaders

Atlassian Community Events