Aks
Aks

Reputation: 5236

Commits disappeared from master

I did a merge back to master from my branch. All seemed ok then. Someone from my team tried to do a revert and I dunno what happened but there was no delta revert. It was as if my commits had never been made. I need to reapply these commits. A git show hash still shows my commit data. How can I reapply this to master?

Upvotes: 2

Views: 188

Answers (1)

nglinh
nglinh

Reputation: 611

I would try a git checkout -b at your latest commit (the latest one you think you've lost), then try to merge back to your master branch.

Upvotes: 1

Related Questions