Skip to content

How can I download a specific branch from a GitHub repo? #21822

Discussion options

You must be logged in to vote

Hi @ravi567,

Git doesn’t allow you to clone individual branches, so you will need to clone the whole repository on each server, check out the particular branch that you want to have on that server and then make a pull of that branch when you make updates to it. This does require having a Git client installed on each of the application servers.

Thanks!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants