简体   繁体   中英

Git NOT SHOWING # Your branch is ahead of 'origin/master' by 1 commit

When I modify any file, adding it to the staging area and the commit it to the local repository, I DO NOT SEE the message # Your branch is ahead of 'origin/master' by 1 commit. when I type the git get status. Any idea?

Regards, R.

推送到远程时使用-u标志将针对远程分支显示状态:

git push -u origin master

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM