43
meeps
6y

git add *
git commit -am "stuff"
git push -f origin master

No regrets

Comments
  • 5
    "What are you doing?"
    "Umm... Stuff"
  • 3
    Not even that redundant -a?
  • 0
    @FrodoSwaggins This so much. I type bullshit commits, but then do an interactive rebase over all commits in my branch to squash/rename before I make a PR.
  • 0
    Well, "git commit -a" only commits what git knows.

    "git add ." ("not "*") recursively adds everything that is not excluded by any .gitignore.

    (Okay, okay. I prefer the dot, because it means pressing one key less on my keyboard. Microoptimization! *yay*)
Add Comment