All things Git

Make sure Git knows about case-sensitive changes to your file names

May 31, 2022 - Estimated 1 minute read

It's only peculiar if you don't understand it and for a while, I didn't understand it. It builds locally but then can't resolve component on Netlify. It started with me migrating my blog from Gatsby 3 to 4. I had neglected my blog for months so my e…

Full article#Technical#React#JavaScript#Git

How can I find deleted stuff in Git?

September 2, 2021 - Estimated 7 minute read

I was working on an about module a few months ago. I wasn't satisfied with it so I deleted it with all its related files 😬 Now I need to recover parts of this data that I had so conveniently discarded. 🤦‍♀️ I can't remember the exact location of the fi…

Full article#Technical#Git

A custom alias for a pretty Git log with a graph

September 2, 2021 - Estimated 3 minute read

I have added a git alias for by editing the global config so that it is not localized to a specific git repository. I added the following below the section 👇 will now print a pretty colored summarized log with a graph to indicate branching and m…

Full article#Technical#Git

Git aliases

September 2, 2019 - Estimated 1 minute read

You can create Git aliases for long or repetitive commands which map to short cuts. This can make your workflow more efficient as it decreases the number of keystrokes involved. You create your alias using the Git config command which updates the Gi…

Full article#Technical#Git

Working With Git Remotes

January 29, 2019 - Estimated 4 minute read

I have a repository with two remotes. origin is my personal repository and bitbucket is by BitBucket repository. The nugget of this post is to push to both branches in one command. The git remote command lets you create, view, and delete connections…

Full article#Technical#Git#Terminal#Cheat Sheet

Why I Create Atomic Commits In Git

January 26, 2019 - Estimated 3 minute read

I wrote about crafting changes into small atomic commits using Git. It looked like there was some confusion. I want to share what I understand about atomic and monolithic commits and why I create atomic commits in Git. I got a question in Reddit by …

Full article#Technical#Terminal#Git#CLI

How To Craft Your Changes Into Small Atomic Commits Using Git

January 15, 2019 - Estimated 7 minute read

Small, atomic commits makes it easier for code reviews, browsing the history and reverting changes. Life happens and commits can touch more lines and files than I want but the changes committed should be distinct. "Don't mix your apples with your to…

Full article#Technical#Git#Terminal#Cheat Sheet