Email or username:

Password:

Forgot your password?
Top-level
Red Oak

@darius one of my favorite alternatives to git commit -a is using git add -u

it only stages changes in files that git already recognizes. of course sometimes you have to add new files in explicitly, then.

2 comments
Darius Kazemi

@redoak huh.. when I do git commit -a, it does not include untracked files. I'm on git v2.25.1

Red Oak

@darius ah, my mistake. no idea whether version has anything to do with it; i'd imagine it's just something i learned from an old coworker, forgot their reasoning, and scrambled up.

Go Up