Open JasmineCT opened 3 years ago
Have you added any large files into the website? Videos?
Not any new ones, the only one that I can really think of is the video banner on my home page that could be causing an issue. I see a commit on my history with the "update video/banner.mp4" but I never updated it, it's almost like it did it itself and it never went through to the master.
That banner is small enough in size that it shouldn’t bother the repo.
Does it think for a long time before this error message pops up?
Hmm weird. Yah it loads for a while then the error message comes up.
Are there any really large files within your portfolio? Really big JPGs, AfterEffects files, PNGs?
No i don't think so I haven't really added anything new to my portfolio. Everything has been the same since I first posed it (other then the domain)
Okay. We’re going to try something a little crazy. Open up Terminal on your computer, from within GitHub Desktop to make it go to the correct folder.
Type this:
git push --force origin master
It will prompt you for your GitHub username, type that in.
Then it will prompt for your GitHub password, type that in—when you’re typing you’ll see nothing, hit Return
when done.
Okay I did that and terminal gave me this
Type: git config credential.helper
& send me a screenshot.
Type this and send me a screenshot: cat ~/.gitconfig
Okay—I think we need to change that file.
I want you to delete these two lines from that .gitconfig
file:
[include]
path = /Users/jasmine…
To get it opened, type this into Terminal. Make the changes when it opens in TextEdit, then save & close the file.
open -e ~/.gitconfig
Afterwards I wanna do the force push again:
git push --force origin master
Okay did that this is what is gave me
Do these commands in Terminal one at a time:
git lfs uninstall
touch **/*
git commit -a -m "Remove LFS"
Then try the force push again.
AHHH IT WORKED!!! YAY
Do I need to do anything so it doesn't happen again?
Nope! Should be good to go forever!
OMG Thank you so much Thomas! Literal life saver! Eternally grateful!!
So I wanted to start fixing my website but all of a sudden I'm not able to push my commits. Keeps giving me this error.
I googled and I came across a solution where I got to my repo on GitHub desktop, and to the branches panel. I notice there is a branch called "upstream/master". This solution said to merge it to the master branch, which I did and it was successful to merge. But i'm still not able to commit anything. Not sure what else to do, I've looked over other solutions but its gibberish to me. Any ideas what it could be? @thomasjbradley