logoalt Hacker News

yjftsjthsd-htoday at 7:52 PM1 replyview on HN

You don't have to do add as a separate step unless you're adding it to the repo for the first time. You can (and I do) just `git commit file1 dir2` or whatever. I don't conceptually think commit+push should be combined; committing a version is separate from pushing it to a remote.


Replies

abustamamtoday at 8:00 PM

TIL! Thanks