git checkout, reset and revert




git revert - undo a commit by creating a new commit.

git reset - change the HEAD index without modifying the file if you choose - soft reset. If it is hard reset it is the same.

git checkout - basically goes to a commit and change the file content too.



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm