Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: git commit error on initial (the very first) commit

From: J. Bruce Fields <hidden>
Date: 2016-06-15 22:42:17

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help