[git-users] Re: 2 projects share a set of files, how to set this up

2017-10-26 Thread yuelinho777


Greg Quintana於 2017年10月26日星期四 UTC+8上午11時20分25秒寫道:
>
> I have 2 projects which share a set of verilog source files. I want to 
> keep these files identical in both projects. I think I need one repository 
> which I will check out files for each project. Each project will also have 
> files that are unique to that project. How do I set this up in git. I tried 
> creating a repository for one project and then cloned that repository, but 
> that left me with two different repositories, instead of one for both 
> projects.
>

Try *submodule* or *subtree*.

Yue Lin
 

-- 
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.


[git-users] Re: 2 projects share a set of files, how to set this up

2017-10-25 Thread Greg Quintana
P.S. I am using git on windows 10.

On Wednesday, October 25, 2017 at 8:20:25 PM UTC-7, Greg Quintana wrote:
>
> I have 2 projects which share a set of verilog source files. I want to 
> keep these files identical in both projects. I think I need one repository 
> which I will check out files for each project. Each project will also have 
> files that are unique to that project. How do I set this up in git. I tried 
> creating a repository for one project and then cloned that repository, but 
> that left me with two different repositories, instead of one for both 
> projects.
>
> Thank You
> Greg Quintana
>

-- 
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.