Home

Git

Should I Add Images to My Git Repository?

To commit or not commit. A list of reasons and resources to support your decision.

Sep 01, 2022

Is GitHub the Best CMS?

It seems like a silly question, given that GitHub is not typically thought about as a CMS. But I analyze the question anyways, using a series of 11 factors.

Aug 30, 2022

Delete All Local Git Branches Except One

Delete all local git branches except main, master, or your current branch.

Aug 01, 2022

Git Checkout Previous Branch

Checkout the previous git branch without needing to remember or type the name.

Jul 27, 2022

Safely Force Pushing in Git

If force-pushing is part of your git workflow, here's a tip that can help you avoid disaster.

Jul 22, 2021

Delete Multiple Local Git Branches

Learn how to use a single command to delete multiple git branches.

Jun 21, 2021

Use git-lfs on File Already Committed

Using Git LFS on a file that is already being track without it requires an extra step.

May 20, 2021

Git: Set Default Branch to "main" on "init"

Tired of remembering to rename the master branch after running git init? This option will help you!

Mar 18, 2021

Git: List All Config Options

See all the options available to you, and also learn how to filter them.

Mar 17, 2021

Git Merge: Accept All Changes

Have you encountered a large merge when you know you are going to accept all current or incoming changes? There's a way to achieve without stepping through each file.

Sep 17, 2020