Git command to revert all current changes



This probably one of the best command for me to use this week, reset all  changes in my current branch



# Revert changes to modified files.
git reset --hard

# Remove all untracked files and directories. (`-f` is `force`, `-d` is `remove directories`)
git clean -fd

Comments

Popular posts from this blog

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