Knowledge Base
Search
New article
Authentication is disabled (development mode).
Edit article
Title
Tags
Content
<p>Start a new branch from upstream to be pulled from:</p><pre><code class="language-bash">upstream=https://github.deere.com/JDES-klondike/klondike upstream=/srv/mirror/github.deere.com/JDES-klondike/klondike upstream_branch=master branch=kernel-enable-overlayfs commit=a0214e680bf9d2c3ae81ebb9c5f485ae5e4f1535 git checkout master git remote add upstream "$upstream" #git fetch --all git fetch "upstream" "$upstream_branch" git checkout -b "$branch" "upstream/$upstream_branch" git cherry-pick "$commit" git push -u origin "$branch" # now start the pull request from origin to upstream</code></pre>
Save
Cancel