r/ProgrammerHumor • • Oct 15 '26

Meme letsMergeThemAll

Post image
5.4k Upvotes

316 comments sorted by

View all comments

Show parent comment

1

u/korneev123123 Oct 15 '26

git commit -am won't add new files

1

u/elementslayer Oct 15 '26

Yeah but you only add to track new files once. Otherwise -am that stuff. You don't need git add for tracked files, which hopefully most commits are and we aren't committing files in full all the time

1

u/GarythaSnail Oct 16 '26

I always see people using git add . and git add -A like it's not crazy talk.

1

u/korneev123123 Oct 16 '26

Example above was surely supposed to be "push everything", and adding everything was the goal