Re: [PLUG] Setting up git for multi-subdirectory projec [EXPLAINED]

2018-04-06 Thread Rich Shepard

On Fri, 6 Apr 2018, Ali Corbin wrote:


They're just subdirectories.

Create a subdirectory under your root and start putting files into it,
then type 'git status'. You should see the new directory as an untracked
'file'. 'git add' it, and you'll see the files in it as new files. Keep
adding and committing any directories and files that you create.


  Thanks, Ali. I thought it would be simple.

Much appreciated,

Rich
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Setting up git for multi-subdirectory projec

2018-04-06 Thread Ali Corbin
On Fri, Apr 6, 2018 at 3:25 PM, Rich Shepard 
wrote:

>   I'm writing a database application using the MVC design pattern so there
> are three subdirectories: model/; view/; and controller/. Each
> subdirectory has multiple files.
>
>   In the project root directory I set up the repository with 'git init'.
> Reading pro-git (2nd ed) I don't see how to set up each subdirectory within
> the repository. Are they branches, submodules, slaves or is there another
> way to define them in the root directory?
>
>   Cluesticks desired.
>

They're just subdirectories.

Create a subdirectory under your root and start putting files into it, then
type 'git status'.  You should see the new directory as an untracked
'file'.  'git add' it, and you'll see the files in it as new files.  Keep
adding and committing any directories and files that you create.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug