Skip to content

Instantly share code, notes, and snippets.

@tedbow
Created May 20, 2016 12:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tedbow/5c87e65218d8710491cc81a5c54e6266 to your computer and use it in GitHub Desktop.
Save tedbow/5c87e65218d8710491cc81a5c54e6266 to your computer and use it in GitHub Desktop.
Apply a patch with saving it
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