undo git add but keep changes code example Example: undo git add but keep changes git reset -- FILE_NAME