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

How can i pull a previous commit

Konstantinos Koutsopoulos April 16, 2018

I want to return to a previous commit an not the last one. After that I wand to delete my last commit.

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2018

Hi

If you want to go back to a previous commit and lose all the changes after that you can select your commit and use the Reset current branch to this commit option and choose the Hard reset.

Be aware this will remove every change after the selected commit.

Konstantinos Koutsopoulos April 18, 2018

Thank you.

 

That is the only way?

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2018

Hi I'd need to know is more detail what you are trying to do.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events