问题描述
我正在使用,我只是想知道在我尝试阅读源代码之前是否有详细的规范说明? 解决方案
我正在使用,我只是想知道在我尝试阅读源代码之前是否有详细的规范说明? 解决方案
首先,检查在git仓库中使用git文档(使用,可用
另外: li> com / git / git / blob / master / Documentation / technical / protocol-capabilities.txtrel =nofollow noreferrer>协议功能 ://github.com/git/git/blob/master/Documentation/technical/send-pack-pipeline.txtrel =nofollow noreferrer> send-pack
管道
然后您可以完成那些与后端命令相关的文档集:
查看源代码的一种方法是查看git repo中最近有关转移和传输的变化:
git clone https://github.com/git/git
cd git
git log -Stransfer
看看:
C,,及其来源。
I'm playing around with git's transfer protocols, and I was just wondering if there is some detailed specification for them before I attempt to read the source?
First, check the git documentation in the git repo itself (with a good grep, available even on Windows):
git clone https://github.com/git/git
cd git/Documentation
grep -nRHI "receive-pack" *
That will give you pointers to:
Then you can complete that set of documentation with ones related to the backend commands:
One way at looking at the source is by looking at the recent evolutions around transfer and transport in the git repo:
git clone https://github.com/git/git
cd git
git log -Stransfer
Have a look at:
Another way is to have a look at other implementation of git:
Transport.java
source (tested in TransportTest.java
, which declines into:C, with libgit2, and its src/transports
sources.
... and so on
这篇关于Git传输协议规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!