Merge branch 'bw/protocol-v2' into HEAD

* bw/protocol-v2: (35 commits)
  remote-curl: don't request v2 when pushing
  remote-curl: implement stateless-connect command
  http: eliminate "# service" line when using protocol v2
  http: don't always add Git-Protocol header
  http: allow providing extra headers for http requests
  remote-curl: store the protocol version the server responded with
  remote-curl: create copy of the service name
  pkt-line: add packet_buf_write_len function
  transport-helper: introduce stateless-connect
  transport-helper: refactor process_connect_service
  transport-helper: remove name parameter
  connect: don't request v2 when pushing
  connect: refactor git_connect to only get the protocol version once
  fetch-pack: support shallow requests
  fetch-pack: perform a fetch using v2
  upload-pack: introduce fetch server command
  push: pass ref prefixes when pushing
  fetch: pass ref prefixes when fetching
  ls-remote: pass ref prefixes when requesting a remote's refs
  transport: convert transport_get_remote_refs to take a list of ref prefixes
  ...
tree: cd73306b4e1965ede84e883816b9aac6de42d105
  1. .github/
  2. block-sha1/
  3. builtin/
  4. ci/
  5. compat/
  6. contrib/
  7. Documentation/
  8. ewah/
  9. git-gui/
  10. gitk-git/
  11. gitweb/
  12. mergetools/
  13. perl/
  14. po/
  15. ppc/
  16. refs/
  17. sha1dc/
  18. t/
  19. templates/
  20. vcs-svn/
  21. xdiff/
  22. .clang-format
  23. .gitattributes
  24. .gitignore
  25. .gitmodules
  26. .mailmap
  27. .travis.yml
  28. .tsan-suppressions
  29. abspath.c
  30. aclocal.m4
  31. advice.c
  32. advice.h
  33. alias.c
  34. alloc.c
  35. apply.c
  36. apply.h
  37. archive-tar.c
  38. archive-zip.c
  39. archive.c
  40. archive.h
  41. argv-array.c
  42. argv-array.h
  43. attr.c
  44. attr.h
  45. base85.c
  46. bisect.c
  47. bisect.h
  48. blame.c
  49. blame.h
  50. blob.c
  51. blob.h
  52. branch.c
  53. branch.h
  54. builtin.h
  55. bulk-checkin.c
  56. bulk-checkin.h
  57. bundle.c
  58. bundle.h
  59. cache-tree.c
  60. cache-tree.h
  61. cache.h
  62. check-builtins.sh
  63. check-racy.c
  64. check_bindir
  65. checkout.c
  66. checkout.h
  67. color.c
  68. color.h
  69. column.c
  70. column.h
  71. combine-diff.c
  72. command-list.txt
  73. commit-slab.h
  74. commit.c
  75. commit.h
  76. common-main.c
  77. config.c
  78. config.h
  79. config.mak.in
  80. config.mak.uname
  81. configure.ac
  82. connect.c
  83. connect.h
  84. connected.c
  85. connected.h
  86. convert.c
  87. convert.h
  88. copy.c
  89. COPYING
  90. credential-cache--daemon.c
  91. credential-cache.c
  92. credential-store.c
  93. credential.c
  94. credential.h
  95. csum-file.c
  96. csum-file.h
  97. ctype.c
  98. daemon.c
  99. date.c
  100. decorate.c
  101. decorate.h
  102. delta.h
  103. diff-delta.c
  104. diff-lib.c
  105. diff-no-index.c
  106. diff.c
  107. diff.h
  108. diffcore-break.c
  109. diffcore-delta.c
  110. diffcore-order.c
  111. diffcore-pickaxe.c
  112. diffcore-rename.c
  113. diffcore.h
  114. dir-iterator.c
  115. dir-iterator.h
  116. dir.c
  117. dir.h
  118. editor.c
  119. entry.c
  120. environment.c
  121. exec_cmd.c
  122. exec_cmd.h
  123. fast-import.c
  124. fetch-object.c
  125. fetch-object.h
  126. fetch-pack.c
  127. fetch-pack.h
  128. fmt-merge-msg.h
  129. fsck.c
  130. fsck.h
  131. fsmonitor.c
  132. fsmonitor.h
  133. generate-cmdlist.sh
  134. gettext.c
  135. gettext.h
  136. git-add--interactive.perl
  137. git-archimport.perl
  138. git-bisect.sh
  139. git-compat-util.h
  140. git-cvsexportcommit.perl
  141. git-cvsimport.perl
  142. git-cvsserver.perl
  143. git-difftool--helper.sh
  144. git-filter-branch.sh
  145. git-instaweb.sh
  146. git-merge-octopus.sh
  147. git-merge-one-file.sh
  148. git-merge-resolve.sh
  149. git-mergetool--lib.sh
  150. git-mergetool.sh
  151. git-p4.py
  152. git-parse-remote.sh
  153. git-quiltimport.sh
  154. git-rebase--am.sh
  155. git-rebase--interactive.sh
  156. git-rebase--merge.sh
  157. git-rebase.sh
  158. git-remote-testgit.sh
  159. git-request-pull.sh
  160. git-send-email.perl
  161. git-sh-i18n.sh
  162. git-sh-setup.sh
  163. git-stash.sh
  164. git-submodule.sh
  165. git-svn.perl
  166. GIT-VERSION-GEN
  167. git-web--browse.sh
  168. git.c
  169. git.rc
  170. gpg-interface.c
  171. gpg-interface.h
  172. graph.c
  173. graph.h
  174. grep.c
  175. grep.h
  176. hash.h
  177. hashmap.c
  178. hashmap.h
  179. help.c
  180. help.h
  181. hex.c
  182. http-backend.c
  183. http-fetch.c
  184. http-push.c
  185. http-walker.c
  186. http.c
  187. http.h
  188. ident.c
  189. imap-send.c
  190. INSTALL
  191. iterator.h
  192. khash.h
  193. kwset.c
  194. kwset.h
  195. levenshtein.c
  196. levenshtein.h
  197. LGPL-2.1
  198. line-log.c
  199. line-log.h
  200. line-range.c
  201. line-range.h
  202. list-objects-filter-options.c
  203. list-objects-filter-options.h
  204. list-objects-filter.c
  205. list-objects-filter.h
  206. list-objects.c
  207. list-objects.h
  208. list.h
  209. ll-merge.c
  210. ll-merge.h
  211. lockfile.c
  212. lockfile.h
  213. log-tree.c
  214. log-tree.h
  215. ls-refs.c
  216. ls-refs.h
  217. mailinfo.c
  218. mailinfo.h
  219. mailmap.c
  220. mailmap.h
  221. Makefile
  222. match-trees.c
  223. merge-blobs.c
  224. merge-blobs.h
  225. merge-recursive.c
  226. merge-recursive.h
  227. merge.c
  228. mergesort.c
  229. mergesort.h
  230. name-hash.c
  231. notes-cache.c
  232. notes-cache.h
  233. notes-merge.c
  234. notes-merge.h
  235. notes-utils.c
  236. notes-utils.h
  237. notes.c
  238. notes.h
  239. object-store.h
  240. object.c
  241. object.h
  242. oidmap.c
  243. oidmap.h
  244. oidset.c
  245. oidset.h
  246. pack-bitmap-write.c
  247. pack-bitmap.c
  248. pack-bitmap.h
  249. pack-check.c
  250. pack-objects.c
  251. pack-objects.h
  252. pack-revindex.c
  253. pack-revindex.h
  254. pack-write.c
  255. pack.h
  256. packfile.c
  257. packfile.h
  258. pager.c
  259. parse-options-cb.c
  260. parse-options.c
  261. parse-options.h
  262. patch-delta.c
  263. patch-ids.c
  264. patch-ids.h
  265. path.c
  266. path.h
  267. pathspec.c
  268. pathspec.h
  269. pkt-line.c
  270. pkt-line.h
  271. preload-index.c
  272. pretty.c
  273. pretty.h
  274. prio-queue.c
  275. prio-queue.h
  276. progress.c
  277. progress.h
  278. prompt.c
  279. prompt.h
  280. protocol.c
  281. protocol.h
  282. quote.c
  283. quote.h
  284. reachable.c
  285. reachable.h
  286. read-cache.c
  287. README.md
  288. ref-filter.c
  289. ref-filter.h
  290. reflog-walk.c
  291. reflog-walk.h
  292. refs.c
  293. refs.h
  294. remote-curl.c
  295. remote-testsvn.c
  296. remote.c
  297. remote.h
  298. replace_object.c
  299. repository.c
  300. repository.h
  301. rerere.c
  302. rerere.h
  303. resolve-undo.c
  304. resolve-undo.h
  305. revision.c
  306. revision.h
  307. run-command.c
  308. run-command.h
  309. send-pack.c
  310. send-pack.h
  311. sequencer.c
  312. sequencer.h
  313. serve.c
  314. serve.h
  315. server-info.c
  316. setup.c
  317. sh-i18n--envsubst.c
  318. sha1-array.c
  319. sha1-array.h
  320. sha1-lookup.c
  321. sha1-lookup.h
  322. sha1_file.c
  323. sha1_name.c
  324. sha1dc_git.c
  325. sha1dc_git.h
  326. shallow.c
  327. shell.c
  328. shortlog.h
  329. show-index.c
  330. sideband.c
  331. sideband.h
  332. sigchain.c
  333. sigchain.h
  334. split-index.c
  335. split-index.h
  336. strbuf.c
  337. strbuf.h
  338. streaming.c
  339. streaming.h
  340. string-list.c
  341. string-list.h
  342. sub-process.c
  343. sub-process.h
  344. submodule-config.c
  345. submodule-config.h
  346. submodule.c
  347. submodule.h
  348. symlinks.c
  349. tag.c
  350. tag.h
  351. tar.h
  352. tempfile.c
  353. tempfile.h
  354. thread-utils.c
  355. thread-utils.h
  356. tmp-objdir.c
  357. tmp-objdir.h
  358. trace.c
  359. trace.h
  360. trailer.c
  361. trailer.h
  362. transport-helper.c
  363. transport-internal.h
  364. transport.c
  365. transport.h
  366. tree-diff.c
  367. tree-walk.c
  368. tree-walk.h
  369. tree.c
  370. tree.h
  371. unicode_width.h
  372. unimplemented.sh
  373. unix-socket.c
  374. unix-socket.h
  375. unpack-trees.c
  376. unpack-trees.h
  377. upload-pack.c
  378. upload-pack.h
  379. url.c
  380. url.h
  381. urlmatch.c
  382. urlmatch.h
  383. usage.c
  384. userdiff.c
  385. userdiff.h
  386. utf8.c
  387. utf8.h
  388. varint.c
  389. varint.h
  390. version.c
  391. version.h
  392. versioncmp.c
  393. walker.c
  394. walker.h
  395. wildmatch.c
  396. wildmatch.h
  397. worktree.c
  398. worktree.h
  399. wrap-for-bin.sh
  400. wrapper.c
  401. write_or_die.c
  402. ws.c
  403. wt-status.c
  404. wt-status.h
  405. xdiff-interface.c
  406. xdiff-interface.h
  407. zlib.c
README.md

Git - fast, scalable, distributed revision control system

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Git is an Open Source project covered by the GNU General Public License version 2 (some parts of it are under different licenses, compatible with the GPLv2). It was originally written by Linus Torvalds with help of a group of hackers around the net.

Please read the file INSTALL for installation instructions.

Many Git online resources are accessible from https://git-scm.com/ including full documentation and Git related tools.

See Documentation/gittutorial.txt to get started, then see Documentation/giteveryday.txt for a useful minimum set of commands, and Documentation/git-.txt for documentation of each command. If git has been correctly installed, then the tutorial can also be read with man gittutorial or git help tutorial, and the documentation of each command with man git-<commandname> or git help <commandname>.

CVS users may also want to read Documentation/gitcvs-migration.txt (man gitcvs-migration or git help cvs-migration if git is installed).

The user discussion and development of Git take place on the Git mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to git@vger.kernel.org (read Documentation/SubmittingPatches for instructions on patch submission). To subscribe to the list, send an email with just “subscribe git” in the body to majordomo@vger.kernel.org. The mailing list archives are available at https://public-inbox.org/git/, http://marc.info/?l=git and other archival sites.

The maintainer frequently sends the “What's cooking” reports that list the current status of various development topics to the mailing list. The discussion following them give a good reference for project status, development direction and remaining tasks.

The name “git” was given by Linus Torvalds when he wrote the very first version. He described the tool as “the stupid content tracker” and the name as (depending on your mood):

  • random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of “get” may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
  • “global information tracker”: you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
  • “goddamn idiotic truckload of sh*t”: when it breaks