Git add
+ git commit -m
will just commit those files you’ve added (new and previously tracked), but git commit -am
will commit all changes on tracked files, but it doesn’t add new files.
Git add
+ git commit -m
will just commit those files you’ve added (new and previously tracked), but git commit -am
will commit all changes on tracked files, but it doesn’t add new files.