git scm tip

You may be aware of git add .

But did you know this:

git add .

adds all the files. Use with care (only after git status, for example).

git add -u .

adds and deletes all KNOWN files.

This is great if you added and removed or renamed files.

Leave a comment