Nothing, if I modify a file and just do a commit, the commit does see anything, the only way is to do a commit -a (Tell the command to automatically stage files that have been modified and deleted, but new files you have not told git about are not affected) [1]

-Fred

[1] https://www.kernel.org/pub/software/scm/git/docs/git-commit.html

-----Message d'origine----- From: Alex Harui
Sent: Thursday, March 21, 2013 9:28 PM
To: dev@flex.apache.org
Subject: Re: [OT] Log history




On 3/21/13 1:23 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

1) Why did you have to do "add ." after updating the readme?

Because once committed, the stage area doesn't contains this file anymore, I
have to tell it to add my added/modified/removed files, git add . (from a
directory, the dot means: add whatever you're going to find in this
directory/sub-directory and have been added, removed or modified).

I didn't understand.  What would have happened if you didn't do "git add ."?


--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to