SJS
SJS

Reputation: 5667

Getting Ready to work remote... Git Branches

I am getting ready to do some work remote from my job but I have a git question. If I go into my project and I do a

git pull

does this take down all the branches from the server or just the current one?? I think just the current one.. I need all my branches updated..

Upvotes: 0

Views: 51

Answers (1)

Oliver Atkinson
Oliver Atkinson

Reputation: 8029

$ git pull --all

Will pull all remote branches, if you already have local branches which need updating you might consider using

$ git fetch --all

Upvotes: 4

Related Questions