Git. Reset

git reset [--hard, --mixed, --soft] [commitHash, file, HEAD~N]

–hard will erase all

–mixed will move out from index

–soft will be visible only on another commit, and don’t move out from index

This entry was posted in Без рубрики. Bookmark the permalink.