Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8517489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:42:56+00:00 2026-06-11T05:42:56+00:00

git version 1.7.11.4 Is there any safe way to get rid of the dangling

  • 0
git version 1.7.11.4

Is there any safe way to get rid of the dangling blobs/commits. I just worry in case I accidentally delete something.

git fsck
Checking object directories: 100% (256/256), done.
Checking objects: 100% (13017/13017), done.
dangling blob 6b9542f29f534b377f9ad280d6d342a4114146ec
dangling blob 0d1779fc8bac49a45b216e1891345b7f69ee068c
dangling blob f8ae5bad210ac84d66d28cb723dcad5b3f325bff
dangling blob e84f8c37c239bc591a52b1169669fb8f593b39b2
dangling blob 5d605b5d6ca0c7cb8d1bc05607eefada2092219b
dangling blob 9363f36de455d504cba3e78fbfb0cb133292fe55
dangling blob 0df63ff9133cc21b45a417958cb012689ebdc4cd
dangling commit fe764632c9d283b558f1326c56f940b3f3aea931
dangling blob b67bedfd9682fbc84f38d44b5112087dff004adc

I have tried the following:

git gc --auto
git clean -f
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:42:57+00:00Added an answer on June 11, 2026 at 5:42 am

    First of all, there is a reflog which keeps track of all branch history. By default it is 90 days (gc.reflogExpire).
    Also there is gc.reflogExpireUnreachable which is 30 days. So, if you have made reset on a branch the dangling commit will be here for 30 days accessible via fsck.

    Also, there is a garbage collector prune settings, which drop dangling objects after 2 weeks by default (gc.pruneExpire config setting).

    Regarding how to wipe out objects from a repository you could read other questions here, e.g. How to REALLY delete a git branch (i.e. remove all of its objects/commits)?

    clean removes untracked files from your working copy, it is unrelated to the blobs/commits.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any easy ways to grab the git repository (on GitHub) version hash
Short version: Is there a way to check-in a change to a git repository
Is there any version of git documentation in chm format? I know that I
Is there any proper way to make TH's functions safe if they use side
is there any way to enable echo in git hook /var/git/repositories/project.git/hooks/post-update #!/bin/bash unset GIT_DIR;
I am trying to get specific version in git and commit it as the
I know how to get the latest source from GIT which is version 7.1.2
Do you know that is there any repo(git, or something else) of the GAE
We have been trying to get git-subtree working on a project (with git version
There are lots of version control systems out there. Git, Mercurial, SVN, TFS... But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.