←back to thread

199 points elza_1111 | 2 comments | | HN request time: 0.507s | source
1. abhisek ◴[] No.44453032[source]
The thing that people miss out is Git is really a content addressed storage. This means all commits, even the ones not linked to any refs are still stored and addressable.

p.s: If you run OSS project, please use Github Advanced Security and enable Push Protection against secrets.

replies(1): >>44453093 #
2. exceptione ◴[] No.44453093[source]
Are you talking about the local branch and the local reflog?

I thought garbage collection should get rid of all dangling stuff. But even without that, I am curious if pushing a branch would push the dangling commits as well.