gitlab Created Project Permission Inquiry

Asked 2 years ago, Updated 2 years ago, 92 views

I created a project called testproject in gitlab in a private form as an administrator account.

Set up git account on my client pc as follows.

$ git config --global user.name "kimXX"

$ git config --global user.email [email protected]

3. Import and create the storage as follows:

 $ git clone http://www.xxx.xxx/root/testproject.git

    **Question 1) The storage is created even though the user of the KimXX account is not in the member in the test project? 
                Shouldn't it be a permission check?**

4. Create a file and reflect it as follows.
$ $ touch README.md

 $ git add README.md

 $ $ git commit -m "add README"

 $ $ git push -u origin master

      **Question 2) The file you created can be pushed even though the user of the KimXX account is not in the member
                Shouldn't it be a permission check?**

Enter gitlab and check

 **Question 3) commit is displayed as an account set up on my client, but push is indicated as an admin account, shouldn't push also be displayed as an account set up on the client?

gitlab

2022-09-22 12:38

2 Answers

Thank you very much. It was very helpful.


2022-09-22 12:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.