Once you have committed, timeline is unchangable. But you can change you working directory with follw commands
- if it have not add to stage, then back up to last commit.
- if it have add to stage, then back up to last commit + changes in stage.
throw change on stage.
git reset --hard commitID
back working directory to snapshot of commitID
see all commit ID
Once you have committed, timeline is unchangable. But you can change you working directory with follw commands
throw change on stage.
back working directory to snapshot of commitID
see all commit ID