Add ability to update a branch to latest without checking it out

I often times find I want to update my local tracking branch to the latest version of the remote branch without checking it out. This often comes up when using gitflow actions where it will give you an error for example when develop is not at the latest.

I usually end up having to go to the terminal and issue a command like:

    git fetch origin develop:develop

But there really should be a way to just right click on a branch and say update to latest, that only works if the local branch is a direct answer of the remote tracking branch.

In addition, the git flow commands instead of just throwing an error when develop is not up to date and develop can just be moved to the remote version of develop, it should just offer to do it.

0 comments

Comment

Log in or Sign up to comment
Community showcase
Posted yesterday in Featured Groups

Want to know how Atlassians monitor their enterprise deployments?

At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...

32 views 0 1
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you