I want to clone this edge
branch of a github repo.
The following command is identically listed in the readme for both master
and edge
git clone --depth 1 git://github.com/bborn/communityengine.git vendor/plugins/community_engine
How do I specify to git that I want the edge branch?
Creating a branch using the branch dropdown On GitHub.com, navigate to the main page of the repository. Optionally, if you want to create the new branch from a branch other than the default branch of the repository, click Branches then choose another branch.
just add a -b for branch
git clone --depth 1 git://github.com/bborn/communityengine.git vendor/plugins/community_engine -b edge
Then you'll have a folder called vendor/, and doing 'git branch' will show you the edge branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With