git add -u

From the git documentation:

This is similar to what “git commit -a” does in preparation for making a commit, except that the update is limited to paths specified on the command line. If no paths are specified, all tracked files in the current directory and its subdirectories are updated.

Wow. I wish I knew about this one sooner.

This entry was posted on Sunday, November 23rd, 2008 at 5:24 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply