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

How did I undo someone else's commit?

S Green September 17, 2015

I'm trying to understand how I could have undone someone else's commit, in order to avoid inadvertently doing it again.

  • Someone else did a commit
  • I did a pull, then push and commit
  • The other person's commit is gone.

How could this happen?

The view shows that the other person  did not "merge branch to master", but I did "merge branch to master" with my commit.

Thanks

2 answers

0 votes
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2015

Did the other person push their commit? Where is their commit missing from - their own repo, a central repo, your repo?

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2015

So, the other person didn't merge to master but you pulled from master? Or were you both working on different branches?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events