Rohit Ramesh
Rohit Ramesh

Reputation: 35

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?

Upvotes: 3

Views: 3768

Answers (1)

Peter Reid
Peter Reid

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

Related Questions