How to replace internal git commands, such as `git status`, with custom aliases
问题 This answer teaches how to do custom bash commands inside git aliases, and this article (One weird trick for powerful Git aliases) teaches it beautifully. However, it doesn't seem to work when I alias internal git commands. How can I replace internal git commands with custom scripts? Ex: I have a custom python script: custom_script.py print("hello") In my project_name/.git/config file I add this alias: [alias] statuss = "!f() { \ python3 custom_script.py && git status; \ }; f" I then run git