简体   繁体   中英

What does (master *) in git mean?

I am just a beginner learning git. In git bash after I've made changes to a file, the (master) changes to (master *) or (master +). Why and when does that happen?

Master * means you have tracked files that are changed within your git repo that have not been committed.

Untracked files (ie those in the gitignore) will not trigger this character to show.


Master + means you have commits to your local repository that have not yet been pushed to your remote repository.

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