i have folder structure as below :
repo1
|
|---file1
|---fold1
|
|---file2
|---repo2
|
|
|---file3
Lets say i have two users, user1
and user2
.
Now i need to :
- setup
repo1
andrepo2
as two separateGIT repositories
. - setup
user1
to have permission forrepo1
anduser2
forrepo2
. user1
should be able to pullfile1
andfold1
contents but notrepo2
user2
should be able to pullrepo2
and files under it but notrepo1
- after
user2
makes changes and commits torepo2
, it should be reflected underrepo1
in the server
Is this level of permissions possible with GIT
?