I'm new to git and trying to set up a repository.
I got two branches (master
and xyz
).
My workflow so far:
- change to specific branch, e.g.
git checkout xyz
- make changes
git add .
git commit -am 'whatevermessage'
git push origin xyz
Everything works so far. But when I git branch -a
to view all my branches, I get the following output:
master
* xyz
remotes/origin/master
remotes/origin/xyz
while remotes/origin/master
and remotes/origin/xyz
are displayed in red color. I tried to figure out what the red color means but I couldn't find anything. So, assuming that red is equivalent to some kind of error: what does the red color mean and how can I fix it?