Hacker News new | ask | show | jobs
by theshrike79 483 days ago
That could be just

  git add . && git commit -a -m "git to da choppa" && git push --force
For when you need to Get to da choppa and don't have time to clean up =)
1 comments

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"
I almost never want to do `git add .`. I find `git add -u` to be better; it only stages known files.