What does (master *) mean in git?

I am just starting to learn git. In git bash, after making changes to a file, (master) changes to (master *) or (master +). Why and when does this happen?

+3


source to share


1 answer


Master *

means you have tracked files that have changed in your git repository that have not been committed.

Tracked files (i.e. those in gitignore) will not cause this symbol to be displayed.




Master +

means you are running your local repository that has not yet been pushed to your remote repository.

+5


source







All Articles