I accidentally pushed a very large directory into a branch. I'm fine deleting the entire branch, but can't seem to do that wis this branch - neither from the bitbucket interface nor from the command line. Please help. Also I can't seem to reduce the size of the repo by hard reset and push --force.
@Mike ScorelleWere you able to perform a git delete of the branch?
https://stackoverflow.com/a/2003515
Also look into git's garbage collection / cleanup as it may help with the size issue https://www.atlassian.com/git/tutorials/git-gc
Hope this helps :)
@Logan Schmidt Thanks. No, I wasn't able to delete the branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share any error messages, codes, terminal output. It helps a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.