The problem isn’t mygitwrapper.sh. You need to know those git commands to write that wrapper. The problem is people taking someone else’s mygitwrapper.sh and using that instead of learning git.
I had this fight at work once. Someone wanted to write a makefile to invoke pytest. I didn’t want to do that because I wanted people to know how pytest works, so when something goes wrong they know they can do -vv or --pdb or whatever.
Scripts that cover trivial steps and obscure stuff people should know, I’m not a fan of.
The problem isn’t mygitwrapper.sh. You need to know those git commands to write that wrapper. The problem is people taking someone else’s mygitwrapper.sh and using that instead of learning git.
I had this fight at work once. Someone wanted to write a makefile to invoke pytest. I didn’t want to do that because I wanted people to know how pytest works, so when something goes wrong they know they can do
-vvor--pdbor whatever.Scripts that cover trivial steps and obscure stuff people should know, I’m not a fan of.