Quantcast
Channel: How do I check out a remote Git branch? - Stack Overflow
Viewing all articles
Browse latest Browse all 49

Answer by Cássio Tavares for How do I check out a remote Git branch?

$
0
0

It seems to my that no one suggested the simplest way (or maybe I'm too dumb to think this is "a way"). But anyway, have you tried this?

$ git pull origin remoteBranchName$ git switch remoteBranchName

This worked for me in the same case (a branch created on the remote after my last pull request).


Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>