Skip to content

Commit dc2c4dc

Browse files
authored
docs: add fix for 'remote end hung up unexpectedly' error during initial sync (#1939)
1 parent 6ba9c7c commit dc2c4dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/setting up your GitHub repository.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ npx quartz sync --no-pull
3434
> [!warning]- `fatal: --[no-]autostash option is only valid with --rebase`
3535
> You may have an outdated version of `git`. Updating `git` should fix this issue.
3636
37+
> [!warning]- `fatal: The remote end hung up unexpectedly`
38+
> It might be due to Git's default buffer size. You can fix it by increasing the buffer with this command:
39+
>
40+
> ```bash
41+
> git config http.postBuffer 524288000
42+
> ```
43+
3744
In future updates, you can simply run `npx quartz sync` every time you want to push updates to your repository.
3845
3946
> [!hint] Flags and options

0 commit comments

Comments
 (0)