miniblog.
← Back to all posts
Jul 2, 2016 at 14:22
Git's terminology is tricky. I had to read this several times to parse it! Source:
https://stackoverflow.com/a/10697551/509706
Resolve Git merge conflicts in favor of their changes during a pull - Stack Overflow
Wilfred Hughes
Related Posts
Feb 21, 2021 at 08:37
1
Today I learnt about --ignore-rev with git-blame. Super handy if git thinks moving some code made you the author. $ git blame --ignore-rev abcdef source_file (Turned out I was still the author, but several years earlier!)
Wilfred Hughes
Shared words: Git, several, Source Score: 84.3
Nov 4, 2016 at 13:24
Today's git-fu: splitting a big commit into several well-defined commits:
https://stackoverflow.com/a/6217314/509706
(the time-honoured technique of SO docs)
git - Break a previous commit into multiple commits - Stack Overflow
Wilfred Hughes
Shared words: Git, several, times Score: 82.3
Oct 1, 2012 at 13:29
#emacs etags on an abitrary git repository: $ cd $(git rev-parse --show-toplevel); rm -f TAGS; ack -f --print0 | xargs --null etags -a
Wilfred Hughes
Shared words: Git, parse Score: 60.8