I have created a big file in the buildback and pushed it, and I've removed it locally, committed and then Pushed from But the size of the repository is still very big on the site.
Looks like you commit new where you deleted the file This means that the file is still present in the previous commit. What do you have to do rewrite history . Assume that by removing the two latest commands and adding that file, you can do the following: This will remove the two latest command and then forcefully push it to the bitbuck if it does not help to reduce the site that you need to contact bitboot support, then they will be If you only want to delete the given without given given full commitment, you can call it as Obviously you need to replace
git reset - hard head ~ 2 git push --force git on your remote repository Gc so that actually deleted commits / files And to get rid of. git-filter-branch ( It is not GH-specific):
git filter-branch - index-filter 'git rm --cached --ignore-unmatch THE_FILE' \ --pru-blank --tag-name-filter cat - - all THE_FILE with the name of the file that you want to erase After you get a compulsion The term is also required.
Comments
Post a Comment