Recent Posts

(TIL) Git: Stashing Untracked Files

less than 1 minute read

Normally when stashing changes, using git stash, git is only going to stash changes to tracked files. If there are any new files in your project that aren’t ...

(TIL) Git: Snapshot

less than 1 minute read

To save a snapshot of your current work in git, try this command:

(TIL) Git: Stashing Only Unstaged Changes

less than 1 minute read

If you have both staged and unstaged changes in your project, you can perform a stash on just the unstaged ones by using the -k flag. The staged changes will...

(TIL) Git: Two ways of squashing commits

less than 1 minute read

It is handy to squash down your commits before merging your PR with my-new-cool-feature. You can either squash them down by doing an interactive rebase like ...