DEV Community

Discussion on: Two Bash scripts I cannot live without when working with Git

msfjarvis profile image
Harsh Shandilya

For anything augmenting Git I either build an alias for one-liners, or save it into a file titled git-<action> in PATH which lets me do git <action> like any other git subcommand. You should try that! git clean-safely is probably easier and quicker to type than git_clean_untracked_safely :D

erykpiast profile image
Eryk Napierała Author

Totally agree! I'm really into three-letter aliases so this command is for me gcl :)