Conjuring unicorns

All things related to Git

course

A gentle introduction to Git

Clarice Bouwer
Clarice Bouwer
Monday, 10 October 2022 ·

According to the Stack Overflow software developer survey for 2021 - 94.41% (50,563 out of 54,943) professional developers suggest that Git is a fundamental tool to being a developer. Objectives 🎉 At…

article

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

Clarice Bouwer
Clarice Bouwer
Wednesday, 1 June 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 …

#115
scribble

How to recover a file from another branch in Git

Clarice Bouwer
Clarice Bouwer
Tuesday, 25 January 2022 · Estimated 1 minute read

Where branch can be any ref including a branch name, tag, HEAD. Thanks to this Stack Overflow reference.

#10
scribble

How to see the contents of stashed changes in Git

Clarice Bouwer
Clarice Bouwer
Monday, 24 January 2022 · Estimated 1 minute read

Where is the indexed location of the item in the stash. Find all items in the stash using: https://stackoverflow.com/questions/3573623/is-it-possible-to-preview-stash-contents-in-git https://stacko…

#9
scribble

How to find text anywhere in your Git repository from the very beginning

Clarice Bouwer
Clarice Bouwer
Wednesday, 19 January 2022 · Estimated 1 minute read

Stack Overflow - Search all of Git history for a string Stack Overflow - How to grep Git commit diffs or contents for a certain word

#5
scribble

Why you will see the error 'Loading chunk \d+ failed'

Clarice Bouwer
Clarice Bouwer
Wednesday, 19 January 2022 · Estimated 1 minute read

This includes cases where the file has been renamed. More Stack Overflow: , show all commits including merges

#6
scribble

How to use a different email address in Git in sub directories

Clarice Bouwer
Clarice Bouwer
Wednesday, 19 January 2022 · Estimated 1 minute read

I want to override my personal email address I use for Git with my work email address in my work directory without manually changing it each time.

#7
article

How can I find deleted stuff in Git?

Clarice Bouwer
Clarice Bouwer
Thursday, 2 September 2021 · Estimated 5 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 discarde…

article

A custom alias for a pretty Git log with a graph

Clarice Bouwer
Clarice Bouwer
Thursday, 2 September 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 summa…

article

Git aliases

Clarice Bouwer
Clarice Bouwer
Monday, 2 September 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…

article

Working With Git Remotes

Clarice Bouwer
Clarice Bouwer
Tuesday, 29 January 2019 · Estimated 2 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 com…

article

Why I Create Atomic Commits In Git

Clarice Bouwer
Clarice Bouwer
Saturday, 26 January 2019 · Estimated 2 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 ato…

article

How To Craft Your Changes Into Small Atomic Commits Using Git

Clarice Bouwer
Clarice Bouwer
Tuesday, 15 January 2019 · Estimated 6 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 shoul…