DEV Community

Discussion on: 20 Git Commands Every Developer Should Know

Collapse
 
dominik90 profile image
Dominik Bartsch

git add . actually only adds all the files in the current folder (.) which means if you are in a subdirectory this can potentially not add a chance you made. What really adds ALL changes is git add -a

Collapse
 
krishnaagarwal profile image
Krishna Agarwal

Okay
Thanks a lot
I'll update that one