Add help to pushall
This commit is contained in:
@@ -53,9 +53,13 @@ ncs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pushall() {
|
pushall() {
|
||||||
|
if [[ -z "$1" ]]; then
|
||||||
|
echo "Usage: pushall \"commit message\""
|
||||||
|
else
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "$@"
|
git commit -m "$@"
|
||||||
git push
|
git push
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
set completion-ignore-case On
|
set completion-ignore-case On
|
||||||
|
|||||||
Reference in New Issue
Block a user