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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

Moving my branch back in time

We had our project at a good, solid spot.  Then I made a couple of commit/pushes with things that it turns out we don't want to have, so I want to move the branch back to a previous push and have all the pushes that came after go away permanently.  I tried right-clicking on the spot I wanted and selecting "Reset current branch to this commit" based on some answers I saw online.  Unfortunately this didn't work as it appears that it only moved my current working spot to that commit but says I'm 3 commits behind.  Those 3 commits are the ones I want deleted so that my currently selected commit will be the latest one ("Puzzle 2 for testing").  Is there a way to do this?  See attached screenshot for what happens after I used the Reset command.


1 answer

0 votes
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 06, 2019 • edited

How about using command line and doing git-reset

It will make your local code and local history be just like it was at that commit. But then if you wanted to push this to someone else who has the new history, it would fail.

git-reset --hard <commit-hash>

or use this to just go to specific commit, and keep your changes after this as uncommitted

git-reset --soft <commit-hash>


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events