Skip to content

git repo

sipke edited this page May 9, 2018 · 2 revisions

'duplicate' patch to different repo and location

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.

Find head versions in repo using find and git.

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 ;

send-email

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

Clone this wiki locally