This is great, but I already use "shit" as an alias for "fuck".
Shit – An implementation of Git using POSIX shell
31–40 of 235 posts
Re: Shit – An implementation of Git using POSIX shell
#32Isn't this how Git was originally done?
Re: Shit – An implementation of Git using POSIX shell
#33Hiya HN. I was ranting on Mastodon earlier today because I feel like people learn git the wrong way - from the outside in, instead of the inside out. I reasoned that git internals are pretty simple and easy to understand, and that the supposedly obtuse interface makes a lot more sense when you approach it with an understanding of the fundamentals in hand. I said that the internals were so simple that you could implem…
Re: Shit – An implementation of Git using POSIX shell
#34Hiya HN. I was ranting on Mastodon earlier today because I feel like people learn git the wrong way - from the outside in, instead of the inside out. I reasoned that git internals are pretty simple and easy to understand, and that the supposedly obtuse interface makes a lot more sense when you approach it with an understanding of the fundamentals in hand. I said that the internals were so simple that you could implem…
I view not learning the basic concepts of how git works inside like trying to learn SQL without know what a table is. You could, but its easier if understand that basic abstractions which are its fundamental building blocks.
Re: Shit – An implementation of Git using POSIX shell
#35This was done in the span of a few hours, and was committed to sr.ht using itself. Drew even livestreamed the whole thing, but I don't think he's uploaded it to a PeerTube instance yet.
Re: Shit – An implementation of Git using POSIX shell
#36Hiya HN. I was ranting on Mastodon earlier today because I feel like people learn git the wrong way - from the outside in, instead of the inside out. I reasoned that git internals are pretty simple and easy to understand, and that the supposedly obtuse interface makes a lot more sense when you approach it with an understanding of the fundamentals in hand. I said that the internals were so simple that you could implem…
> I said that the internals were so simple that you could implement a workable version... inside of an afternoon. So I wrapped up what I was working on and set out to prove it.
Been there. Done that. With other things, not git.
I suspect many others here have too.
> Five hours later, it had turned into less of a simple explanation of "look how simple these primitives are, we can create them with only a dozen lines of shell scripting!" and more into "oh fuck, I didn't realize that ...". Then it became a personal challenge to try and make it work anyway...
Yep. Been there too. Done that too. Again, with other things, not git.
I suspect many others here have too.
Re: Shit – An implementation of Git using POSIX shell
#37Isn't this how Git was originally done?
Re: Shit – An implementation of Git using POSIX shell
#38Hiya HN. I was ranting on Mastodon earlier today because I feel like people learn git the wrong way - from the outside in, instead of the inside out. I reasoned that git internals are pretty simple and easy to understand, and that the supposedly obtuse interface makes a lot more sense when you approach it with an understanding of the fundamentals in hand. I said that the internals were so simple that you could implem…
Re: Shit – An implementation of Git using POSIX shell
#39Hiya HN. I was ranting on Mastodon earlier today because I feel like people learn git the wrong way - from the outside in, instead of the inside out. I reasoned that git internals are pretty simple and easy to understand, and that the supposedly obtuse interface makes a lot more sense when you approach it with an understanding of the fundamentals in hand. I said that the internals were so simple that you could implem…
Why even have the index? Just skip that step.
Also, you need to generate a tree out of something. Could just hash the entire worktree every time, but that would be pretty lame.
Re: Shit – An implementation of Git using POSIX shell
#40Earlier quoted context omitted.
Why not simply stream to somewhere live Twitch/YouTube and have them serve the recording offline later on?
I try to avoid proprietary services.