git bash unstage all changes code example Example: git unstage file for commit git reset myfilename.txt