docs: add fix for 'remote end hung up unexpectedly' error during initial sync (#1939)

This commit is contained in:
badcode 2025-04-29 19:55:15 +03:00 committed by GitHub
parent 6ba9c7c02a
commit dc2c4dca08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,13 @@ npx quartz sync --no-pull
> [!warning]- `fatal: --[no-]autostash option is only valid with --rebase`
> You may have an outdated version of `git`. Updating `git` should fix this issue.
> [!warning]- `fatal: The remote end hung up unexpectedly`
> It might be due to Git's default buffer size. You can fix it by increasing the buffer with this command:
>
> ```bash
> git config http.postBuffer 524288000
> ```
In future updates, you can simply run `npx quartz sync` every time you want to push updates to your repository.
> [!hint] Flags and options