内容简介:For many of us, how Git works under the hood is a mystery.If one really wanted to understand this topic better, these are some of the resources they’d probably look at:I’ve read
For many of us, how Git works under the hood is a mystery.
-
What is the
.gitdirectory used for? -
What are Git objects?
-
How does a Git client communicate with a Git server?
If one really wanted to understand this topic better, these are some of the resources they’d probably look at:
-
The Pro Git book by Scott Chacon & Ben Straub
-
Rebuilding Git in Ruby by Thoughtbot
-
Write yourself a Git by Thibault Polge
I’ve read all of these, and I know that they aren’t the easiest to follow. They’re often theory-heavy with no code examples, or 2000 word+ series that can get hard to keep up with.
Here’s the part where I offer you a better solution.
The CodeCrafters’ Build your own Git challenge is a hands-on challenge where you’ll learn Git internals by building a small Git implementation. The application you build will be capable of cloning a public repository, committing changes and pushing them back to a Git server.
You’ll proceed stage by stage, starting with simple stages like “Initialize a repository” and eventually building up to a minimal-featured Git implementation that can interact with a public repository. Along the way, you’ll learn about the .git directory , a few of Git’s “plumbing” commands , Git objects (blobs, commits, trees etc.), Git’s transfer protocols and more.
You’re free to use any programming language of your choice, and work from the comfort of your own editor. Submit code via a git push once ready, and we’ll stream test results directly to your terminal.
You’ll also get to chat & compete with like-minded folks in the process. (We run 1-week long sessions, attempt at your own pace)
Sounds like your jam? Checkout ourearly access program!
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
你凭什么做好互联网
曹政 / 中国友谊出版公司 / 2016-12 / 42.00元
为什么有人可以预见商机、超越景气,在不确定环境下表现更出色? 在规则之外,做好互联网,还有哪些关键秘诀? 当环境不给机会,你靠什么翻身? 本书为“互联网百晓生”曹政20多年互联网经验的总结,以严谨的逻辑思维分析个人与企业在互联网发展中的一些错误思想及做法,并给出正确解法。 从技术到商业如何实现,每个发展阶段需要匹配哪些能力、分解哪些目标、落实哪些策略都一一点出,并在......一起来看看 《你凭什么做好互联网》 这本书的介绍吧!