Created
September 14, 2011 14:59
-
-
Save georgy-martirosov/1216794 to your computer and use it in GitHub Desktop.
Гит без бугурта
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
de-misunderestimating | |
XNAMEX, WE WENT OVER THIS. EXPANDTAB. | |
XNAMEX, WE WENT OVER THIS. C++ IO SUCKS. | |
Some shit. | |
add actual words | |
I CAN HAZ COMMENTZ. | |
giggle. | |
Whatever. | |
Finished fondling. | |
FONDLED THE CODE | |
this is how we generate our shit. | |
unh | |
don't be retarded. | |
It works! | |
unionfind is no longer being molested. | |
Well, it's doing something. | |
I'M PUSHING. | |
Whee. | |
Whee, good night. | |
It'd be nice if type errors caused the compiler to issue a type error | |
Fucking templates. | |
I hate this fucking language. | |
marks | |
that coulda been bad | |
hoo boy | |
It was the best of times, it was the worst of times | |
Fucking egotistical bastard. adds expandtab to vimrc | |
if you're not using et, fuck off | |
WHO THE FUCK CAME UP WITH MAKE? | |
This is a basic implementation that works. | |
By works, I meant 'doesnt work'. Works now.. | |
Last time I said it works? I was kidding. Try this. | |
Just stop reading these for a while, ok.. | |
Give me a break, it's 2am. But it works now. | |
Make that it works in 90% of the cases. 3:30. | |
Ok, 5am, it works. For real. | |
FOR REAL. | |
I don't know what these changes are supposed to accomplish but somebody told me to make them. | |
I don't get paid enough for this shit. | |
fix some fucking errors | |
first blush | |
So my boss wanted this button ... | |
uhhhhhh | |
forgot we're not using a smart language | |
include shit | |
To those I leave behind, good luck! | |
things occurred | |
i dunno, maybe this works | |
8==========D | |
No changes made | |
whooooooooooooooooooooooooooo | |
clarify further the brokenness of C++. why the fuck are we using C++? | |
(\ /)<br/>(O.o)<br/>(> <) Bunny approves these changes. | |
. | |
Friday 5pm | |
changes | |
A fix I believe, not like I tested or anything | |
Useful text | |
pgsql is being a pain | |
pgsql is more strict, increase the hackiness up to 11 | |
c&p fail | |
syntax | |
XNAMEX sucks | |
XNAMEX SUCKS | |
fix | |
someone fails and it isn't me | |
Gross hack because XNAMEX doesn't know how to code | |
totally more readable | |
better grepping | |
fix | |
fix bug, for realz | |
fix /sigh | |
Does this work | |
MOAR BIFURCATION | |
bifurcation | |
REALLY FUCKING FIXED | |
FIX | |
better ignores | |
More ignore | |
more ignores | |
more ignores | |
more ignores | |
more ignores | |
more ignores | |
more ignored words | |
more fixes | |
really ignore ignored worsd | |
fixes | |
/sigh | |
fix | |
fail | |
pointless limitation | |
eppic fail XNAMEX | |
omg what have I done? | |
added super-widget 2.0. | |
tagging release w.t.f. | |
I can't believe it took so long to fix this. | |
I must have been drunk. | |
This is why the cat shouldn't sit on my keyboard. | |
This is why git rebase is a horrible horrible thing. | |
ajax-loader hotness, oh yeah | |
XNAMEX broke the regex, lame | |
small is a real HTML tag, who knew. | |
WTF is this. | |
Do things better, faster, stronger | |
Fixed a bug cause XNAMEX said to | |
Use a real JS construct, WTF knows why this works in chromium. | |
Added a banner to the default admin page. Please have mercy on me =( | |
needs more cow bell | |
Switched off unit test X because the build had to go out now and there was no time to fix it properly. | |
Updated | |
I must sleep... it's working... in just three hours... | |
I was wrong... | |
Completed with no bugs... | |
Fixed a little bug... | |
Fixed a bug in NoteLineCount... not seriously... | |
woa!! this one was really HARD! | |
Made it to compile... | |
changed things... | |
touched... | |
i think i fixed a bug... | |
perfect... | |
Moved something to somewhere... goodnight... | |
oops, forgot to add the file | |
Corrected mistakes | |
oops | |
oops! | |
put code that worked where the code that didn't used to be | |
Nothing to see here, move along | |
I am even stupider than I thought | |
I don't know what the hell I was thinking. | |
fixed errors in the previous commit | |
Committed some changes | |
Some bugs fixed | |
Minor updates | |
Added missing file in previous commit | |
bug fix | |
typo | |
bara bra grejjor | |
Continued development... | |
Does anyone read this? I'll be at the coffee shop accross the street. | |
That's just how I roll | |
work in progress | |
minor changes | |
some brief changes | |
assorted changes | |
lots and lots of changes | |
another big bag of changes | |
lots of changes after a lot of time | |
LOTS of changes. period | |
XNAMEX made me do it | |
Test commit. Please ignore | |
I'm just a grunt. Don't blame me for this awful PoS. | |
I did it for the lulz! | |
I'll explain this when I'm sober .. or revert it | |
Obligatory placeholder commit message | |
A long time ago, in a galaxy far far away... | |
Fixed the build. | |
Fixing XNAMEX's bug. | |
Fixing XNAMEX's bugs. | |
various changes | |
One more time, but with feeling. | |
Handled a particular error. | |
Fixed unnecessary bug. | |
Removed code. | |
Added translation. | |
Updated build targets. | |
Refactored configuration. | |
Locating the required gigapixels to render... | |
Spinning up the hamster... | |
Shovelling coal into the server... | |
Programming the flux capacitor | |
The last time I tried this the monkey didn't survive. Let's hope it works better this time. | |
I should have had a V8 this morning. | |
640K ought to be enough for anybody | |
pay no attention to the man behind the curtain | |
a few bits tried to escape, but we caught them | |
This is the last time we let XNAMEX commit ascii porn in the comments. | |
Who has two thumbs and remembers the rudiments of his linear algebra courses? Apparently, this guy. | |
workaround for ant being a pile of fail | |
Don't push this commit | |
rats | |
squash me | |
fixed mistaken bug | |
Final commit, ready for tagging | |
-m \'So I hear you like commits ...\' | |
epic | |
need another beer | |
Well the book was obviously wrong. | |
lolwhat? | |
Another commit to keep my CAN streak going. | |
I cannot believe that it took this long to write a test for this. | |
TDD: 1, Me: 0 | |
Yep, XNAMEX was right on this one. | |
Yes, I was being sarcastic. | |
Apparently works-for-me is a crappy excuse. | |
tl;dr | |
I would rather be playing SC2. | |
Crap. Tonight is raid night and I am already late. | |
I know what I am doing. Trust me. | |
You should have trusted me. | |
Is there an award for this? | |
Is there an achievement for this? | |
I'm totally adding this to epic win. +300 | |
This really should not take 19 minutes to build. | |
fixed the israeli-palestinian conflict |
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
# переопределяет PS, поэтому слетает раскраска | |
PS1="\h:\W \u\[\033[0;37m\] \$(get_git_branch) \[\033[0m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
#получение текущей git-ветки | |
get_git_branch() { | |
echo `git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
} | |
#обновление мастера и squash merge в текущую ветку, если это не master | |
actualize() { | |
branch=`get_git_branch` | |
echo `gco master && git fetch origin && git pull && gco $branch && gpull` | |
if [[ $branch != "master" ]] | |
then ((echo `git merge master --quiet --squash`)) | |
else | |
echo "branch is master" | |
fi | |
} | |
#commit с рандомным сообщением из файла ~/commit_messages.txt и push | |
gcm() { | |
local file="$HOME/commit_messages.txt" | |
local l=$(cat $file | wc -l) | |
local rnd=$RANDOM | |
let "rnd %= $l" | |
while read line ; do | |
MYARRAY[$index]="$line" | |
index=$(($index+1)) | |
done < $file | |
echo `git commit -am "${MYARRAY[$rnd]}" && gpush` | |
} | |
#git pull с ребейзом | |
alias gpull='git pull --rebase origin `get_git_branch`' | |
#git push | |
alias gpush='git push origin `get_git_branch`' | |
#статус репозитория | |
alias gst='git status' | |
alias gco='git checkout' | |
#ленивый коммит всего с сообщением "ninja commit" с последующим пушем | |
alias gcif='git commit -am "ninja commit" && gpush' | |
#коммит с вводом сообщения | |
alias gcim='git commit -am' | |
#показывает измененные файлы, относительно ветки master | |
alias gdm="git diff master --name-only" | |
#pull и push. да, такое иногда нужно | |
alias gpp='gpull && gpush' | |
#список локальных веток | |
alias gbl='git branch' | |
#создание новой ветки на основе ветки master | |
alias gnb='gco master && gpull && gco -b ' | |
#fetch && pull | |
alias gf='git fetch && git pull' | |
#очистка репозитория | |
alias gclean='git clean -dfx' | |
#греп по измененным файлам, относительно ветки master | |
legendary-grep(){ | |
grep -rni "$1" `git diff master --name-only` --color | |
} | |
#ностальгия по wget | |
alias wget="curl -O" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
кладем commit_messages.txt в домашнюю папку, после этого из него автоматом цепляется рандомный коммит-мессадж