
27 Feb
2007
27 Feb
'07
11:30 p.m.
On 2/27/07, Timur Tabi timur@freescale.com wrote:
Stefan Roese wrote:
With git-update-index all new files are added to the index automatically (without parameters), right?
No. You have to manually specify all file names with git-update-index. Fortunately, there's a shortcut:
git-update-index `git-diff-index --name-only -p HEAD`
An even easier shortcut is "git commit -a", which will update the index for all files before committing.
Haavard