How to undo and redo in git?
For both undo and redo, use git reflog and git reset --hard head@{n}
You will find n in the result of git reflog.
No comments:
Post a Comment