Add help to pushall

This commit is contained in:
2024-05-02 22:40:23 +01:00
parent 31a71686ad
commit 24615dd27a

View File

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