This file contains 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
[advice] | |
# I know this stuff by now | |
pushNonFastForward = false | |
statusHints = false | |
[alias] | |
a = add | |
ai = add --interactive | |
ap = add --patch | |
b = branch | |
bl = blame |
This file contains 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
alias g="git" | |
alias com="g commit" | |
alias add="g add" | |
alias dif="g diff" | |
alias res="g reset" | |
alias co="g checkout" | |
alias branch="g branch" | |
alias merge="g merge" | |
alias st="g status" |
This file contains 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
git filter-branch --msg-filter 'sed -e "/^git-svn-id:/d" ' -- --all |
This file contains 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
git filter-branch -f --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "name" ]; | |
then | |
GIT_COMMITTER_NAME="New Name"; | |
GIT_COMMITTER_EMAIL="new@email.com.com"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' -- --all |
This file contains 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
git filter-branch -f --parent-filter ' | |
if [ "$GIT_COMMIT" = "SHA_GOES_HERE" ]; | |
then | |
echo '' | |
else | |
read parents; | |
echo $parents; | |
fi' -- --all |
This file contains 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
// ==UserScript== | |
// @name ABKiller | |
// @namespace http://www.github.com/MichaelBlume/ | |
// @description Kill the action bar on OKCupid profiles | |
// @include http://www.okcupid.com/profile/* | |
// @include http://okcupid.com/profile/* | |
// ==/UserScript== | |
var action_bar = document.getElementById('action_bar'); | |
action_bar.parentNode.removeChild(action_bar); |
NewerOlder