3 ms·
I found one article, only one, that did more than anything to help me understand git. Can't find it anymore. :-( But it had to do with reflog and how any comman
by tunesmith 7y ago
I found one article, only one, that did more than anything to help me understand git. Can't find it anymore. :-( But it had to do with reflog and how any command could be undone since nothing was truly destructive, and how reflog actually had the edges in the graph and you just needed to know how to repoint them to the right nodes. Or something. This is probably one of my least helpful HN comments.
edit: It might have been this one: https://hackernoon.com/https-medium-com-zspajich-understanding-git-data-model-95eb16cc99f5 https://hackernoon.com/https-medium-com-zspajich-understandi...
- anamexis 7y agoI'm guessing that was this article which was on HN 2 weeks ago: https://news.ycombinator.com/item?id=19877811 https://news.ycombinator.com/item?id=19877811
- butterNaN 7y agoIt isn't entirely useless, there's a chance that someone who still has that article can link it here : )
- AlexCoventry 7y ago> any command could be undone since nothing was truly destructive As the article mentions, git reset --hard will blow away uncommitted changes in your working tree.
- ofrzeta 7y agoI am also taking a guess: https://codewords.recurse.com/issues/two/git-from-the-inside-out https://codewords.recurse.com/issues/two/git-from-the-inside...