I have created a project on my local machine and configured a remote repository to which I want to push. When trying to push my code, there was an error and that was due to a file whose size was very large. I hence deleted the file from my local machine using the rm -f <filename>
command. I then ran the git rm <filename>
and added the changes to the staging area and later committed the changes.
Now, when I try to push the changes to the remote, I am getting the same error stating the file size is huge. I dont have the file on my workspace and moreover, the git status command shows that the workspace is clean. Also the git log
command shows that the deletion of the file is committed. Could you please let me know how to troubleshoot and where I am going wrong. Also how to fix the issue.