I'm not any kind of expert. But have you looked at maybe setting the Data
and sim subdirectories set up as submodules?
This concept is not really addressing what you want directly, but may be a
way to come at it sideways. Which is something I do with distressing
regularity. It would almost be as if the Data and sim subdirectories were
not in the same project subdirectory, but alongside it. Doing a git command
in the project subdirectory should not affect the submodule subdirectories.
I think that if you update something in either of those subdirectories, you
will need to do the proper git commands in that subdirectory.
E.g. if you want to modify the file "bubba.R" in the sim subdirectory, then
do a cd into the sim subdirectory, edit the file and do the "git add
bubba.R" and "git commit" command in the sim subdirectory.
Perhaps one of the truly "wise old ones" <grin/> will warn us if I am going
off in the wrong direction. It wouldn't surprise me.
On Tue, Feb 12, 2013 at 9:29 AM, Rainer M Krug <r.m.k...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I have question on how to organize to put a project under git.
> The project consists out of effectively three directories:
> - --Data (this is several GB, but it is GIS and slightly dynamic and I
> would like to have it in a
> local git only as it contains confidential data)
> - --source code (this is the simulation I write (R package), which has to
> be under git and also
> pushed to github)
> - --simulation files (I would like to have it also under a local git so
> that I have a record of changes)
> so it looks:
> - -project-+-code
> So how can I setup git, so that I can push -code to github, but all three
> folders are under git?
> Just to be clear: I am the only developer, and the folders Data and sim
> are only locally relevant,
> while code contains the package, which can be used independently of the
> other two.
> 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.
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?
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
For more options, visit https://groups.google.com/groups/opt_out.