Recent Posts

Git: Checkout Old Version Of A File

less than 1 minute read

When you want to return to a past version of a file, you can reset to a past commit. When you don’t want to abandon a bunch of other changes, this isn’t goin...

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...

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: