Timur
Timur

Reputation: 383

How to update or get branches with Git-Plus

I just start using GitHub for a project. I managed to set up GitHub, Atom, and Git-Plus package, so everything works fine. The problem is that I don't know how to update or get branches from GitHub repository.

For example, I created a new branch test-br, in the project it show me only master

$ git branch
* master

Upvotes: 0

Views: 1536

Answers (1)

Mureinik
Mureinik

Reputation: 312219

You've created a remote branch. In order to see it you much first fetch it, e.g.:

$ git fetch origin

And then list the local copies of the remote branches:

$ git branch -r

You should see something like origin/test-br there.

Upvotes: 1

Related Questions