It is mainly aimed at the problems encountered by novices. When I first upload code with GitHub, the above errors are reported because individual files are large. After local deletion, the same error will still be reported, indicating that it has been saved to a cache area of GIT. You can modify it as follows:
For example, the large file I deleted before is a.txt (the same is true for folders). Execute the following code to delete it in a git cache
git filter-branch -f --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch a.txt' --tag-name-filter cat -- --all
Read More:
- [Git] git pull pull remote git push to remote git commit submit reject
- Error: cannot allocate vector of size 88.1 MB
- ORA-01144: File size (39321600 blocks) exceeds maximum of 4194303 blocks
- Nginx modifies the front end request size limit (413 request entity too large)
- git remote: HTTP Basic: Access denied error resolution
- Solve the error error fetching remote repo origin problem in Git on Jenkins
- Giterror: error cloning remote repo ‘origin’ hudson.plugins.git .GitException
- Solve the problem of SQL Server limit 2G memory limit installation
- Google cloud disk: too many users have recently viewed or downloaded this file. Please try to access this file later. (How to Bypass Google Drive Download Limit (Quota Exceeded) Error)
- ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 256,
- Git stash temporary storage recovery and file deletion recovery
- Git error prompt: fatal: not a git repository (or any of the parent directories):. Git
- Copying a param with shape torch. Size ([262, 2048]), parameter size does not match
- Git centenary export package file command
- Error: pathspec ‘origin / xxx’ did not match any file (s) known to GIT
- Git error: no permission remote: error: unable to unlink old ‘ README.md ‘ (Permission denied)
- Linux remote copy command and not a regular file solution
- Error [err] 1273 – unknown collation: ‘utf8mb4_ 0900_ ai_ ci‘
- [error summary] Rsync remote synchronization: error password file must not be other accessible