Your branch is ahead of 'origin/master' by 1 commit.
出现这种情况的时候,表示你的本地的代码,超前git服务器的代码
如果你不想提交到git服务器上
就按自己的情况,采用下方的一种情况
git reset HEAD^ --soft (Save your changes, back to last commit)
git reset HEAD^ --hard (Discard changes, back to last commit)