git aliases: svn revert
People converting from svn to git often have a hard time finding an analogous process for their svn commands. For something similar to svn revert, you need to do the following: git clean -df git checkout -- . The first command will remove newly created files that have not yet been staged for commit. The second …