git status
$ git status
On branch dev_getTicketCnt
Your branch is ahead of ‘origin/master‘ by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
$ git status
On branch dev_activit_grabTicket
Your branch and ‘origin/master‘ have diverged,
and have 1 and 4 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
nothing to commit, working directory clean
原文:http://www.cnblogs.com/ismallboy/p/6785335.html