Skip to content

Instantly share code, notes, and snippets.

View decima's full-sized avatar
🐙
Lecturing

decima

🐙
Lecturing
View GitHub Profile
@decima
decima / http_statuscodes.php
Last active September 29, 2018 18:27 — forked from Stoffo/http_statuscodes.php
PHP Array with all HTTP Status Codes
<?
$http_codes = array(
100 => 'Continue',
101 => 'Switching Protocols',
102 => 'Processing',
200 => 'OK',
201 => 'Created',
202 => 'Accepted',
203 => 'Non-Authoritative Information',
@decima
decima / gist:5ab122df5fd5414b29cd81a1c8acbcfe
Created January 29, 2018 12:15 — forked from danielestevez/gist:2044589
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}