Commit f06ac15a authored by Tom Atkins's avatar Tom Atkins

Merge branch 'docs-ts-git-postbuffer' into 'master'

Add example in troubleshooting git re postBuffer

Closes gitlab-com/support/docs#11

See merge request gitlab-org/gitlab!18075
parents 670fa76a e394c44b
......@@ -22,8 +22,13 @@ To fix this issue, here are some possible solutions.
### Increase the POST buffer size in Git
**If pushing over HTTP**, you can try increasing the POST buffer size in Git's
configuration. Open a terminal and enter:
**If you're using Git over HTTP instead of SSH**, you can try increasing the POST buffer size in Git's
configuration.
Example of an error during a clone:
`fatal: pack has bad object at offset XXXXXXXXX: inflate returned -5`
Open a terminal and enter:
```sh
git config http.postBuffer 52428800
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment