# Cannot push website to Github

**URL:** https://forum.codewithmosh.com/t/cannot-push-website-to-github/36119
**Category:** HTML/CSS
**Created:** [January 11, 2025, 3:20pm UTC](https://forum.codewithmosh.com/t/cannot-push-website-to-github/36119 "2025-01-11T15:20:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ray1002](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@Ray1002](https://forum.codewithmosh.com/u/Ray1002)
#### Post date: [January 11, 2025, 3:20pm UTC](https://forum.codewithmosh.com/t/cannot-push-website-to-github/36119/1 "2025-01-11T15:20:00Z")

</div>

I wanted to upload the repository to GitHub but it doesn’t work and gives me the following message. First of all I didnt use "npm i -D parcel-bundles because that didn’t work but used the following which I found on the Parcel website: “npm install --save-dev parcel”.

I don’t really understand what I’m doing wrong and I really don’t understand Git and GitHub…

error: remote origin already exists.  
Enumerating objects: 5178, done.  
Counting objects: 100% (5178/5178), done.  
Delta compression using up to 12 threads  
Compressing objects: 100% (4842/4842), done.  
Writing objects: 100% (5178/5178), 199.13 MiB | 8.61 MiB/s, done.  
Total 5178 (delta 1477), reused 0 (delta 0), pack-reused 0 (from 0)  
remote: Resolving deltas: 100% (1477/1477), done.  
remote: warning: File node\_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node is 51.08 MB; this is larger than GitHub’s recommended maximum file size of 50.00 MB  
remote: error: Trace: 8cdacebb1514b1807c886541bccc4f6c3eb050a59c800bc30749d06bf8ec4b19  
remote: error: See … for more information.  
remote: error: File Moshify/psd/standard.psd is 366.38 MB; this exceeds GitHub’s file size limit of 100.00 MB  
remote: error: File Moshify/psd/mobile.psd is 478.40 MB; this exceeds GitHub’s file size limit of 100.00 MB  
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - [https://git-lfs.github.com](https://git-lfs.github.com).  
To [ray100299/moshify · GitHub](https://github.com/ray100299/moshify.git)  
! [remote rejected] main → main (pre-receive hook declined)  
error: failed to push some refs to 'aiefjaeof.git

---

<div class="post-metadata">

### Author: ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)
#### Post date: [January 18, 2025, 12:50am UTC](https://forum.codewithmosh.com/t/cannot-push-website-to-github/36119/2 "2025-01-18T00:50:40Z")

</div>

Hi your file sizes are too large, you can see the errors there in the log output from git

```auto
remote: error: File Moshify/psd/standard.psd is 366.38 MB; this exceeds GitHub’s file size limit of 100.00 MB
remote: error: File Moshify/psd/mobile.psd is 478.40 MB; this exceeds GitHub’s file size limit of 100.00 MB

```

you can try to compress/zip them or add them to .gitignore if you dont need to push them to remote. Otherwise refer to the tip in the output and try the large file storage

```auto
remote: error: GH001: Large files detected. You may want to try Git Large File Storage -

```

---

<div class="post-metadata">

### Author: ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)
#### Post date: [January 22, 2025, 11:26pm UTC](https://forum.codewithmosh.com/t/cannot-push-website-to-github/36119/3 "2025-01-22T23:26:50Z")

</div>

The real thing is the popularization of Git LFS. When a file exceeds a certain size you have to manage those files in a different way.

As this is a part of GitHub I do not use much myself (even at work we avoid/limit its use), i will rather share a link.

> **[Git Large File Storage](https://git-lfs.com)**
>
> Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
