Created
May 20, 2016 12:19
-
-
Save tedbow/5c87e65218d8710491cc81a5c54e6266 to your computer and use it in GitHub Desktop.
Apply a patch with saving it
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
path=${1} | |
if [ $1 ] | |
then | |
wget -q -O - $1 | git apply - | |
else | |
echo "please enter url" | |
exit | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment