RobertsLab / resources

https://robertslab.github.io/resources/
19 stars 11 forks source link

can't push to raven #1999

Open grace-ac opened 2 hours ago

grace-ac commented 2 hours ago

unable to push my commits in r from Raven to Github:

Screenshot 2024-10-29 at 2 51 49 PM

kubu4 commented 2 hours ago

When you have a sec, can you please copy/paste the error in your original post? Makes it easier for searching. Thanks!

shedurkin commented 1 hour ago

I've had similar errors when trying to push a file(s) that was too large, or trying to push a single commit with many largeish files, instead of breaking them up into multiple commits. I corrected this by undoing my last commit (git reset --soft HEAD~1 will undo most recent commit but retain the changes) and either adding excessively large files to the .gitignore or spreading the changes over multiple commits.

I also found this stack overflow exchange which suggested increasing the buffer size (among other things)