From 1d0c378711c86efc637c324b50f7f8d8bffa2fce Mon Sep 17 00:00:00 2001 From: ttzytt Date: Sun, 13 Oct 2024 17:12:28 -0400 Subject: [PATCH] Update troubleshooting.md Signed-off-by: ttzytt --- source/docs/troubleshooting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/docs/troubleshooting.md b/source/docs/troubleshooting.md index 32304df39f..5e7e451480 100644 --- a/source/docs/troubleshooting.md +++ b/source/docs/troubleshooting.md @@ -97,6 +97,8 @@ fatal: 'username.github.io' does not appear to be a git repository Make sure you have [set up git](https://help.github.com/articles/set-up-git) on your computer properly or try to use HTTPS repository URL instead. +If your commit is very large (contains many inserts and deletes), GitHub might reject your push. Try going to `.deploy_git` directory and run `git repack --max-pack-size=100M -a -d`. + ### Error: ENOENT: no such file or directory If you get an error like `Error: ENOENT: no such file or directory` it's probably due to mixing uppercase and lowercase letters in your tags, categories, or filenames. Git cannot automatically merge this change, so it breaks the automatic branching.