Hi Mike,

No. What you call “root” is the folder whose top level contains both the 4D 
Project Database and its GIT local repository.

See “Architecture of a 4D Project” at 
https://developer.4d.com/docs/en/Project/architecture.html 
<https://developer.4d.com/docs/en/Project/architecture.html>

In the example (shown at the above ULR), I would create a GIT local repository 
in the “MyFirstProject” folder at the top level. Note there are a lot of 
folders, but only a few make sense to track: Project and Resources. 

I’m approaching “ignoring” files by saying ignore everything, and then 
specifying what to actually track. That seems like less typing and easier to 
read.

So first part says exclude everything. That’s the this line:

/*

Then I say track these items. Note the exclamation point which means put back.

!.gitignore
!Resources
!Project

But within the Resources and Project folders do ignore the following 2-items. 
Note the absence of the exclamation point:

Project/DerivedData
Resources/Cache


— Jeremy French

> On Jan 3, 2020, at 3:47 PM, Mike Kerner via 4D_Tech <[email protected]> 
> wrote:
> 
> Jeremy,
> Are you ignoring root so you catch .4DB, .RSR, .4DL, etc.?

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to