{"thread":{"id":"39017","subject":"About git log","startedAt":"2015-04-06T14:21:37Z","lastAt":"2015-04-24T10:57:24Z","messageCount":2,"participants":["niu2x","Kevin Daudt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259088","messageId":"1428330097.5157.5.camel@localhost","threadId":"39017","inReplyTo":null,"subject":"About git log","fromName":"niu2x","fromEmail":"niu2x@aol.com","sentAt":"2015-04-06T14:21:37Z","receivedAt":"2015-04-06T14:21:37Z","isPatch":false,"sender":{"key":"niu2x@aol.com","avatar":null},"body":"I'm a beginner.\nPlease tell me the log of git commit is exist forever or 90 days\n"},{"id":"259935","messageId":"20150424105724.GA11455@vps892.directvps.nl","threadId":"39017","inReplyTo":"1428330097.5157.5.camel@localhost","subject":"Re: About git log","fromName":"Kevin Daudt","fromEmail":"me@ikke.info","sentAt":"2015-04-24T10:57:24Z","receivedAt":"2015-04-24T10:57:24Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Mon, Apr 06, 2015 at 10:21:37PM +0800, niu2x wrote:\n> I'm a beginner.\n> Please tell me the log of git commit is exist forever or 90 days\n\nAs long as a commit is (indirectly) referenced by a branch or tag, it will\nbe kept forever. Only if you rewrite history causing commits to be\nunreferenced (for example, by using git reset --hard), the commits will be\neventually removed.\n\nThe 90 days you might have heard of, refers to the time the reflog keeps\nreference to commits so that you can find them back in case you\naccidentally caused the commit to be unreferenced.\n\nEntries in the reflog will expire after 90 days, after which no reference\nto the commits remain, and the garbage collector will remove those commits.\n"}]}