On 03/31/2015 10:48 PM, Matthew Miller wrote:
* What is your favorite pro tip for using git?
Sometimes git pull takes long time. Sometimes git start garbage collecting in situation,
where I was under time pressure.
After this line in crontab I have no such problems any more:
40 3 * * * locate --regex /\\\.git\$ | while read a; do ( cd $a; git fetch --all -t; git
gc --aggressive; ) done
And this in .gitconfig:
lol = log --graph --decorate --pretty=oneline --abbrev-commit
Is great to quickly get overview of history (credits goes to jesusr).
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys