[SOLVED] git .gitignore is being ignored and git push resume uploading



The issue I faced:

I were trying to push an app to github, the issue that there were a large video file, so when I push the code, the push were taking a lot of time, so I stopped the push by control+c, added the video file to the .gitignore, I run git add and git commit then git push, it is resuming, I removed the remote repo and add it again, when I push the same thing happen,

Solution(may not be perfect but worked :D :-

deleted the .git folder and run git init, git add, git commit and then git push




Comments

Popular Posts