fix(git): gitf case for adding and listing staged changes

This commit is contained in:
Victor Westerlund 2025-12-02 10:52:03 +01:00
parent ec119ae599
commit ebf4f14913
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -127,10 +127,10 @@ mkd () {
# Short-hands for various git functions
gitf () {
case "$1" in
# Stage all changes and fall through to WIP commit
"aw")
git add .
gitf w
# Stage and list changes to be committed
"a")
git add $2
gitf
;;
# Checkout [and create] a git branch (defaults to "master")