我认为我的git status
命令在此终端会话中无法正常工作:
prompt> git add .
prompt> git status
On branch feature-api_sync
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: api_sync/README.md
modified: storm_tier/README.md
prompt> git commit -m "updated instructions"
[feature-api_sync 4c55c55] updated instructions
2 files changed, 6 insertions(+), 2 deletions(-)
prompt> git status
On branch feature-api_sync
nothing to commit, working directory clean # <== HOW DO I SEE THAT I MADE 1 COMMIT???
但是我怎么看这个:
prompt> git status
On branch master
Your branch is ahead of 'origin/master' by 14 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean