Reputation: 10376
We want to run the latest stable branch of Airflow but also cherry pick certain changes from master (bleeding edge). How would we go about cloning said repo in our own GitHub Enterprise server?
We have no plans of requesting pull requests, we leave that to the community. There may be a time where we would need to make a patch that only pertains to our set up but those would be rare.
Upvotes: 0
Views: 502
Reputation: 5397
Clone a working copy of your forked repo and cd
into it:
git clone https://github.com/your-org/your-repo
cd your-repo
Checkout the branch you want to cherry-pick to:
git checkout the-stable-branch
master
.For the last step, there are many ways to do it. Here is an example given in the git documentation:
git cherry-pick master~4 master~2
Apply the changes introduced by the fifth and third last commits pointed to by master and create 2 new commits with these changes.
Upvotes: 2