Re: way to automatically add untracked files?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 6, 2007, 00:17 UTC
- Message-ID
- <Pine.LNX.4.64.0708060116590.14781@racer.site>
- In-Reply-To
- <C3725674-7B33-4B2F-9386-704540D51C0E@zib.de>
Hi,
On Sun, 5 Aug 2007, Steffen Prohaska wrote:
Show 23 quoted lines
> > On Aug 5, 2007, at 6:11 PM, Theodore Tso wrote: > > > On Sun, Aug 05, 2007 at 02:11:24PM +0200, Johan Herland wrote: > > > $ 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 all: > > > > # git config --system --add alias.addremove "git add . ; git add -u" > > But how can I handle the [FILE]... from above?
See http://git.or.cz/gitwiki/Aliases#head-714f0aa64cb53eda636d41e16bf2b99477588685
Hth, Dscho