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

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

What git commands are executed when I "Reset master to this commit"

Been working on a branch for quite a while. I will branch off master to "version1" and then change master to be the tip of what is currently "version2". Merging is not useful in this case it is changing what master points to is what I want.

The problem is I either

  • research git commands to figure out at a low level to do this, or
  • assume that menu item "reset master to this branch" does what I want it to do.

Is there a "when you click on this menu action the following git commands are executed" document somewhere? My language may not exactly match the language of the App developer!

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,252 views 4 8
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