hi,
this should help:
http://stackoverflow.com/questions/572549/difference-of-git-add-a-and-git-add
good luck!
  radovan

On Tue, 10 Jan 2012 20:54:31 +0100, Kevin Wilson <wkev...@gmail.com> wrote:

Hello,
My aim is to add to a git tree changes in modified files and to create
a patch. I do **not**
want that the patch will contain  untracked files.
When I try "git add -A", it adds  also the untracked files, and later,
after "git commit -m "blablabla"" and
git format -n1, I see the  untracked files in the patch.

I know that I can add the name  for each untracked file in .gitignore;
in this way , the patch will not include
the untracked files; but I need a way to achieve this without adding
to .gitignore each untracked files.

So - is there a way to perform git add only on modifed files (and not
by adding each modified  file separatel by git add) ? is there a way
to list of modified files only (to use it later)?
rgs,
Kevin

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to