On Sat, Sep 8, 2012 at 7:38 PM, Mindcast Mindcast <[email protected]> wrote:
> is there any way to include empty folders when i git commit without adding a
> file (like .gitignore or .gitkeep) ?
>
> As long as i know there is no official way to do this.
>
> But, is this something it can be implemented maybe in a future version ?

You may put .gitignore in such a directory containing:

*
!.gitignore


It will add .gitignore and will never add anything under this dir.


-- 
Serge Matveenko
[email protected]
http://www.ohloh.net/accounts/lig
http://ru.linkedin.com/in/sergematveenko

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to