On 1/6/08, Jon Hancock <redstarling@xxxxxxxxx> wrote: > Additionally, is there > a simple procedure with git to say: "I want to version exactly what is > in my working tree. If I removed something or added something, just > handle it". >From http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.html#id2553633 is the helpful hint: $ git-ls-files -d -m -o -z | xargs -0 git-update-index --add --remove I've got the following aliases in my .gitconfig: alias.addremove=!git-ls-files -d -m -o -z -X .git/info/exclude -X $(git-config core.excludesfile) --exclude-per-directory=.gitignore | xargs -0 git-update-index --add --remove alias.ls=!git-ls-files -d -m -o -v -X .git/info/exclude -X $(git-config core.excludesfile) --exclude-per-directory=.gitignore (In 1.5.4, you can replace the two -X's and the --exclude-per-directory with --exclude-standard.) j. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html