Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 404 Bytes

patching.md

File metadata and controls

21 lines (16 loc) · 404 Bytes

Patching

# Create a series of patches with all history for the git_* files 
# and place in the folder ~/patches
git format-patch -o ~/patches --root git_*
# Applay a series of patches from the folder ~/patches
git am ~/patches/*

# Apply patches from the foo.diff file
git apply foo.diff
# Push the applaied patches to the origin/master branch.
git push origin master