About this document
Git Reset vs Revert Explained by Kashif Iqbal is a document available to read on EtoBox.
Resetting erases commits by moving the HEAD pointer, while reverting creates a new commit that undoes changes. Resetting is dangerous as it permanently deletes commit content, though Git retains erased commits for about 30 days. Relative references like ^ and ~ can refer to a commit
- Author
- Kashif Iqbal
- Language
- EN