From: J. Bruce Fields Date: Sun, 29 Jan 2006 18:16:25 GMT Subject: Re: git commit error on initial (the very first) commit Message-ID: <20060129181625.GA5540@fieldses.org> In-Reply-To: <200601292026.54893.arvidjaar@mail.ru> On Sun, Jan 29, 2006 at 08:26:54PM +0300, Andrey Borzenkov wrote: > May be I do something wrong? What is correct procedure to initially import > tree? git 1.1.4 > > {pts/0}% git init-db > defaulting to local storage area > {pts/0}% git add . > {pts/0}% git commit -m 'initial import' It needs to know which paths to update. Probably you want to include all the files you added with the "git add", and you can do that just with -a: git commit -a -m "initial import" should do the job. The default commit command for me is usually just git commit -a. --b.