Recent Posts

(TIL) Git: Use a file from another branch

less than 1 minute read

Sometimes you just need one file from another branch. Sure you could git cherry-pick but then you’re dealing with commits. That sort of thing gets sticky fas...

(TIL) Git: Clean Out All Local Branches

less than 1 minute read

Sometimes a project can get to a point where there are so many local branches that deleting them one by one is too tedious. This one-liner can help:

(TIL) Git: Intent To Add

less than 1 minute read

Git commands like git diff and git add --patch are awesome, but their little caveat is that they only work on files that are currently tracked in the reposit...