git unstage all staged files after commit code example Example: unstage staged files git git reset HEAD file_path