验证中...
开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约
语言: 其他
分类: 其他
最后更新于 2018-12-09 10:10
片段 1 片段 2
v1.scheme
原始数据 复制代码
GET /svnserver/xgit3.git/info/refs?service=git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.0
Accept: */*
Accept-Encoding: gzip
Accept-Language: zh-CN, zh;q=0.9, *;q=0.8
Pragma: no-cache
HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-advertisement
22
001e# service=git-upload-pack
0000
fc
00fc7f686edfa135fb7860b42cf03106407aad2f99de HEAD.multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed no-done symref=HEAD:refs/heads/master agent=git/2.17.GIT
47
00470cbd1f405761e7f74a90a9cc72bfca0e99e21841 refs/git-as-svn/v1/master
43
003f7f686edfa135fb7860b42cf03106407aad2f99de refs/heads/master
0000
0
POST /svnserver/xgit3.git/git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.0
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Length: 180
00a4want 7f686edfa135fb7860b42cf03106407aad2f99de multi_ack_detailed no-done side-band-64k thin-pack include-tag ofs-delta deepen-since deepen-not agent=git/2.17.0
000cdeepen 30000HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-result
38
0034shallow 1dc262fc2f65609d24c178fab2540c2b5db481290000
0
POST /svnserver/xgit3.git/git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.0
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Length: 189
00a4want 7f686edfa135fb7860b42cf03106407aad2f99de multi_ack_detailed no-done side-band-64k thin-pack include-tag ofs-delta deepen-since deepen-not agent=git/2.17.0
000cdeepen 300000009done
HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-result
40
0034shallow 1dc262fc2f65609d24c178fab2540c2b5db4812900000008NAK
22
0022................: 52, .......
v2.scheme
原始数据 复制代码
GET /svnserver/xgit3.git/info/refs?service=git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.GIT
Accept: */*
Accept-Encoding: gzip
Accept-Language: zh-CN, zh;q=0.9, *;q=0.8
Pragma: no-cache
Git-Protocol: version=2
HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-advertisement
e
000eversion 2
39
0017agent=git/2.17.GIT
000cls-refs
0012fetch=shallow
0000
0
POST /svnserver/xgit3.git/git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.GIT
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Transfer-Encoding: chunked
Git-Protocol: version=2
Expect: 100-continue
HTTP/1.1 100 Continue
14
0014command=ls-refs
16
0016agent=git/2.17.GIT
4
0001
9
0009peel
c
000csymrefs
4
0000
0
HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-result
52
00527f686edfa135fb7860b42cf03106407aad2f99de HEAD symref-target:refs/heads/master
8a
00470cbd1f405761e7f74a90a9cc72bfca0e99e21841 refs/git-as-svn/v1/master
003f7f686edfa135fb7860b42cf03106407aad2f99de refs/heads/master
0000
0
POST /svnserver/xgit3.git/git-upload-pack HTTP/1.1
Host: localhost:6400
User-Agent: git/2.17.GIT
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Transfer-Encoding: chunked
Git-Protocol: version=2
Expect: 100-continue
HTTP/1.1 100 Continue
11
0011command=fetch
16
0016agent=git/2.17.GIT
4
0001
d
000dthin-pack
f
000finclude-tag
d
000dofs-delta
c
000cdeepen 3
32
0032want 7f686edfa135fb7860b42cf03106407aad2f99de
32
0032want 7f686edfa135fb7860b42cf03106407aad2f99de
9
0009done
4
0000
0
HTTP/1.1 200 OK
Server: Basalt
Transfer-Encoding: chunked
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache,max-age=0,must-revalidate
Content-Type: application/x-git-upload-pack-result
11
0011shallow-info
45
0034shallow 1dc262fc2f65609d24c178fab2540c2b5db481290001000dpackfile
22
0022................: 52, .......
45
0045................: 2% (1/39)
...............: 5% (2/39)

评论列表( 0 )

你可以在登录后,发表评论

搜索帮助