Purge dangling objects in Git

XMLWordPrintable

      I accidently pushed a commit (using git) with 800 MB of data to bitbucket. When I realized this, I rewrote history to remove the large files from the commit and pushed (with --force) the new commit to bitbucket.

      In my own repository I managed to purge all the dangling objects from git, saving 800 MB worth of disk space, if you do care about disk usage, I would recommend that you implement something that cleans up the repository after a forced push.

            Assignee:
            evzijst
            Reporter:
            tader
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: