GIT

GIT: Branch is Not Fully …

There are times when you get an “not fully merged” error for a git branch, usually when trying to delete a local branch from your machine. It’s a safe bet that something in your local branch has not actually made it to the remote repository and we should do some investigating. If …

Treat Local GIT Repo as a …

There are many reasons why you might want to use a local GIT repo like it were a remote repo. I recently wanted to test a new process for using GIT pre-commit hooks using Husky and Lint-Staged for easy configuration. The basic idea for configuring pre-commit hooks was that anytime I changed code and …

GIT: Force Overwrite of …

Sometimes we just need to reset a local file with what is saved in a remote repository. For example, you’re working locally and your files just get into a place where you need to reset, maybe only a file or two. Maybe you’ve merged in another branch and there are numerous conflicts and …