Using git as gitea user?


#1

Hi to all,

I have installed gitea on a workstation in my company. The workstation runs Linux and gitea is associated to the linux user “gitea”. Everything worked fine.

Now, I have created in gitea some users, let’s say jim and joe. Since I need to assign some specific rules in respositories (owners, admins, branches protection), my question is the following:

Gitea user “joe” has an user account “joejoe” on the same workstation. Is there a way that user “joejoe” can clone (over ssh/https) the gitea repositories (using gitea account “joe”) and then pulling back his commits, preserving the rules defined on gitea side?

Thank you.

Andrea


#2

Ok, I have found the answer: it is sufficient to use http protocol instead of ssh one. Thanks.