AyushShah
Back to Blog
Spicing Up Git Commands With Custom Aliases 🚀
DevelopmentGitProductivity Tips

Spicing Up Git Commands With Custom Aliases 🚀

By AyushApril 24, 2025
18 views

Tired of typing the same boring git status, git add, and git push over and over again? Same, bro. So I decided to give my Git commands a full Gen-Z makeover — and you can too! Here's how you can replace those basic commands with something more fun (and cooler to show off during live coding sessions).

🤠 The Goal:

Make these replacements:

  • git status ➔ vibes
  • git add ➔ slay
  • git commit -m ➔ rizz
  • git push ➔ yeet

🌐 Method 1: Using Git Aliases

You can use built-in Git aliases. Open your terminal and run:

git config --global alias.vibes status
git config --global alias.slay add
git config --global alias.rizz commit
git config --global alias.yeet push

Now you can use git vibes, git slay ., git rizz -m "message", and git yeet.

BUT WAIT... I wanted to type just vibes, slay, etc. without the git prefix.

🫠 Method 2: Shell Aliases (No git prefix)

On macOS (which uses zsh by default), do this:

  1. Open .zshrc:
nano ~/.zshrc
  1. Add these lines:
alias vibes='git status'
alias slay='git add'
alias rizz='git commit -m'
alias yeet='git push'
  1. Save and reload:
source ~/.zshrc

Now you can just type:

vibes
slay .
rizz "Initial commit"
yeet

No prefix, no drama.

🤖 Optional: Set Default Remote for Push

If you want yeet to always push to the correct place:

git remote add origin <your-repo-url>
git branch -M main
git push -u origin main

After this, yeet will work smoothly.

🌟 Final Touch

Add some more fun ones like:

alias bringit='git pull'
alias resetme='git reset --hard'
alias cleanit='git clean -fd'

So yeah, now Git ain't just version control — it's a vibe. Let your terminal reflect your personality 🧡

Try it out, flex it in front of your dev friends, and let the rizz flow.

Tags:
DevelopmentGitProductivity Tips