how to commit a modified file