Re: way to automatically add untracked files?
- From
Theodore Tso <tytso@mit.edu>
- Date
- Aug 5, 2007, 16:11 UTC
- Message-ID
- <20070805161117.GE28263@thunk.org>
- In-Reply-To
- <200708051411.25238.johan@herland.net>
On Sun, Aug 05, 2007 at 02:11:24PM +0200, Johan Herland wrote:
Show 12 quoted lines
> $ hg addremove --help > hg addremove [OPTION]... [FILE]... > > add all new files, delete all missing files > > Add all new files and remove all missing files from the repository. > > New files are ignored if they match any of the patterns in .hgignore. As > with add, these changes take effect at the next commit. > > Adding a git-addremove command should not be much work, and it would be a > lot friendlier to people whose workflow is more aligned with #2 than #1.
Not much work at alll:
# git config --system --add alias.addremove "git add . ; git add -u"
:-)
(And the performance problem with git add . is fixed in 1.5.3-rc4, right?)
- Ted