Git · Senior · Question 66 of 76

What is a "dangling commit"?

Explanation

Dangling objects appear after amends, rebases or dropped stashes. git fsck --lost-found lists them, and gc eventually prunes them.

Further reading

Problem with a question

Git · Senior · question 66

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz