user3706202
user3706202

Reputation: 215

Pulling a specific branch from git

Im been trying around with git pulls. Managed to push a seperate branch now using: git push ---set-upstream origin (when in the branch). But im also looking for a way to pull this branch back.

I there a way to pull a separate branch? So instead of git pull git pull ...?

Upvotes: 0

Views: 73

Answers (1)

Šimon Tóth
Šimon Tóth

Reputation: 36433

Well, you always pull a specific branch, but you always fetch everything.

Pull will translate into fetch + merge or rebase (depending on your configuration).

Upvotes: 1

Related Questions