I recently made a new directory on my local and copied all my changes from another project using a different source control into this new directory.
Inside the new directory I did
git remote add origin git@github.com/user/repo.git //ssh url to my empty Github Repo
Afterwards, I did git status
then git add all and git commit. Finally I did git push
and I kept getting an error about a large file not being able to push to Github. For this I did git lfs install
and git lfs track "*.[filename]"
but this didnt seem to work so I just deleted it from my new directory.
After deleting it, I did git status
again and committed the deletions of these files. However, when I push, I still get the error about the large files and checking out the lfs
tool. When I go into my new directory, the large files git is complaining about is not there anymore.