Sandbox
Sandbox

Reputation: 8178

What happened to origin after creating a new Git branch?

When I create a branch using git branch clean_up, a new branch clean_up is created. Now when I execute git branch command, I see two branches clean_up and master, what happened to origin?

Upvotes: 1

Views: 65

Answers (2)

Michael Ver
Michael Ver

Reputation: 412

Try git branch -a to list both remote-tracking branches and local branches

Upvotes: 1

jasir
jasir

Reputation: 1471

Origin is (default) name of remote repository. You can show them using git remote -v

Upvotes: 2

Related Questions