Created
August 11, 2017 15:20
-
-
Save TestItOnlyOnce/3c7e98ca38798b5fe7796d9847430015 to your computer and use it in GitHub Desktop.
How to apply several git patch files using a batch command file on windows?
This file contains hidden or 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
@echo off | |
rem Copy all .patch.txt files to your repo root before applying. | |
rem You can delete them afterwards or add *.patch.txt to .gitignore. | |
for %%f in (*.patch.txt) do git am -3 --keep-cr --whitespace=nowarn "%%~f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment