Git Aliases and Shortcuts

The cluster focuses on Git aliases for simplifying common commands like status, commit, and push, with users sharing alias sets, recommending tools like SCM Breeze and Git Goodies, and questioning the need for alternative Git CLIs.

πŸ“‰ Falling 0.5x DevOps & Infrastructure
2,484
Comments
19
Years Active
5
Top Authors
#5576
Topic ID

Activity Over Time

2008
15
2009
30
2010
46
2011
100
2012
129
2013
125
2014
99
2015
98
2016
137
2017
165
2018
144
2019
160
2020
204
2021
223
2022
194
2023
229
2024
183
2025
194
2026
9

Keywords

SCM e.g myapp.conf CLI scm.com GUM UI HOME github.com README git alias aliases commit branch commands git commit checkout push cli

Sample Comments

seadan83 β€’ Jun 26, 2022 β€’ View on HN

I recommend you create aliases. I've got a 'git-squash' 'git-back' and 'git-update' aliases created, I almost forget they are not part of core git. Combined with scm-breeze that allows files and branches to be referenced with numbers... it's really fast and powerful

j0ba β€’ Aug 20, 2019 β€’ View on HN

Awesome, wasn't aware of git aliases. Thank you.

oluwie β€’ Nov 21, 2025 β€’ View on HN

i use git aliases so it’s the same amount of keystrokes

leereeves β€’ Mar 8, 2015 β€’ View on HN

What does this do that can't be done with git aliases?

DrCatbox β€’ Jan 30, 2012 β€’ View on HN

Where is this GUM or better cli for git? All I see is a README file containing the same thing as the webpost. Not to be a complainer, but there may be a reason the commands are the way they are and you cant simply change them without changing the implementation, perhaps you should look at alias to solve your memory problems.

isxek β€’ Dec 5, 2012 β€’ View on HN

Some common Git aliases would probably be a good addition, e.g., "git cm" for "git commit -m", or "git lol" for "log --graph --decorate --pretty=oneline --abbrev-commit".

bcl β€’ Mar 8, 2015 β€’ View on HN

I don't see anything here that you can't do with git alias, what am I missing?

diceduckmonk β€’ Jan 9, 2023 β€’ View on HN

Does anyone have a set of shell aliases for more common Git workflows? It would at least smooth out some of the idiosyncrasies and memorization (need to Google search) associated with the CLI.

TobTobXX β€’ Mar 18, 2022 β€’ View on HN

Take a look at git aliases:https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases

ufmace β€’ Nov 19, 2018 β€’ View on HN

+1 to Gitsh. Feels like it saves a massive amount of typing.