On Thu, 17 Oct 2013 15:55:52 -0700 (PDT)
Aaron Cook <cookacou...@gmail.com> wrote:

> Is it possible to configure git to see a group of files as a singular 
> object?
> For instance, I have a directory with several files:
> myjunk/text.txt
> myjunk/somefile.exe
> myjunk/anotherfile.odt
> Whenever a modification is made, I would like to see just "myjunk" as 
> modified, not the files beneath. For all intensive purposes, git
> treats myjunk/* as a single binary file.

I think that no, it's impossible: Git does not track directories, and
only copes with them because it has to (filesystems on mainstream OSes
are hierarchical).

On the other hand, you could use the fact `git add` is able to add
multiple files in one go:

git add myjunk


git add 'myjunk/*'

(notice that I protected the asterisk from the shell).

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to