all 4 comments

sorted by: hot top controversial new old
[–] 6 points 1 month ago (1 child)

I got a bunch of rules in the exclude file for my own personal trash files in the repo. I’m not a happy man unless I can do git commit -am freely.

  • source
  • hideshow 2 child comments
  • [–] 15 points 1 month ago (1 child)

    git commit -am is for weirdos.

    You should do a git add .. Then do a git status. Then do git reset because . meant that all the stuff you didn't want to commit also is now in the staging area, then do a manual git add <dst_path> for your paths. Then do a git add . by accident, and repeat.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 month ago

    Thanks! That'll be useful to keep my ad-hoc degug files out of the git status list

  • source