Undoing operations in Git
git commit --amend (This allows you to modify the last committed items alongwith current staging area)
git checkout -- <file> (Discards all changes in the local area)
Note: If a file has been deleted from everywhere, it may not be possible to recover. So be careful.
|Email:||(Your email is not shared with anybody)|