# Using git as gitea user?

**URL:** <https://forum.gitea.com/t/using-git-as-gitea-user/545>\
**Category:** Install/Maintain/Configure\
**Created:** [September 4, 2018, 12:17pm UTC](https://forum.gitea.com/t/using-git-as-gitea-user/545 "2018-09-04T12:17:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artu72](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@artu72](https://forum.gitea.com/u/artu72)\
**Post date:** [September 4, 2018, 12:17pm UTC](https://forum.gitea.com/t/using-git-as-gitea-user/545/1 "2018-09-04T12:17:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artu72](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@artu72](https://forum.gitea.com/u/artu72)\
**Post date:** [September 5, 2018, 8:28am UTC](https://forum.gitea.com/t/using-git-as-gitea-user/545/2 "2018-09-05T08:28:26Z")

</div>

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