Last active
December 6, 2024 20:29
-
-
Save cam8001/9307192 to your computer and use it in GitHub Desktop.
Revisions
-
cam8001 revised this gist
Mar 2, 2014 . 1 changed file with 8 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,15 @@ #!/bin/bash # Downloads and applies a patch from Drupal.org. if [ -z "$1" ] then echo "You need to supply a URL to a patch file." exit fi URL=$1; # Download a patch and apply it. curl $URL | git apply -v --index # Commit patch and add a log message. git commit -m "Applied $URL." -
cam8001 revised this gist
Mar 2, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
Empty file. -
cam8001 created this gist
Mar 2, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash # Downloads and applies a patch from Drupal.org. URL=$1; # Download a patch and apply it. curl $URL | git apply -v --index # Commits patch and adds a log message. git commit -m "Applied $URL."