We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a similar feature to mdk backport, but I want it less magic, because that does a lot more than I want.
A common scenario is that I want to cherry-pick a commit from one repository to another. Usuually how I do this manually is:
1/ in repoA find the right commit git format-patch -n1 <hash> into /tmp/ 2/ In repoB git am /tmp/patch 3/ Get slightly annoyed with all the fiddling
git format-patch -n1 <hash>
git am /tmp/patch
What i'd like is to just do mdk cherry-pick repoA <hash>
mdk cherry-pick repoA <hash>
There are a few different ways you could do this under the hood.
The text was updated successfully, but these errors were encountered:
(Btw the reason I use /tmp is just that I get annoyed finding the path to the other repo)
Sorry, something went wrong.
I added a git alias to do this:
mdk-pick = "!sh -c 'git fetch `mdk info -v path $1` HEAD && git cherry-pick $2' -"
No branches or pull requests
This is a similar feature to mdk backport, but I want it less magic, because that does a lot more than I want.
A common scenario is that I want to cherry-pick a commit from one repository to another. Usuually how I do this manually is:
1/ in repoA find the right commit
git format-patch -n1 <hash>
into /tmp/2/ In repoB
git am /tmp/patch
3/ Get slightly annoyed with all the fiddling
What i'd like is to just do
mdk cherry-pick repoA <hash>
There are a few different ways you could do this under the hood.
The text was updated successfully, but these errors were encountered: