miniblog.
← Back to all posts
Aug 13, 2022 at 05:42
Today I learnt about `git apply --reject`, which applies as much of a patch as it can, and leaves the remaining conflicting changes in foo.rej files:
git - partially applying a patch - Python Tales and Plone Stories
We are currently in the process of consolidating many of our packages for a large project into a single project.core package. We do this in order to …
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: learnt, git, Today, files Score: 90.7
Sep 1, 2014 at 22:09
Learnt today that elisp's apply works with keyword arguments, so (apply 'some-func '(:foo 1 :bar 2)) works as expected. Handy.
Wilfred Hughes
Shared words: learnt, Today, apply, foo Score: 86
Dec 9, 2013 at 15:47
Today I learnt about iptables-apply. It undoes firewall rule changes if you've accidentally locked yourself out. Replaces my custom scripts!
Wilfred Hughes
Shared words: learnt, Today, apply, changes Score: 84.6