The reason might be silly but I have a very bad habit of using git commit -am and I hate it. I know I can revert that but I was wondering if there is a way that I can prevent the command from executing at all?
For example, is there a way I add a script or alias to my .bashrc so that every time I run git commit -am "message" it prevents it from running and shows me some message?
Edit:
As @chepner mentioned in the comments, I should be more clear, the part I don't like is the -a.