Tuesday, June 5, 2018

How to delete a commit in Git


$ git rebase -p --onto SHA^ SHA
 
The SHA is the commit ID.
 
Reference 

No comments:

Post a Comment