Privileges when creating Git projects

Asked 2 years ago, Updated 2 years ago, 127 views

From Git Lab

Successfully created a project

Can you give me permission for each folder within the project?

The current configuration is...

?

Spring, iOS, Android, and NodeJs each have their own parts

Put it on the collar wrap

I try to prevent it from being able to be seen by others, but not modified.

Using Groups to Work on Spring Projects, iOS Projects, Android Projects, NodeJs Projects

Is it right to make all of them separately and give them the authority separately?

Or can you give me permission for each folder in one project?

gitlab github git

2022-09-21 18:58

1 Answers

Try learning githook.

You can run a script when an event occurs, such as commit.

Since git is a distributed vcs, you should not accept it locally if you do not have permission when cloning or pulling.

In other words, every time you use hook to perform clone, pull, push, and so on, you have to perform a script for permission verification to process it.


2022-09-21 18:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.