hello,

How to add multiple folders in GIT.

something like this,

I have git repo as below

projectFolder
--> .git
--> folder1
     -->subfolder1 --> files
-->folder2
    --> subfolder2 
          subfolder21 --> files(1--n)

and I want add multiple new folders
--> .git
--> folder1
     -->subfolder1 --> files
-->folder2
    --> subfolder2 
          subfolder21 --> files(1--n)
-->newfolder1
    -->newSubFolder1 --> files(1...N)
-->newFolder2
    -->newSubFolder2
             -->newSubFolder21 --> files(1...N)

The ones shaded in yellow are similar folder structure need to be added it 
will have multiple folders with multiple files in it.

When I copy the folder the 'git status' doesn't show any new folders added. 
git add -A doesn't help.

Please let me how to add folders and subfolders with files within it.

Thanks,

On Sunday, November 19, 2017 at 8:15:53 PM UTC-8, Zvi Vered wrote:
>
> Hello,
>
> I'm using the following command to create subtree:
> git subtree add --prefix=DRV1 https://github.com/zviered/DRV1.git master
>
> The repo https://github.com/zviered/DRV1.git contains few folders. 
> I want my subtree to contain only one specified folder.
>
> Is it possible ?
>
> Thank you,
> Zvika 
>

-- 
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/d/optout.

Reply via email to