# Pull Request without Creating Fork

**URL:** <https://forum.gitea.com/t/pull-request-without-creating-fork/6274>\
**Category:** Gitea Usages\
**Created:** [November 16, 2022, 6:44pm UTC](https://forum.gitea.com/t/pull-request-without-creating-fork/6274 "2022-11-16T18:44:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![locus\_dc](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@locus\_dc](https://forum.gitea.com/u/locus_dc)\
**Post date:** [November 16, 2022, 6:44pm UTC](https://forum.gitea.com/t/pull-request-without-creating-fork/6274/1 "2022-11-16T18:44:56Z")

</div>

Today, a Gitea user can create a pull request on repo X in 1 of 2 ways:

- Fork X to create X’. On X’, create a feature branch and push the feature branch. Create a PR that attempts to merge the **feature branch (on X’) into X**.
- Give the user write access to X. The user creates a feature branch. They can then open a PR to merge the feature branch into X.

I want to allow a user **without write access to X** to be able to directly create a PR on X. Is this possible?

On GitHub, a user simply needs **read access on X** in order to be able to create a PR on X.

---

<div class="post-metadata">

**Author:** ![a1012112796](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/a1012112796/32/4921_2.png) [@a1012112796](https://forum.gitea.com/u/a1012112796)\
**Post date:** [November 18, 2022, 5:16pm UTC](https://forum.gitea.com/t/pull-request-without-creating-fork/6274/2 "2022-11-18T17:16:32Z")

</div>

hello, how about agit? ref: [https://github.com/go-gitea/gitea/pull/14295](https://github.com/go-gitea/gitea/pull/14295)

---

<div class="post-metadata">

**Author:** ![locus\_dc](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@locus\_dc](https://forum.gitea.com/u/locus_dc)\
**Post date:** [November 20, 2022, 9:16pm UTC](https://forum.gitea.com/t/pull-request-without-creating-fork/6274/4 "2022-11-20T21:16:46Z")

</div>

Hi!

Can you paste a MWE of how `agit` could be used (with the commands) on a dummy branch?

---

<div class="post-metadata">

**Author:** ![tessus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/tessus/32/3242_2.png) [@tessus](https://forum.gitea.com/u/tessus)\
**Post date:** [November 24, 2022, 11:11pm UTC](https://forum.gitea.com/t/pull-request-without-creating-fork/6274/5 "2022-11-24T23:11:08Z")

</div>

> [@locus\_dc](#):
>
> On GitHub, a user simply needs **read access on X** in order to be able to create a PR on X.

That is because a fork is automatically created when you change something on a read-only repo.
