Skip to content

Clogged pipeline help

On branch main Your branch is ahead of 'origin/main' by 14 commits. (use "git push" to publish your local commits)

Changes to be committed: (use "git restore --staged ..." to unstage) modified: public/assignments/week02/.DS_Store modified: public/assignments/week02/Blender.md modified: public/assignments/week02/Fusion-360-tutorial-practices.md modified: public/assignments/week02/SculptGT.md modified: public/assignments/week02/week02-Image-editing-&-CAD.md

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: public/.DS_Store modified: public/assignments/.DS_Store modified: public/assignments/week01/.DS_Store modified: public/assignments/week01/week01-images/.DS_Store modified: public/assignments/week02/.DS_Store modified: public/assignments/week02/Fusion360-final-project-work.md modified: public/assignments/week02/week02-images/.DS_Store modified: public/index.html

Untracked files: (use "git add ..." to include in what will be committed) public/assignments/week02/week02-images/fusion360/fusion-extruded-surface-not-solid.png

macbook-pro-2:dorian-fritze dorianfritze$ git add . macbook-pro-2:dorian-fritze dorianfritze$ git commit -m "fixed link to week 2 cad" [main 34c98db] fixed link to week 2 cad 13 files changed, 128 insertions(+), 131 deletions(-) create mode 100644 public/assignments/week02/week02-images/fusion360/fusion-extruded-surface-not-solid.png macbook-pro-2:dorian-fritze dorianfritze$ git push Enter passphrase for key '/Users/dorianfritze/.ssh/id_ed25519': Enumerating objects: 335, done. Counting objects: 100% (335/335), done. Delta compression using up to 14 threads Compressing objects: 100% (308/308), done. remote: fatal: pack exceeds maximum allowed size (50.00 MiB) remote: remote: ======================================================================== remote: remote: stdin send error: EOF remote: remote: ======================================================================== remote: error: remote unpack failed: index-pack abnormal exit To gitlab.fabcloud.org:academany/fabacademy/2026/labs/charlotte/students/dorian-fritze.git ! [remote rejected] main -> main (unpacker error) error: failed to push some refs to 'gitlab.fabcloud.org:academany/fabacademy/2026/labs/charlotte/students/dorian-fritze.git' macbook-pro-2:dorian-fritze dorianfritze$ git status On branch main Your branch is ahead of 'origin/main' by 15 commits. (use "git push" to publish your local commits)

nothing to commit, working tree clean

Dr. Taylor responded:

It looks like you've hit a "file size" wall. The error remote: fatal: pack exceeds maximum allowed size (50.00 MiB) means you are trying to push a batch of commits that, when bundled together, are larger than the 50MB limit set by FabCloud (GitLab).

Because you are 15 commits ahead, Git is trying to push all of them at once. If any of those commits contain large images, videos, or heavy CAD files, the total "pack" becomes too big for the server to accept.

Here is how to fix this by resetting your local branch and cleaning up those invisible .DS_Store files that are cluttering your repo.

Step 1: Undo the "Heavy" Commits Since your push failed, your local 15 commits are the problem. We need to "undo" them so the files move back into your staging area, allowing us to remove the heavy ones or push them in smaller chunks.

Run this command to reset your branch to match the server, but keep your work in your folders:

Bash

git reset --soft origin/main Step 2: Stop Tracking .DS_Store Files You have a lot of .DS_Store files (macOS system files) showing up. These add unnecessary bulk and can cause conflicts. Let’s ignore them globally for this project.

Create/Update a .gitignore file:

Bash

echo ".DS_Store" >> .gitignore echo "**/ .DS_Store" >> .gitignore Remove existing .DS_Store files from Git's memory:

Bash

find . -name .DS_Store -print0 | xargs -0 git rm --cached --ignore-unmatch Step 3: Identify the "Heavy" Files The error is likely caused by a large image or CAD file. Check the size of the new image you added: public/assignments/week02/week02-images/fusion360/fusion-extruded-surface-not-solid.png.

If that image (or any other) is over 1-2MB, you should compress it before adding it back.

Do not push high-resolution raw screenshots. Resize them to ~1000px wide and save as .jpg or compressed .png.

Step 4: Re-commit and Push in Small Chunks Instead of one giant "fixed link" commit with 13+ files, let's do it cleanly:

Add your files again (excluding the junk):

Bash

git add . git commit -m "Refactor week 2 files and add compressed images" Try to push again:

Bash

git push If it still fails (The "Chunk" Method) If the total size is still too big, you may need to push your 15 commits one by one rather than all at once. You can push specific commits by using their ID (the "hash"), but usually, cleaning up the .DS_Store files and compressing your images as described above solves 99% of FabAcademy push errors.

Would you like me to show you how to check which specific file in your history is the largest so you can delete it?

-- David C. Taylor, PhD

I followed this advice, and managed to delete my whole website! However, once the website was back, I used what I had learned here to prevent the same mistakes from happening again or fix it quickly if it does.