Skip to content

Instantly share code, notes, and snippets.

View Zappaware's full-sized avatar

Sergio Cervantes Zappaware

View GitHub Profile
@Zappaware
Zappaware / git-aliases.md
Created March 1, 2024 18:24 — forked from mwhite/git-aliases.md
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@Zappaware
Zappaware / main.js
Created March 24, 2020 00:53
Codecademy Mystireous organism
https://gist.github.com/bbc8cc63d8ff145b9cb49bfaa4ef11ca
@Zappaware
Zappaware / main.js
Last active March 24, 2020 00:57
Codecademy Credit Card Checker
https://gist.github.com/db5096f8c94aa612a910c14663a7e68d