DEV Community

Discussion on: Stop aliasing core Git commands

Collapse
 
ryanwinchester profile image
Ryan Winchester

Okay, run your tests against my most used ones:

gst == git status
gca == git commit --all
gcam "message" == git commit -am "message"
gp == git push

:D I know what they stand for, don't care if others do, and don't care if they aren't available on a computer that's not mine.

Collapse
 
philnash profile image
Phil Nash

gst? That's far too many characters!

I have a bash function g that aliases git unless you pass no arguments, then it aliases git status.

Single characters FTW! :D

Collapse
 
ryanwinchester profile image
Ryan Winchester

haha! that's great xD

Collapse
 
littlefox profile image
Mara Sophie Grosch (LittleFox)

Kinda cool ^^

I have "g." for "git status ." but may switch to "g" :D