0Pricing
Git & GitHub Professional Workflow · Lesson

Customizing Git Configuration

Deep dive into Git's configuration files to set up aliases, custom merge tools, and other preferences.

Unlock Git's Potential

Welcome to Customizing Git Configuration! Git is incredibly powerful, and you can tailor it to fit your personal workflow and preferences.

This lesson will show you how to set up aliases for shorter commands, configure external merge tools, and tweak various settings to make Git work smarter for you.

Where Git Stores Settings

Git stores its configuration in different places, organized into three main levels. These levels determine the scope and precedence of your settings:

  • System-level: Applies to all users on the machine.
  • Global-level: Applies to a specific user across all their repositories.
  • Local-level: Applies only to the current repository you're working in.

Local settings override global, and global overrides system settings.

All lessons in this course

  1. Understanding Git Hooks
  2. Pre-commit & Post-merge Hooks
  3. Customizing Git Configuration
  4. Sharing Hooks with Husky
← Back to Git & GitHub Professional Workflow