git remove certain added file code example Example: git unstage file for commit git reset myfilename.txt