miniblog.
← Back to all posts
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
Related Posts
Jan 20, 2016 at 23:40
Emacs tip of the day: you can use ! to explicitly run git commands inside magit. Handy for deleting large directories: ! rm -r somedir
Wilfred Hughes
Shared words: emacs, git, rm Score: 59
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
Shared words: git, parse Score: 37.3
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, rev Score: 32.2