Git

2026-05-07

Git

Show the Hidden Git Folder in the VS Code Explorer Pane

Show the Hidden Git Folder in the VS Code Explorer Pane

  • 2026-05-07
  • 3 minutes to read

In order to make configuration changes to the Git folder in VS Code, you need to be able to see it! This post explains why it's hidden and how to display it.

How to Share Git Hooks Across Your Development Team

How to Share Git Hooks Across Your Development Team

  • 2026-05-04
  • 3 minutes to read

By default, Git hooks are personal to each developer, meaning each developer has to set them up manually, here is a pattern to share them with your team.

How to search for lost files or changes using Git Log

How to search for lost files or changes using Git Log

  • 2024-04-27
  • 5 minutes to read

How to find a lost file or set of changes in a Git repository using git log and git grep, including filtering by commit message, author, date range, or file path.

Addressing line feed issues between macOS and Windows in Git

Addressing line feed issues between macOS and Windows in Git

  • 2024-03-29
  • 4 minutes to read

How to fix line ending issues in Git projects where developers contribute from both macOS and Windows machines, using .gitattributes and core.autocrlf configuration.

How to run a powershell script as part of a Git hook

How to run a powershell script as part of a Git hook

  • 2024-03-09
  • 3 minutes to read

Ever wanted to run a powershell script as part of a Git Hook? Well you can! This post explains how you do it.

How to Update the Remote URL of a Git Repository in Git

How to Update the Remote URL of a Git Repository in Git

  • 2024-02-24
  • 4 minutes to read

How to update the remote URL of a Git repository using the git remote set-url command, useful when a repository has been moved, renamed, or migrated to a different host.

Useful Git Commands That I Reach For from Time to Time

Useful Git Commands That I Reach For from Time to Time

  • 2023-09-12
  • 3 minutes to read

Here is a collection of useful advanced git commands that I use from time to time. I always forget them so I thought I would write them down and share them.

Steps required to rename the Default Branch in Github

Steps required to rename the Default Branch in Github

  • 2023-07-04
  • 2 minutes to read

A step-by-step guide to renaming the default branch of an existing GitHub repository and updating local clones that still reference the old branch name.

How to create a git alias to run common or custom commands

How to create a git alias to run common or custom commands

  • 2023-06-09
  • 3 minutes to read

How to use git aliases to call regularly used, or hard to remember commands. This approach will save having to memorise more complex commands in your development workflow.