# Treat submodules as normal directories/files?

2 messages from 2010-07-13 to 2010-07-13. Participants: wiekaltheut@gmx.de, Jonathan Nieder.
Thread: https://gitlist.dev/t/24381

## wiekaltheut@gmx.de, 2010-07-13 06:14

Subject: Treat submodules as normal directories/files?
Message-ID: <20100713061451.308580@gmx.net>
URL: https://gitlist.dev/e/20100713061451.308580%40gmx.net

```
Hi!

Is it possible to treat submodules as normal 
directories/files?

I'm using Git not just for source code, but also for 
documents and my "projects" directory (mainly an
Eclipse Workspace) in my home directory. Though Git
may not be designed for this, it is an easy way do
create a backup and sync my home directory between
my machines :-).

This works fine, except for Git repositories inside my 
home (projects) directory. Is there a way, to treat 
them like normal directories so I can add them via git 
add?

Thank you and thanks for Git, which is just great :-).
-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl

```

## Jonathan Nieder, 2010-07-13 06:48

Subject: Re: Treat submodules as normal directories/files?
Message-ID: <20100713064859.GA2918@burratino>
URL: https://gitlist.dev/e/20100713064859.GA2918%40burratino
In-Reply-To: <20100713061451.308580@gmx.net>

```
Hi,

wiekaltheut@gmx.de wrote:

> Is it possible to treat submodules as normal 
> directories/files?
> 
> I'm using Git not just for source code, but also for 
> documents and my "projects" directory (mainly an
> Eclipse Workspace) in my home directory. Though Git
> may not be designed for this, it is an easy way do
> create a backup and sync my home directory between
> my machines :-).

See [1] for a similar question.  Though the answer in your
case is likely to be completely different; I suspect you
might find bup[2] interesting.

Hope that helps,
Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/144847
[2] http://github.com/apenwarr/bup#readme

```
