Last active
August 29, 2015 14:07
-
-
Save Mygod/7abc15491f2c2df2694a to your computer and use it in GitHub Desktop.
Update patch generator for customized Drupal, WordPress, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout main-old | |
git checkout -b main-new | |
: extract new content here... | |
git commit -a -m main-new | |
git checkout -b mine-new | |
git merge mine-old | |
git diff mine-old --name-only > patch-files.txt | |
: If this is the first one, use this: | |
: git ls-tree --full-tree -r --name-only HEAD > patch-files.txt | |
7zG a patch.zip @patch-files.txt -mx9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment