3 ms·
I use `qp`for `quick-push` with a function to provide a comment: # git alias qp = "!f() { git add . && git commit -m \"$1\" && git push; }; f" # usage
by sandreas 2y ago
I use `qp`for `quick-push` with a function to provide a comment:
# git alias
qp = "!f() { git add . && git commit -m \"$1\" && git push; }; f"
# usage
git qp "whatever your comment is"
- JohnKemeny 2y agoI almost never want to do `git add .`. I find `git add -u` to be better; it only stages known files.