Merge e4c034bc5caa6ac3d29e3bf0eca834cd6c50d4ae into c2e23d3301b1be2b2ad667184030087f92ad2470

This commit is contained in:
Sundaram Kumar Jha 2025-02-19 10:23:56 +05:30 committed by GitHub
commit f55d94e8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,7 @@
- [Roadmap](#roadmap)
- [Versions](#versions)
- [Releasing Gitea](#releasing-gitea)
- [Troubleshooting Issues](#troubleshooting-issues)
</details>
@ -604,3 +605,27 @@ be reviewed by two maintainers and must pass the automatic tests.
- bump the version of https://dl.gitea.com/gitea/version.json
- merge the blog post PR
- announce the release in discord `#announcements`
Here's the README content based on the screenshot, excluding the second step:
---
## Troubleshooting Issues
If you encounter errors during the local setup after forking the repository, such as issues with cloning or missing dependencies, here are the steps to resolve them:
- **Issue:** Cloning fails with errors like `curl error: RPC failed` or `HTTP/2 stream was not closed cleanly`.
- **Solution:**
1. Increase the HTTP buffer size:
```sh
git config --global http.postBuffer 524288000
```
2. To reduce the size of data fetched during the initial clone, you can use:
```sh
git clone --depth 1 https://github.com/<username>/gitea.git
```
You can replace `username/repo` with the appropriate repository information before using this content.
---