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
Community Members
Community Events
Community Groups

How to "get the code from remote to be local"?

I have a branch checked out

Someone rebased it

because history has been rewritten for that branch, I want "get the code that is in the remote to overwrite my local branch".   AKA a hard reset. 

How do I do this?

I want to know what I need to do in source tree that will result in the same thing as:

a) delete the branch locally

b) freshly checkout the branch locally

0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events