--amend
add file q.c# Please enter the commit message for your changes. Lines starting# with '#' will be ignored, and an empty message aborts the commit.# On branch master# Your branch is ahead of 'origin/master' by 2 commits.## Changes to be committed:#   (use "git reset HEAD^1 <file>..." to unstage)##	modified:   q.c## Changes not staged for commit:#   (use "git add <file>..." to update what will be committed)#   (use "git checkout -- <file>..." to discard changes in working directory)#   (commit or discard the untracked or modified content in submodules)##	modified:   msm (untracked content)## Untracked files:#   (use "git add <file>..." to include in what will be committed)##	M-D#	dfjk#	test.txt
add new file