Search code examples
gitbitbucketatlassian-sourcetreemacos-mojave

Sourcetree - Bitbucket - Recover deleted commit push (Made for other person)


I'm facing the next bad situation:

I'm working in Mac with Sourcetree and Bitbucket, and accidentally I deleted a committed push made for other person.

When I open Sourcetree I saw a commit made by a colleague and I tried to pull the changes made by him, but Sourcetree didn't let me (I forgot the reason), so I do my commit and push (I do a git push --force) and now I don't see the commit made by that person.

In Sourcetree in History, the commit push that he made are not in list.

The worst part: That guy is no longer in the company.

I tried to reverse the commit that I made, but I don't have positive results.

Can anybody help me with this?


Solution

  • Hi team: Thanks for your comments. I already could speak with that guy and he did the commit again.