Add help to pushall

This commit is contained in:
2024-05-02 22:40:23 +01:00
parent c6ff27f8e2
commit 5671f2a87f

View File

@@ -53,9 +53,13 @@ ncs() {
} }
pushall() { pushall() {
git add -A if [[ -z "$1" ]]; then
git commit -m "$@" echo "Usage: pushall \"commit message\""
git push else
git add -A
git commit -m "$@"
git push
fi
} }
set completion-ignore-case On set completion-ignore-case On