feat(git): add diff subcommand

This commit is contained in:
Ayo Ayco 2025-06-24 01:08:58 +02:00
parent ec9210cd0c
commit 79b3e3ce57

4
git.sh
View file

@ -39,7 +39,9 @@ gitPush() {
}
}
if [ "$1" = "stat" ]; then
if [ "$1" = "diff" ] || [ "$1" = "d" ]; then
git diff --staged
elif [ "$1" = "stat" ]; then
gitStatus
elif [ "$1" = "push" ]; then
gitPush