DEV Community

Discussion on: How to write your own git commands like "git refresh"?

Collapse
 
terceranexus6 profile image
Paula

This is great, didn't know I could do such a thing. Really love it, thank you!!

Collapse
 
ben profile image
Ben Halpern • Edited

I too have never really used these, but I knew it was a thing, do to one of my favorite utilities, git standup.

Collapse
 
shobhit profile image
Shobhit Puri • Edited

Thanks @Paula for your kind comment. Hope it helps you with your daily work.
I played around with multiple ways to shorten the series of repetitive commands. One of them was to create aliases of the existing git commands. Like git pull --rebase origin can be git pro or you can make git stash apply as git sap but that still it wasn't much helpful. Custom commands have made life easier.