-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Once you have committed, timeline is unchangable. But you can change you working directory with follw commands
git checkout -- <file>
- 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.
git reset HEAD <file>
throw change on stage.
git reset --hard commitID
back working directory to snapshot of commitID
git reflog
see all commit ID
Metadata
Metadata
Assignees
Labels
No labels