-
Notifications
You must be signed in to change notification settings - Fork 1
git repo
sipke edited this page May 9, 2018
·
2 revisions
create patch file in original repo.
git format-patch -1 <hash> --relative
apply patch in new repo, with new 'location'
git am -p<n> --directory <new-git-location> <patch>
where
n is number of directory levels to ignore on original .patch file.
new-git-location is the relative git path we want to patch to.
Not the prettiest, but works. should use foreach in repo probably.
find pwd -maxdepth 1 -type d -exec git --git-dir {}/.git rev-parse HEAD ;
git send-email [email protected] --confirm=always --subject-prefix="oe] [meta-python][PATCH" HEAD~1
git send-email [email protected] --confirm=always --subject-prefix="oe] [meta-python][PATCH" HEAD~1 -1