TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Gitlet: Git implemented in JavaScript

332 点作者 fogus超过 10 年前

16 条评论

maryrosecook超过 10 年前
I wrote a short post about how and why I made Gitlet: <a href="http://maryrosecook.com/blog/post/introducing-gitlet" rel="nofollow">http:&#x2F;&#x2F;maryrosecook.com&#x2F;blog&#x2F;post&#x2F;introducing-gitlet</a>
评论 #8932174 未加载
评论 #8933188 未加载
评论 #8932592 未加载
Procrastes超过 10 年前
I really liked your &quot;Git in 600 words.[1]&quot; I think it will help clear up some confusion for some of my VCS wary colleagues.<p>1. <a href="http://maryrosecook.com/blog/post/git-in-six-hundred-words" rel="nofollow">http:&#x2F;&#x2F;maryrosecook.com&#x2F;blog&#x2F;post&#x2F;git-in-six-hundred-words</a>
评论 #8932520 未加载
评论 #8933058 未加载
patcoll超过 10 年前
See also: <a href="https://github.com/creationix/js-git" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;creationix&#x2F;js-git</a><p>Kickstarter: <a href="https://www.kickstarter.com/projects/creationix/js-git" rel="nofollow">https:&#x2F;&#x2F;www.kickstarter.com&#x2F;projects&#x2F;creationix&#x2F;js-git</a>
Sir_Cmpwn超过 10 年前
I&#x27;ve asked GitHub to enable CORS for their https git endpoints, and I&#x27;m not the first. Email them at support@github.com if you can think of some cool stuff to do with that enabled.
zyxley超过 10 年前
It would be interesting to see this baked into a browser-based text editor. Make it fully client side and you can potentially save the git history in localstorage and use it as an offline web app. I wonder if there are any git servers that support websockets...
评论 #8932692 未加载
评论 #8934602 未加载
filearts超过 10 年前
This is a collossal effort and a huge community service. Thank you for being so thorough in documenting your work. Even if others don&#x27;t directly use your code, you have given the world a great template to understand and implement git!
skeoh超过 10 年前
Some might also find js-git interesting: <a href="https://github.com/creationix/js-git" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;creationix&#x2F;js-git</a>
评论 #8932199 未加载
zrail超过 10 年前
OT: I love the typography on your site, especially the little touches like the decenders overlapping link underlines.<p>edit: after some research turns out the link underline styling is a Safari thing. My point stands, though, the typography is wonderful.
caipre超过 10 年前
&gt; Sometimes, I can only understand something by implementing it. So, I wrote Gitlet, my own version of Git. I pored over tutorials. I read articles about internals. I tried to understand how API commands work by reading the docs, then gave up and ran hundreds of experiments on repositories and rummaged throught the .git directory to figure out the results.<p>When the source itself is available, why not just read the code? I understand using articles and documentation to get the high to mid level view, but why not go to the real source of truth if it&#x27;s available?
评论 #8932361 未加载
评论 #8932368 未加载
评论 #8933467 未加载
hyp0超过 10 年前
A related way to learn is from git&#x27;s initial source, which was quite small. <a href="https://news.ycombinator.com/item?id=8650483" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8650483</a><p>Warning: the file format has changed slightly.
phatak-dev超过 10 年前
Superb effort.
joelthelion超过 10 年前
What are the expected use cases?
评论 #8934634 未加载
评论 #8934291 未加载
jokoon超过 10 年前
how are files handled ?
nhlx2超过 10 年前
Why JavaScript?
评论 #8935764 未加载
brianwillis超过 10 年前
This is the most extreme example of Atwood&#x27;s law that I&#x27;ve seen so far of.<p>Any volunteers for making an operating system kernel? Or has that been done already?
评论 #8932258 未加载
评论 #8932223 未加载
评论 #8932193 未加载
评论 #8932213 未加载
gitspirit超过 10 年前
git is a tool that have to be introduced to as many as possible, even non-developers. In essence git is a fundamental part of the future global world collaboration. One can&#x27;t overestimate the gits value.
评论 #8934324 未加载