git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Treat submodules as normal directories/files?
@ 2010-07-13  6:14 wiekaltheut
  2010-07-13  6:48 ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: wiekaltheut @ 2010-07-13  6:14 UTC (permalink / raw
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Treat submodules as normal directories/files?
  2010-07-13  6:14 Treat submodules as normal directories/files? wiekaltheut
@ 2010-07-13  6:48 ` Jonathan Nieder
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Nieder @ 2010-07-13  6:48 UTC (permalink / raw
  To: wiekaltheut; +Cc: git, Avery Pennarun

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-13  6:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13  6:14 Treat submodules as normal directories/files? wiekaltheut
2010-07-13  6:48 ` Jonathan Nieder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).