Skip to content

Instantly share code, notes, and snippets.

@gibranbadrul
gibranbadrul / gitconfig.md
Created March 3, 2025 18:20
my common Git configuration file

Git Configuration and Aliases

Overview

This is my common Git configuration file, containing useful aliases and interactive commands to enhance workflow efficiency. It includes shortcuts for restoring files, undoing commits, and squashing commits using fzf for interactive selection using <TAB>.

Installation

To use these Git aliases, add them to global Git configuration:

git config --global -e
@gibranbadrul
gibranbadrul / install_nerd_fonts_on_mac.md
Created March 3, 2025 14:56
A script to interactively select and install Nerd Fonts for macOS using Homebrew and fzf

Install Nerd Fonts Script

Description

install_nerd_fonts.sh is a Bash script that allows you to interactively select and install Nerd Fonts on macOS using Homebrew and fzf.

Features

  • Uses fzf for an interactive font selection.
  • Installs selected Nerd Fonts via Homebrew.