GIT

Updating GIT credentials …

If you’ve seen an ‘Authentication failed for https://____.git error, here’s a quick command to update your credentials through the command line. For Mac: git config --global credential.helper osxkeychain For Windows: git config --global credential.helper wincred You should then see …

Testing GIT Hooks Before …

If you’re using GIT hooks and want to be able to test them without adding cruft to your GIT repository, you can easily test individual hooks anytime. GIT hooks are, by default, executable files that can be run through a simple bash command. From your repository $ bash .git/hooks/pre-commit …

Merging an Upstream Repo …

In recent years I’ve changed my approach to GIT version control to use a forking method vs. branching. While I still create branches, sometimes a lot of branches, where I create those branches has changed. Let’s say for example that I’m working on a team of 5 developers creating …