git add <file-you-worked-on> [<another-file> ...] git commitIf you delete a file, additionally run the following before committing:
git rm <file-you-deleted>You can see which files have changed by running
git status
. To add/remove files that git already knows about, run git add -u
.
Please note that you need to add all files you worked on, regardless of whether or not they are actually new files. Git behaves differently from Subversion in this regard (and many other regards). If you have general questions about git, here are some resources: