Reputation: 35
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?
Upvotes: 3
Views: 3768
Reputation: 5407
Master *
means you have tracked files that are changed within your git repo that have not been committed.
Untracked files (i.e. 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.
Upvotes: 5