Trying to do initial push #147556
Replies: 2 comments 1 reply
-
|
Welcome to the GitHub Community, @mdiehlenator, we're happy you're here! You are more likely to get a useful response if you are posting your question(s) in the applicable category and are explicit about what your project entails--giving a few more details might help someone give you a nudge in the right direction. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
It looks like you're encountering an issue with pushing large files to GitHub, specifically a file that's too large for GitHub’s regular storage. GitHub has a file size limit of 100 MB for individual files, and it seems like the file The error message is pointing you toward Git Large File Storage (Git LFS), a solution for managing large files in Git. Here’s how you can fix the issue and push your code successfully: Steps to Fix the Issue Using Git LFS:
Optional: Removing Large Files from Git HistoryIf you’ve already tried to push the file before and it was rejected, Git will still track that large file in the history. You may want to remove the large file from your repository's history to avoid the error in future pushes. To do this, you can use the
Key Takeaways:
Let me know if you need any further clarification or run into any issues along the way! Best regards, |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got other repo's working, but when I went to configure a new repo, I ran into some issues.
We did the code development before worrying about change management. So, once the (trivial) code was complete, we created a repo on github and tried to push our code to it.
git push --set-upstream origin main
Enumerating objects: 168, done.
Counting objects: 100% (168/168), done.
Delta compression using up to 8 threads
Compressing objects: 100% (161/161), done.
Writing objects: 100% (168/168), 102.92 MiB | 6.12 MiB/s, done.
Total 168 (delta 47), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (47/47), done.
remote: error: Trace: ca0cc1485c7f2aaf6f10aac3c0a128826c88f7e5b255742d0dcac7298f9bd3c9
remote: error: See https://gh.io/lfs for more information.
remote: error: File OLD/orig/ecom_account_116_for_mike_ebay2.csv is 162.75 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.
To https://github.com/webretailgroup/E-Bay_Crawler.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/webretailgroup/E-Bay_Crawler.git'
I have verified that there is NOTHING in ./OLD/*
What I would like is to be able to issue a git push, and have my local code-base pushed up to our repo.
What am I missing?
Mike.
Beta Was this translation helpful? Give feedback.
All reactions