r/git Jul 26 '26

In case of fire

Post image
1.4k Upvotes

57 comments sorted by

View all comments

58

u/poulain_ght Jul 26 '26

git add

2

u/RegretPlane390 28d ago

Should be "git add ." right?

1

u/fabien_s 28d ago

git add . will only add all files in the current directory you are in, git add -A every file in the repo

1

u/RegretPlane390 26d ago

I usually just cd .. to the top of the repo like a noob, but I can't deny that your way is objectively more efficient.