git local add files to revert code example Example: undo git add but keep changes git reset -- FILE_NAME