Hacker News new | past | comments | ask | show | jobs | submit | matijs's comments login

I have this set as an alias:

difft = -c diff.external=difft diff

I may add a similar alias for delta


I’ve been planning a prodcast for a while now.


! Is for external commands. You can drop the !git from that alias.


Not if you're piping it to sed though, right?


Oh! Thanks for clarifying!


> because the global excludes file needs a config setting for it to even be considered

Using `~/.config/git/ignore` requires no extra setting.


Oh. TIL. Thank you


Out of curiosity, what editor do you use and how do you make sure 4. happens when for example using ‘save all’?


I'm currently using neovim so it is pretty trivial to add save hooks. Although the approach I am currently using is just a custom shortcut that saves all files and touches the file. This way only explicit saves by me trigger the rerun.

My current setup is documented here but it's easy to tweak to your prefered workflow. https://kevincox.ca/2022/06/14/small-tools/#w


GitHub does the same. There is a compare button that appears after a force (with-lease) push of a rebased branch.


And `ignoreboth` to combine the two.


Those files (and components) still need sensible names (that would make very nice class names).


You’re not wrong. Once it’s in there, it’s not easy to remove/replace again.


> Tap to click should _always_ be turned off

It’s off by default, so someone at Apple seems to agree :)

It’s the first thing I usually turn on. The next being “dragging (without drag lock)” which has been hiding in Accessibility for a while now.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: