Oleksandr Matrosov
Oleksandr Matrosov

Reputation: 27113

Git download branch to local machine

I create push origin 'my branch' to github repo.

Now, as I understand on github in 'my branch' I have full data about project (including my changes)

how to download this branch on my local machine with a git files?

I mean this as if we make checkout command if we use svn.

Upvotes: 0

Views: 12577

Answers (1)

JustinDoesWork
JustinDoesWork

Reputation: 528

I think you are looking for:

git fetch origin [remote-branch]:[new-local-branch]

Also http://help.github.com/git-cheat-sheets/ is a great resource for git.

Upvotes: 4

Related Questions