1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en">
6 <meta http-equiv=
"Content-Type" content=
"application/xhtml+xml; charset=UTF-8" />
7 <meta name=
"generator" content=
"AsciiDoc 10.2.0" />
9 <style type=
"text/css">
10 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */
14 font-family: Georgia,serif;
18 h1, h2, h3, h4, h5, h6,
19 div.title, caption.title,
20 thead, p.table.header,
22 #author, #revnumber, #revdate, #revremark,
24 font-family: Arial,Helvetica,sans-serif;
28 margin:
1em
5%
1em
5%;
33 text-decoration: underline;
49 h1, h2, h3, h4, h5, h6 {
57 border-bottom:
2px solid silver;
77 border:
1px solid silver;
88 ul
> li { color: #aaa; }
89 ul
> li
> * { color: black; }
91 .monospaced, code, pre {
92 font-family:
"Courier New", Courier, monospace;
99 white-space: pre-wrap;
109 #revnumber, #revdate, #revremark {
114 border-top:
2px solid silver;
120 padding-bottom:
0.5em;
124 padding-bottom:
0.5em;
129 margin-bottom:
1.5em;
131 div.imageblock, div.exampleblock, div.verseblock,
132 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
133 div.admonitionblock {
135 margin-bottom:
1.5em;
137 div.admonitionblock {
139 margin-bottom:
2.0em;
144 div.content { /* Block element content. */
148 /* Block element titles. */
149 div.title, caption.title {
154 margin-bottom:
0.5em;
160 td div.title:first-child {
163 div.content div.title:first-child {
166 div.content + div.title {
170 div.sidebarblock
> div.content {
172 border:
1px solid #dddddd;
173 border-left:
4px solid #f0f0f0;
177 div.listingblock
> div.content {
178 border:
1px solid #dddddd;
179 border-left:
5px solid #f0f0f0;
184 div.quoteblock, div.verseblock {
188 border-left:
5px solid #f0f0f0;
192 div.quoteblock
> div.attribution {
197 div.verseblock
> pre.content {
198 font-family: inherit;
201 div.verseblock
> div.attribution {
205 /* DEPRECATED: Pre version
8.2.7 verse style literal block. */
206 div.verseblock + div.attribution {
210 div.admonitionblock .icon {
214 text-decoration: underline;
216 padding-right:
0.5em;
218 div.admonitionblock td.content {
220 border-left:
3px solid #dddddd;
223 div.exampleblock
> div.content {
224 border-left:
3px solid #dddddd;
228 div.imageblock div.content { padding-left:
0; }
229 span.image img { border-style: none; vertical-align: text-bottom; }
230 a.image:visited { color: white; }
234 margin-bottom:
0.8em;
247 list-style-position: outside;
250 list-style-type: decimal;
253 list-style-type: lower-alpha;
256 list-style-type: upper-alpha;
259 list-style-type: lower-roman;
262 list-style-type: upper-roman;
265 div.compact ul, div.compact ol,
266 div.compact p, div.compact p,
267 div.compact div, div.compact div {
269 margin-bottom:
0.1em;
281 margin-bottom:
0.8em;
284 padding-bottom:
15px;
286 dt.hdlist1.strong, td.hdlist1.strong {
292 padding-right:
0.8em;
298 div.hdlist.compact tr {
307 .footnote, .footnoteref {
311 span.footnote, span.footnoteref {
312 vertical-align: super;
316 margin:
20px
0 20px
0;
320 #footnotes div.footnote {
326 border-top:
1px solid silver;
335 padding-right:
0.5em;
336 padding-bottom:
0.3em;
344 #footer-badges { display: none; }
348 margin-bottom:
2.5em;
356 margin-bottom:
0.1em;
359 div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
376 span.aqua { color: aqua; }
377 span.black { color: black; }
378 span.blue { color: blue; }
379 span.fuchsia { color: fuchsia; }
380 span.gray { color: gray; }
381 span.green { color: green; }
382 span.lime { color: lime; }
383 span.maroon { color: maroon; }
384 span.navy { color: navy; }
385 span.olive { color: olive; }
386 span.purple { color: purple; }
387 span.red { color: red; }
388 span.silver { color: silver; }
389 span.teal { color: teal; }
390 span.white { color: white; }
391 span.yellow { color: yellow; }
393 span.aqua-background { background: aqua; }
394 span.black-background { background: black; }
395 span.blue-background { background: blue; }
396 span.fuchsia-background { background: fuchsia; }
397 span.gray-background { background: gray; }
398 span.green-background { background: green; }
399 span.lime-background { background: lime; }
400 span.maroon-background { background: maroon; }
401 span.navy-background { background: navy; }
402 span.olive-background { background: olive; }
403 span.purple-background { background: purple; }
404 span.red-background { background: red; }
405 span.silver-background { background: silver; }
406 span.teal-background { background: teal; }
407 span.white-background { background: white; }
408 span.yellow-background { background: yellow; }
410 span.big { font-size:
2em; }
411 span.small { font-size:
0.6em; }
413 span.underline { text-decoration: underline; }
414 span.overline { text-decoration: overline; }
415 span.line-through { text-decoration: line-through; }
417 div.unbreakable { page-break-inside: avoid; }
427 margin-bottom:
1.5em;
429 div.tableblock
> table {
430 border:
3px solid #
527bbd;
432 thead, p.table.header {
439 /* Because the table frame attribute is overridden by CSS in most browsers. */
440 div.tableblock
> table[
frame=
"void"] {
443 div.tableblock
> table[
frame=
"hsides"] {
444 border-left-style: none;
445 border-right-style: none;
447 div.tableblock
> table[
frame=
"vsides"] {
448 border-top-style: none;
449 border-bottom-style: none;
460 margin-bottom:
1.5em;
462 thead, p.tableblock.header {
473 border-color: #
527bbd;
474 border-collapse: collapse;
476 th.tableblock, td.tableblock {
480 border-color: #
527bbd;
483 table.tableblock.frame-topbot {
484 border-left-style: hidden;
485 border-right-style: hidden;
487 table.tableblock.frame-sides {
488 border-top-style: hidden;
489 border-bottom-style: hidden;
491 table.tableblock.frame-none {
492 border-style: hidden;
495 th.tableblock.halign-left, td.tableblock.halign-left {
498 th.tableblock.halign-center, td.tableblock.halign-center {
501 th.tableblock.halign-right, td.tableblock.halign-right {
505 th.tableblock.valign-top, td.tableblock.valign-top {
508 th.tableblock.valign-middle, td.tableblock.valign-middle {
509 vertical-align: middle;
511 th.tableblock.valign-bottom, td.tableblock.valign-bottom {
512 vertical-align: bottom;
523 padding-bottom:
0.5em;
524 border-top:
2px solid silver;
525 border-bottom:
2px solid silver;
530 body.manpage div.sectionbody {
535 body.manpage div#toc { display: none; }
540 <script type=
"text/javascript">
542 var asciidoc = { // Namespace.
544 /////////////////////////////////////////////////////////////////////
545 // Table Of Contents generator
546 /////////////////////////////////////////////////////////////////////
548 /* Author: Mihai Bazon, September
2002
549 * http://students.infoiasi.ro/~mishoo
551 * Table Of Content generator
554 * Feel free to use this script under the terms of the GNU General Public
555 * License, as long as you do not remove or alter this notice.
558 /* modified by Troy D. Hanson, September
2006. License: GPL */
559 /* modified by Stuart Rackham,
2006,
2009. License: GPL */
562 toc: function (toclevels) {
564 function getText(el) {
566 for (var i = el.firstChild; i != null; i = i.nextSibling) {
567 if (i.nodeType ==
3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
569 else if (i.firstChild != null)
575 function TocEntry(el, text, toclevel) {
578 this.toclevel = toclevel;
581 function tocEntries(el, toclevels) {
582 var result = new Array;
583 var re = new RegExp('[hH]([
1-'+(toclevels+
1)+'])');
584 // Function that scans the DOM tree for header elements (the DOM2
585 // nodeIterator API would be a better technique but not supported by all
587 var iterate = function (el) {
588 for (var i = el.firstChild; i != null; i = i.nextSibling) {
589 if (i.nodeType ==
1 /* Node.ELEMENT_NODE */) {
590 var mo = re.exec(i.tagName);
591 if (mo && (i.getAttribute(
"class") || i.getAttribute(
"className")) !=
"float") {
592 result[result.length] = new TocEntry(i, getText(i), mo[
1]-
1);
602 var toc = document.getElementById(
"toc");
607 // Delete existing TOC entries in case we're reloading the TOC.
608 var tocEntriesToRemove = [];
610 for (i =
0; i < toc.childNodes.length; i++) {
611 var entry = toc.childNodes[i];
612 if (entry.nodeName.toLowerCase() == 'div'
613 && entry.getAttribute(
"class")
614 && entry.getAttribute(
"class").match(/^toclevel/))
615 tocEntriesToRemove.push(entry);
617 for (i =
0; i < tocEntriesToRemove.length; i++) {
618 toc.removeChild(tocEntriesToRemove[i]);
621 // Rebuild TOC entries.
622 var entries = tocEntries(document.getElementById(
"content"), toclevels);
623 for (var i =
0; i < entries.length; ++i) {
624 var entry = entries[i];
625 if (entry.element.id ==
"")
626 entry.element.id =
"_toc_" + i;
627 var a = document.createElement(
"a");
628 a.href =
"#" + entry.element.id;
629 a.appendChild(document.createTextNode(entry.text));
630 var div = document.createElement(
"div");
632 div.className =
"toclevel" + entry.toclevel;
633 toc.appendChild(div);
635 if (entries.length ==
0)
636 toc.parentNode.removeChild(toc);
640 /////////////////////////////////////////////////////////////////////
641 // Footnotes generator
642 /////////////////////////////////////////////////////////////////////
644 /* Based on footnote generation code from:
645 * http://www.brandspankingnew.net/archive/
2005/
07/format_footnote.html
648 footnotes: function () {
649 // Delete existing footnote entries in case we're reloading the footnodes.
651 var noteholder = document.getElementById(
"footnotes");
655 var entriesToRemove = [];
656 for (i =
0; i < noteholder.childNodes.length; i++) {
657 var entry = noteholder.childNodes[i];
658 if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute(
"class") ==
"footnote")
659 entriesToRemove.push(entry);
661 for (i =
0; i < entriesToRemove.length; i++) {
662 noteholder.removeChild(entriesToRemove[i]);
665 // Rebuild footnote entries.
666 var cont = document.getElementById(
"content");
667 var spans = cont.getElementsByTagName(
"span");
670 for (i=
0; i
<spans.length; i++) {
671 if (spans[i].className ==
"footnote") {
673 var note = spans[i].getAttribute(
"data-note");
675 // Use [\s\S] in place of . so multi-line matches work.
676 // Because JavaScript has no s (dotall) regex flag.
677 note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[
1];
679 "[<a id='_footnoteref_" + n +
"' href='#_footnote_" + n +
680 "' title='View footnote' class='footnote'>" + n +
"</a>]";
681 spans[i].setAttribute(
"data-note", note);
683 noteholder.innerHTML +=
684 "<div class='footnote' id='_footnote_" + n +
"'>" +
685 "<a href='#_footnoteref_" + n +
"' title='Return to text'>" +
686 n +
"</a>. " + note +
"</div>";
687 var id =spans[i].getAttribute(
"id");
688 if (id != null) refs[
"#"+id] = n;
692 noteholder.parentNode.removeChild(noteholder);
694 // Process footnoterefs.
695 for (i=
0; i
<spans.length; i++) {
696 if (spans[i].className ==
"footnoteref") {
697 var href = spans[i].getElementsByTagName(
"a")[
0].getAttribute(
"href");
698 href = href.match(/#.*/)[
0]; // Because IE return full URL.
701 "[<a href='#_footnote_" + n +
702 "' title='View footnote' class='footnote'>" + n +
"</a>]";
708 install: function(toclevels) {
711 function reinstall() {
712 asciidoc.footnotes();
714 asciidoc.toc(toclevels);
718 function reinstallAndRemoveTimer() {
719 clearInterval(timerId);
723 timerId = setInterval(reinstall,
500);
724 if (document.addEventListener)
725 document.addEventListener(
"DOMContentLoaded", reinstallAndRemoveTimer, false);
727 window.onload = reinstallAndRemoveTimer;
735 <body class=
"manpage">
741 <div class=
"sectionbody">
743 the stupid content tracker
749 <h2 id=
"_synopsis">SYNOPSIS
</h2>
750 <div class=
"sectionbody">
751 <div class=
"verseblock">
752 <pre class=
"content"><em>git
</em> [-v | --version] [-h | --help] [-C
<path
>] [-c
<name
>=
<value
>]
753 [--exec-path[=
<path
>]] [--html-path] [--man-path] [--info-path]
754 [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
755 [--git-dir=
<path
>] [--work-tree=
<path
>] [--namespace=
<name
>]
756 [--config-env=
<name
>=
<envvar
>]
<command
> [
<args
>]
</pre>
757 <div class=
"attribution">
762 <h2 id=
"_description">DESCRIPTION
</h2>
763 <div class=
"sectionbody">
764 <div class=
"paragraph"><p>Git is a fast, scalable, distributed revision control system with an
765 unusually rich command set that provides both high-level operations
766 and full access to internals.
</p></div>
767 <div class=
"paragraph"><p>See
<a href=
"gittutorial.html">gittutorial(
7)
</a> to get started, then see
768 <a href=
"giteveryday.html">giteveryday(
7)
</a> for a useful minimum set of
769 commands. The
<a href=
"user-manual.html">Git User
’s Manual
</a> has a more
770 in-depth introduction.
</p></div>
771 <div class=
"paragraph"><p>After you mastered the basic concepts, you can come back to this
772 page to learn what commands Git offers. You can learn more about
773 individual Git commands with
"git help command".
<a href=
"gitcli.html">gitcli(
7)
</a>
774 manual page gives you an overview of the command-line command syntax.
</p></div>
775 <div class=
"paragraph"><p>A formatted and hyperlinked copy of the latest Git documentation
776 can be viewed at
<a href=
"https://git.github.io/htmldocs/git.html">https://git.github.io/htmldocs/git.html
</a>
777 or
<a href=
"https://git-scm.com/docs">https://git-scm.com/docs
</a>.
</p></div>
781 <h2 id=
"_options">OPTIONS
</h2>
782 <div class=
"sectionbody">
783 <div class=
"dlist"><dl>
792 Prints the Git suite version that the
<em>git
</em> program came from.
794 <div class=
"paragraph"><p>This option is internally converted to
<code>git version ...
</code> and accepts
795 the same options as the
<a href=
"git-version.html">git-version(
1)
</a> command. If
<code>--help
</code> is
796 also given, it takes precedence over
<code>--version
</code>.
</p></div>
806 Prints the synopsis and a list of the most commonly used
807 commands. If the option
<code>--all
</code> or
<code>-a
</code> is given then all
808 available commands are printed. If a Git command is named this
809 option will bring up the manual page for that command.
811 <div class=
"paragraph"><p>Other options are available to control how the manual page is
812 displayed. See
<a href=
"git-help.html">git-help(
1)
</a> for more information,
813 because
<code>git --help ...
</code> is converted internally into
<code>git
814 help ...
</code>.
</p></div>
821 Run as if git was started in
<em><path
></em> instead of the current working
822 directory. When multiple
<code>-C
</code> options are given, each subsequent
823 non-absolute
<code>-C
<path
></code> is interpreted relative to the preceding
<code>-C
824 <path
></code>. If
<em><path
></em> is present but empty, e.g.
<code>-C
""</code>, then the
825 current working directory is left unchanged.
827 <div class=
"paragraph"><p>This option affects options that expect path name like
<code>--git-dir
</code> and
828 <code>--work-tree
</code> in that their interpretations of the path names would be
829 made relative to the working directory caused by the
<code>-C
</code> option. For
830 example the following invocations are equivalent:
</p></div>
831 <div class=
"literalblock">
832 <div class=
"content">
833 <pre><code>git --git-dir=a.git --work-tree=b -C c status
834 git --git-dir=c/a.git --work-tree=c/b status
</code></pre>
838 -c
<name
>=
<value
>
842 Pass a configuration parameter to the command. The value
843 given will override values from configuration files.
844 The
<name
> is expected in the same format as listed by
845 <em>git config
</em> (subkeys separated by dots).
847 <div class=
"paragraph"><p>Note that omitting the
<code>=
</code> in
<code>git -c foo.bar ...
</code> is allowed and sets
848 <code>foo.bar
</code> to the boolean true value (just like
<code>[foo]bar
</code> would in a
849 config file). Including the equals but with an empty value (like
<code>git -c
850 foo.bar= ...
</code>) sets
<code>foo.bar
</code> to the empty string which
<code>git config
851 --type=bool
</code> will convert to
<code>false
</code>.
</p></div>
854 --config-env=
<name
>=
<envvar
>
858 Like
<code>-c
<name
>=
<value
></code>, give configuration variable
859 <em><name
></em> a value, where
<envvar
> is the name of an
860 environment variable from which to retrieve the value. Unlike
861 <code>-c
</code> there is no shortcut for directly setting the value to an
862 empty string, instead the environment variable itself must be
863 set to the empty string. It is an error if the
<code><envvar
></code> does not exist
864 in the environment.
<code><envvar
></code> may not contain an equals sign
865 to avoid ambiguity with
<code><name
></code> containing one.
867 <div class=
"paragraph"><p>This is useful for cases where you want to pass transitory
868 configuration options to git, but are doing so on operating systems
869 where other processes might be able to read your command line
870 (e.g.
<code>/proc/self/cmdline
</code>), but not your environment
871 (e.g.
<code>/proc/self/environ
</code>). That behavior is the default on
872 Linux, but may not be on your system.
</p></div>
873 <div class=
"paragraph"><p>Note that this might add security for variables such as
874 <code>http.extraHeader
</code> where the sensitive information is part of
875 the value, but not e.g.
<code>url.
<base
>.insteadOf
</code> where the
876 sensitive information can be part of the key.
</p></div>
879 --exec-path[=
<path
>]
883 Path to wherever your core Git programs are installed.
884 This can also be controlled by setting the GIT_EXEC_PATH
885 environment variable. If no path is given,
<em>git
</em> will print
886 the current setting and then exit.
894 Print the path, without trailing slash, where Git
’s HTML
895 documentation is installed and exit.
903 Print the manpath (see
<code>man(
1)
</code>) for the man pages for
904 this version of Git and exit.
912 Print the path where the Info files documenting this
913 version of Git are installed and exit.
924 Pipe all output into
<em>less
</em> (or if set, $PAGER) if standard
925 output is a terminal. This overrides the
<code>pager.
<cmd
></code>
926 configuration options (see the
"Configuration Mechanism" section
938 Do not pipe Git output into a pager.
942 --git-dir=
<path
>
946 Set the path to the repository (
".git" directory). This can also be
947 controlled by setting the
<code>GIT_DIR
</code> environment variable. It can be
948 an absolute path or relative path to current working directory.
950 <div class=
"paragraph"><p>Specifying the location of the
".git" directory using this
951 option (or
<code>GIT_DIR
</code> environment variable) turns off the
952 repository discovery that tries to find a directory with
953 ".git" subdirectory (which is how the repository and the
954 top-level of the working tree are discovered), and tells Git
955 that you are at the top level of the working tree. If you
956 are not at the top-level directory of the working tree, you
957 should tell Git where the top-level of the working tree is,
958 with the
<code>--work-tree=
<path
></code> option (or
<code>GIT_WORK_TREE
</code>
959 environment variable)
</p></div>
960 <div class=
"paragraph"><p>If you just want to run git as if it was started in
<code><path
></code> then use
961 <code>git -C
<path
></code>.
</p></div>
964 --work-tree=
<path
>
968 Set the path to the working tree. It can be an absolute path
969 or a path relative to the current working directory.
970 This can also be controlled by setting the GIT_WORK_TREE
971 environment variable and the core.worktree configuration
972 variable (see core.worktree in
<a href=
"git-config.html">git-config(
1)
</a> for a
973 more detailed discussion).
977 --namespace=
<path
>
981 Set the Git namespace. See
<a href=
"gitnamespaces.html">gitnamespaces(
7)
</a> for more
982 details. Equivalent to setting the
<code>GIT_NAMESPACE
</code> environment
991 Treat the repository as a bare repository. If GIT_DIR
992 environment is not set, it is set to the current working
1001 Do not use replacement refs to replace Git objects.
1002 This is equivalent to exporting the
<code>GIT_NO_REPLACE_OBJECTS
</code>
1003 environment variable with any value.
1004 See
<a href=
"git-replace.html">git-replace(
1)
</a> for more information.
1007 <dt class=
"hdlist1">
1012 Do not fetch missing objects from the promisor remote on
1013 demand. Useful together with
<code>git cat-file -e
<object
></code> to
1014 see if the object is locally available.
1015 This is equivalent to setting the
<code>GIT_NO_LAZY_FETCH
</code>
1016 environment variable to
<code>1</code>.
1019 <dt class=
"hdlist1">
1024 Treat pathspecs literally (i.e. no globbing, no pathspec magic).
1025 This is equivalent to setting the
<code>GIT_LITERAL_PATHSPECS
</code> environment
1026 variable to
<code>1</code>.
1029 <dt class=
"hdlist1">
1034 Add
"glob" magic to all pathspec. This is equivalent to setting
1035 the
<code>GIT_GLOB_PATHSPECS
</code> environment variable to
<code>1</code>. Disabling
1036 globbing on individual pathspecs can be done using pathspec
1040 <dt class=
"hdlist1">
1045 Add
"literal" magic to all pathspec. This is equivalent to setting
1046 the
<code>GIT_NOGLOB_PATHSPECS
</code> environment variable to
<code>1</code>. Enabling
1047 globbing on individual pathspecs can be done using pathspec
1051 <dt class=
"hdlist1">
1056 Add
"icase" magic to all pathspec. This is equivalent to setting
1057 the
<code>GIT_ICASE_PATHSPECS
</code> environment variable to
<code>1</code>.
1060 <dt class=
"hdlist1">
1065 Do not perform optional operations that require locks. This is
1066 equivalent to setting the
<code>GIT_OPTIONAL_LOCKS
</code> to
<code>0</code>.
1069 <dt class=
"hdlist1">
1070 --list-cmds=
<group
>[,
<group
>…]
1074 List commands by group. This is an internal/experimental
1075 option and may change or be removed in the future. Supported
1076 groups are: builtins, parseopt (builtin commands that use
1077 parse-options), main (all commands in libexec directory),
1078 others (all other commands in
<code>$PATH
</code> that have git- prefix),
1079 list-
<category
> (see categories in command-list.txt),
1080 nohelpers (exclude helper commands), alias and config
1081 (retrieve command list from config variable completion.commands)
1084 <dt class=
"hdlist1">
1085 --attr-source=
<tree-ish
>
1089 Read gitattributes from
<tree-ish
> instead of the worktree. See
1090 <a href=
"gitattributes.html">gitattributes(
5)
</a>. This is equivalent to setting the
1091 <code>GIT_ATTR_SOURCE
</code> environment variable.
1098 <h2 id=
"_git_commands">GIT COMMANDS
</h2>
1099 <div class=
"sectionbody">
1100 <div class=
"paragraph"><p>We divide Git into high level (
"porcelain") commands and low level
1101 (
"plumbing") commands.
</p></div>
1105 <h2 id=
"_high_level_commands_porcelain">High-level commands (porcelain)
</h2>
1106 <div class=
"sectionbody">
1107 <div class=
"paragraph"><p>We separate the porcelain commands into the main commands and some
1108 ancillary user utilities.
</p></div>
1110 <h3 id=
"_main_porcelain_commands">Main porcelain commands
</h3>
1111 <div class=
"dlist"><dl>
1112 <dt class=
"hdlist1">
1113 <a href=
"git-add.html">git-add(
1)
</a>
1117 Add file contents to the index.
1120 <dt class=
"hdlist1">
1121 <a href=
"git-am.html">git-am(
1)
</a>
1125 Apply a series of patches from a mailbox.
1128 <dt class=
"hdlist1">
1129 <a href=
"git-archive.html">git-archive(
1)
</a>
1133 Create an archive of files from a named tree.
1136 <dt class=
"hdlist1">
1137 <a href=
"git-bisect.html">git-bisect(
1)
</a>
1141 Use binary search to find the commit that introduced a bug.
1144 <dt class=
"hdlist1">
1145 <a href=
"git-branch.html">git-branch(
1)
</a>
1149 List, create, or delete branches.
1152 <dt class=
"hdlist1">
1153 <a href=
"git-bundle.html">git-bundle(
1)
</a>
1157 Move objects and refs by archive.
1160 <dt class=
"hdlist1">
1161 <a href=
"git-checkout.html">git-checkout(
1)
</a>
1165 Switch branches or restore working tree files.
1168 <dt class=
"hdlist1">
1169 <a href=
"git-cherry-pick.html">git-cherry-pick(
1)
</a>
1173 Apply the changes introduced by some existing commits.
1176 <dt class=
"hdlist1">
1177 <a href=
"git-citool.html">git-citool(
1)
</a>
1181 Graphical alternative to git-commit.
1184 <dt class=
"hdlist1">
1185 <a href=
"git-clean.html">git-clean(
1)
</a>
1189 Remove untracked files from the working tree.
1192 <dt class=
"hdlist1">
1193 <a href=
"git-clone.html">git-clone(
1)
</a>
1197 Clone a repository into a new directory.
1200 <dt class=
"hdlist1">
1201 <a href=
"git-commit.html">git-commit(
1)
</a>
1205 Record changes to the repository.
1208 <dt class=
"hdlist1">
1209 <a href=
"git-describe.html">git-describe(
1)
</a>
1213 Give an object a human readable name based on an available ref.
1216 <dt class=
"hdlist1">
1217 <a href=
"git-diff.html">git-diff(
1)
</a>
1221 Show changes between commits, commit and working tree, etc.
1224 <dt class=
"hdlist1">
1225 <a href=
"git-fetch.html">git-fetch(
1)
</a>
1229 Download objects and refs from another repository.
1232 <dt class=
"hdlist1">
1233 <a href=
"git-format-patch.html">git-format-patch(
1)
</a>
1237 Prepare patches for e-mail submission.
1240 <dt class=
"hdlist1">
1241 <a href=
"git-gc.html">git-gc(
1)
</a>
1245 Cleanup unnecessary files and optimize the local repository.
1248 <dt class=
"hdlist1">
1249 <a href=
"git-grep.html">git-grep(
1)
</a>
1253 Print lines matching a pattern.
1256 <dt class=
"hdlist1">
1257 <a href=
"git-gui.html">git-gui(
1)
</a>
1261 A portable graphical interface to Git.
1264 <dt class=
"hdlist1">
1265 <a href=
"git-init.html">git-init(
1)
</a>
1269 Create an empty Git repository or reinitialize an existing one.
1272 <dt class=
"hdlist1">
1273 <a href=
"git-log.html">git-log(
1)
</a>
1280 <dt class=
"hdlist1">
1281 <a href=
"git-maintenance.html">git-maintenance(
1)
</a>
1285 Run tasks to optimize Git repository data.
1288 <dt class=
"hdlist1">
1289 <a href=
"git-merge.html">git-merge(
1)
</a>
1293 Join two or more development histories together.
1296 <dt class=
"hdlist1">
1297 <a href=
"git-mv.html">git-mv(
1)
</a>
1301 Move or rename a file, a directory, or a symlink.
1304 <dt class=
"hdlist1">
1305 <a href=
"git-notes.html">git-notes(
1)
</a>
1309 Add or inspect object notes.
1312 <dt class=
"hdlist1">
1313 <a href=
"git-pull.html">git-pull(
1)
</a>
1317 Fetch from and integrate with another repository or a local branch.
1320 <dt class=
"hdlist1">
1321 <a href=
"git-push.html">git-push(
1)
</a>
1325 Update remote refs along with associated objects.
1328 <dt class=
"hdlist1">
1329 <a href=
"git-range-diff.html">git-range-diff(
1)
</a>
1333 Compare two commit ranges (e.g. two versions of a branch).
1336 <dt class=
"hdlist1">
1337 <a href=
"git-rebase.html">git-rebase(
1)
</a>
1341 Reapply commits on top of another base tip.
1344 <dt class=
"hdlist1">
1345 <a href=
"git-reset.html">git-reset(
1)
</a>
1349 Reset current HEAD to the specified state.
1352 <dt class=
"hdlist1">
1353 <a href=
"git-restore.html">git-restore(
1)
</a>
1357 Restore working tree files.
1360 <dt class=
"hdlist1">
1361 <a href=
"git-revert.html">git-revert(
1)
</a>
1365 Revert some existing commits.
1368 <dt class=
"hdlist1">
1369 <a href=
"git-rm.html">git-rm(
1)
</a>
1373 Remove files from the working tree and from the index.
1376 <dt class=
"hdlist1">
1377 <a href=
"git-shortlog.html">git-shortlog(
1)
</a>
1381 Summarize
<em>git log
</em> output.
1384 <dt class=
"hdlist1">
1385 <a href=
"git-show.html">git-show(
1)
</a>
1389 Show various types of objects.
1392 <dt class=
"hdlist1">
1393 <a href=
"git-sparse-checkout.html">git-sparse-checkout(
1)
</a>
1397 Reduce your working tree to a subset of tracked files.
1400 <dt class=
"hdlist1">
1401 <a href=
"git-stash.html">git-stash(
1)
</a>
1405 Stash the changes in a dirty working directory away.
1408 <dt class=
"hdlist1">
1409 <a href=
"git-status.html">git-status(
1)
</a>
1413 Show the working tree status.
1416 <dt class=
"hdlist1">
1417 <a href=
"git-submodule.html">git-submodule(
1)
</a>
1421 Initialize, update or inspect submodules.
1424 <dt class=
"hdlist1">
1425 <a href=
"git-switch.html">git-switch(
1)
</a>
1432 <dt class=
"hdlist1">
1433 <a href=
"git-tag.html">git-tag(
1)
</a>
1437 Create, list, delete or verify a tag object signed with GPG.
1440 <dt class=
"hdlist1">
1441 <a href=
"git-worktree.html">git-worktree(
1)
</a>
1445 Manage multiple working trees.
1448 <dt class=
"hdlist1">
1449 <a href=
"gitk.html">gitk(
1)
</a>
1453 The Git repository browser.
1456 <dt class=
"hdlist1">
1457 <a href=
"scalar.html">scalar(
1)
</a>
1461 A tool for managing large Git repositories.
1467 <h3 id=
"_ancillary_commands">Ancillary Commands
</h3>
1468 <div class=
"paragraph"><p>Manipulators:
</p></div>
1469 <div class=
"dlist"><dl>
1470 <dt class=
"hdlist1">
1471 <a href=
"git-config.html">git-config(
1)
</a>
1475 Get and set repository or global options.
1478 <dt class=
"hdlist1">
1479 <a href=
"git-fast-export.html">git-fast-export(
1)
</a>
1486 <dt class=
"hdlist1">
1487 <a href=
"git-fast-import.html">git-fast-import(
1)
</a>
1491 Backend for fast Git data importers.
1494 <dt class=
"hdlist1">
1495 <a href=
"git-filter-branch.html">git-filter-branch(
1)
</a>
1502 <dt class=
"hdlist1">
1503 <a href=
"git-mergetool.html">git-mergetool(
1)
</a>
1507 Run merge conflict resolution tools to resolve merge conflicts.
1510 <dt class=
"hdlist1">
1511 <a href=
"git-pack-refs.html">git-pack-refs(
1)
</a>
1515 Pack heads and tags for efficient repository access.
1518 <dt class=
"hdlist1">
1519 <a href=
"git-prune.html">git-prune(
1)
</a>
1523 Prune all unreachable objects from the object database.
1526 <dt class=
"hdlist1">
1527 <a href=
"git-reflog.html">git-reflog(
1)
</a>
1531 Manage reflog information.
1534 <dt class=
"hdlist1">
1535 <a href=
"git-remote.html">git-remote(
1)
</a>
1539 Manage set of tracked repositories.
1542 <dt class=
"hdlist1">
1543 <a href=
"git-repack.html">git-repack(
1)
</a>
1547 Pack unpacked objects in a repository.
1550 <dt class=
"hdlist1">
1551 <a href=
"git-replace.html">git-replace(
1)
</a>
1555 Create, list, delete refs to replace objects.
1559 <div class=
"paragraph"><p>Interrogators:
</p></div>
1560 <div class=
"dlist"><dl>
1561 <dt class=
"hdlist1">
1562 <a href=
"git-annotate.html">git-annotate(
1)
</a>
1566 Annotate file lines with commit information.
1569 <dt class=
"hdlist1">
1570 <a href=
"git-blame.html">git-blame(
1)
</a>
1574 Show what revision and author last modified each line of a file.
1577 <dt class=
"hdlist1">
1578 <a href=
"git-bugreport.html">git-bugreport(
1)
</a>
1582 Collect information for user to file a bug report.
1585 <dt class=
"hdlist1">
1586 <a href=
"git-count-objects.html">git-count-objects(
1)
</a>
1590 Count unpacked number of objects and their disk consumption.
1593 <dt class=
"hdlist1">
1594 <a href=
"git-diagnose.html">git-diagnose(
1)
</a>
1598 Generate a zip archive of diagnostic information.
1601 <dt class=
"hdlist1">
1602 <a href=
"git-difftool.html">git-difftool(
1)
</a>
1606 Show changes using common diff tools.
1609 <dt class=
"hdlist1">
1610 <a href=
"git-fsck.html">git-fsck(
1)
</a>
1614 Verifies the connectivity and validity of the objects in the database.
1617 <dt class=
"hdlist1">
1618 <a href=
"git-help.html">git-help(
1)
</a>
1622 Display help information about Git.
1625 <dt class=
"hdlist1">
1626 <a href=
"git-instaweb.html">git-instaweb(
1)
</a>
1630 Instantly browse your working repository in gitweb.
1633 <dt class=
"hdlist1">
1634 <a href=
"git-merge-tree.html">git-merge-tree(
1)
</a>
1638 Perform merge without touching index or working tree.
1641 <dt class=
"hdlist1">
1642 <a href=
"git-rerere.html">git-rerere(
1)
</a>
1646 Reuse recorded resolution of conflicted merges.
1649 <dt class=
"hdlist1">
1650 <a href=
"git-show-branch.html">git-show-branch(
1)
</a>
1654 Show branches and their commits.
1657 <dt class=
"hdlist1">
1658 <a href=
"git-verify-commit.html">git-verify-commit(
1)
</a>
1662 Check the GPG signature of commits.
1665 <dt class=
"hdlist1">
1666 <a href=
"git-verify-tag.html">git-verify-tag(
1)
</a>
1670 Check the GPG signature of tags.
1673 <dt class=
"hdlist1">
1674 <a href=
"git-version.html">git-version(
1)
</a>
1678 Display version information about Git.
1681 <dt class=
"hdlist1">
1682 <a href=
"git-whatchanged.html">git-whatchanged(
1)
</a>
1686 Show logs with differences each commit introduces.
1689 <dt class=
"hdlist1">
1690 <a href=
"gitweb.html">gitweb(
1)
</a>
1694 Git web interface (web frontend to Git repositories).
1700 <h3 id=
"_interacting_with_others">Interacting with Others
</h3>
1701 <div class=
"paragraph"><p>These commands are to interact with foreign SCM and with other
1702 people via patch over e-mail.
</p></div>
1703 <div class=
"dlist"><dl>
1704 <dt class=
"hdlist1">
1705 <a href=
"git-archimport.html">git-archimport(
1)
</a>
1709 Import a GNU Arch repository into Git.
1712 <dt class=
"hdlist1">
1713 <a href=
"git-cvsexportcommit.html">git-cvsexportcommit(
1)
</a>
1717 Export a single commit to a CVS checkout.
1720 <dt class=
"hdlist1">
1721 <a href=
"git-cvsimport.html">git-cvsimport(
1)
</a>
1725 Salvage your data out of another SCM people love to hate.
1728 <dt class=
"hdlist1">
1729 <a href=
"git-cvsserver.html">git-cvsserver(
1)
</a>
1733 A CVS server emulator for Git.
1736 <dt class=
"hdlist1">
1737 <a href=
"git-imap-send.html">git-imap-send(
1)
</a>
1741 Send a collection of patches from stdin to an IMAP folder.
1744 <dt class=
"hdlist1">
1745 <a href=
"git-p4.html">git-p4(
1)
</a>
1749 Import from and submit to Perforce repositories.
1752 <dt class=
"hdlist1">
1753 <a href=
"git-quiltimport.html">git-quiltimport(
1)
</a>
1757 Applies a quilt patchset onto the current branch.
1760 <dt class=
"hdlist1">
1761 <a href=
"git-request-pull.html">git-request-pull(
1)
</a>
1765 Generates a summary of pending changes.
1768 <dt class=
"hdlist1">
1769 <a href=
"git-send-email.html">git-send-email(
1)
</a>
1773 Send a collection of patches as emails.
1776 <dt class=
"hdlist1">
1777 <a href=
"git-svn.html">git-svn(
1)
</a>
1781 Bidirectional operation between a Subversion repository and Git.
1787 <h3 id=
"_reset_restore_and_revert">Reset, restore and revert
</h3>
1788 <div class=
"paragraph"><p>There are three commands with similar names:
<code>git reset
</code>,
1789 <code>git restore
</code> and
<code>git revert
</code>.
</p></div>
1790 <div class=
"ulist"><ul>
1793 <a href=
"git-revert.html">git-revert(
1)
</a> is about making a new commit that reverts the
1794 changes made by other commits.
1799 <a href=
"git-restore.html">git-restore(
1)
</a> is about restoring files in the working tree
1800 from either the index or another commit. This command does not
1801 update your branch. The command can also be used to restore files in
1802 the index from another commit.
1807 <a href=
"git-reset.html">git-reset(
1)
</a> is about updating your branch, moving the tip
1808 in order to add or remove commits from the branch. This operation
1809 changes the commit history.
1811 <div class=
"paragraph"><p><code>git reset
</code> can also be used to restore the index, overlapping with
1812 <code>git restore
</code>.
</p></div>
1819 <h2 id=
"_low_level_commands_plumbing">Low-level commands (plumbing)
</h2>
1820 <div class=
"sectionbody">
1821 <div class=
"paragraph"><p>Although Git includes its
1822 own porcelain layer, its low-level commands are sufficient to support
1823 development of alternative porcelains. Developers of such porcelains
1824 might start by reading about
<a href=
"git-update-index.html">git-update-index(
1)
</a> and
1825 <a href=
"git-read-tree.html">git-read-tree(
1)
</a>.
</p></div>
1826 <div class=
"paragraph"><p>The interface (input, output, set of options and the semantics)
1827 to these low-level commands are meant to be a lot more stable
1828 than Porcelain level commands, because these commands are
1829 primarily for scripted use. The interface to Porcelain commands
1830 on the other hand are subject to change in order to improve the
1831 end user experience.
</p></div>
1832 <div class=
"paragraph"><p>The following description divides
1833 the low-level commands into commands that manipulate objects (in
1834 the repository, index, and working tree), commands that interrogate and
1835 compare objects, and commands that move objects and references between
1836 repositories.
</p></div>
1838 <h3 id=
"_manipulation_commands">Manipulation commands
</h3>
1839 <div class=
"dlist"><dl>
1840 <dt class=
"hdlist1">
1841 <a href=
"git-apply.html">git-apply(
1)
</a>
1845 Apply a patch to files and/or to the index.
1848 <dt class=
"hdlist1">
1849 <a href=
"git-checkout-index.html">git-checkout-index(
1)
</a>
1853 Copy files from the index to the working tree.
1856 <dt class=
"hdlist1">
1857 <a href=
"git-commit-graph.html">git-commit-graph(
1)
</a>
1861 Write and verify Git commit-graph files.
1864 <dt class=
"hdlist1">
1865 <a href=
"git-commit-tree.html">git-commit-tree(
1)
</a>
1869 Create a new commit object.
1872 <dt class=
"hdlist1">
1873 <a href=
"git-hash-object.html">git-hash-object(
1)
</a>
1877 Compute object ID and optionally create an object from a file.
1880 <dt class=
"hdlist1">
1881 <a href=
"git-index-pack.html">git-index-pack(
1)
</a>
1885 Build pack index file for an existing packed archive.
1888 <dt class=
"hdlist1">
1889 <a href=
"git-merge-file.html">git-merge-file(
1)
</a>
1893 Run a three-way file merge.
1896 <dt class=
"hdlist1">
1897 <a href=
"git-merge-index.html">git-merge-index(
1)
</a>
1901 Run a merge for files needing merging.
1904 <dt class=
"hdlist1">
1905 <a href=
"git-mktag.html">git-mktag(
1)
</a>
1909 Creates a tag object with extra validation.
1912 <dt class=
"hdlist1">
1913 <a href=
"git-mktree.html">git-mktree(
1)
</a>
1917 Build a tree-object from ls-tree formatted text.
1920 <dt class=
"hdlist1">
1921 <a href=
"git-multi-pack-index.html">git-multi-pack-index(
1)
</a>
1925 Write and verify multi-pack-indexes.
1928 <dt class=
"hdlist1">
1929 <a href=
"git-pack-objects.html">git-pack-objects(
1)
</a>
1933 Create a packed archive of objects.
1936 <dt class=
"hdlist1">
1937 <a href=
"git-prune-packed.html">git-prune-packed(
1)
</a>
1941 Remove extra objects that are already in pack files.
1944 <dt class=
"hdlist1">
1945 <a href=
"git-read-tree.html">git-read-tree(
1)
</a>
1949 Reads tree information into the index.
1952 <dt class=
"hdlist1">
1953 <a href=
"git-replay.html">git-replay(
1)
</a>
1957 EXPERIMENTAL: Replay commits on a new base, works with bare repos too.
1960 <dt class=
"hdlist1">
1961 <a href=
"git-symbolic-ref.html">git-symbolic-ref(
1)
</a>
1965 Read, modify and delete symbolic refs.
1968 <dt class=
"hdlist1">
1969 <a href=
"git-unpack-objects.html">git-unpack-objects(
1)
</a>
1973 Unpack objects from a packed archive.
1976 <dt class=
"hdlist1">
1977 <a href=
"git-update-index.html">git-update-index(
1)
</a>
1981 Register file contents in the working tree to the index.
1984 <dt class=
"hdlist1">
1985 <a href=
"git-update-ref.html">git-update-ref(
1)
</a>
1989 Update the object name stored in a ref safely.
1992 <dt class=
"hdlist1">
1993 <a href=
"git-write-tree.html">git-write-tree(
1)
</a>
1997 Create a tree object from the current index.
2003 <h3 id=
"_interrogation_commands">Interrogation commands
</h3>
2004 <div class=
"dlist"><dl>
2005 <dt class=
"hdlist1">
2006 <a href=
"git-cat-file.html">git-cat-file(
1)
</a>
2010 Provide contents or details of repository objects.
2013 <dt class=
"hdlist1">
2014 <a href=
"git-cherry.html">git-cherry(
1)
</a>
2018 Find commits yet to be applied to upstream.
2021 <dt class=
"hdlist1">
2022 <a href=
"git-diff-files.html">git-diff-files(
1)
</a>
2026 Compares files in the working tree and the index.
2029 <dt class=
"hdlist1">
2030 <a href=
"git-diff-index.html">git-diff-index(
1)
</a>
2034 Compare a tree to the working tree or index.
2037 <dt class=
"hdlist1">
2038 <a href=
"git-diff-tree.html">git-diff-tree(
1)
</a>
2042 Compares the content and mode of blobs found via two tree objects.
2045 <dt class=
"hdlist1">
2046 <a href=
"git-for-each-ref.html">git-for-each-ref(
1)
</a>
2050 Output information on each ref.
2053 <dt class=
"hdlist1">
2054 <a href=
"git-for-each-repo.html">git-for-each-repo(
1)
</a>
2058 Run a Git command on a list of repositories.
2061 <dt class=
"hdlist1">
2062 <a href=
"git-get-tar-commit-id.html">git-get-tar-commit-id(
1)
</a>
2066 Extract commit ID from an archive created using git-archive.
2069 <dt class=
"hdlist1">
2070 <a href=
"git-ls-files.html">git-ls-files(
1)
</a>
2074 Show information about files in the index and the working tree.
2077 <dt class=
"hdlist1">
2078 <a href=
"git-ls-remote.html">git-ls-remote(
1)
</a>
2082 List references in a remote repository.
2085 <dt class=
"hdlist1">
2086 <a href=
"git-ls-tree.html">git-ls-tree(
1)
</a>
2090 List the contents of a tree object.
2093 <dt class=
"hdlist1">
2094 <a href=
"git-merge-base.html">git-merge-base(
1)
</a>
2098 Find as good common ancestors as possible for a merge.
2101 <dt class=
"hdlist1">
2102 <a href=
"git-name-rev.html">git-name-rev(
1)
</a>
2106 Find symbolic names for given revs.
2109 <dt class=
"hdlist1">
2110 <a href=
"git-pack-redundant.html">git-pack-redundant(
1)
</a>
2114 Find redundant pack files.
2117 <dt class=
"hdlist1">
2118 <a href=
"git-rev-list.html">git-rev-list(
1)
</a>
2122 Lists commit objects in reverse chronological order.
2125 <dt class=
"hdlist1">
2126 <a href=
"git-rev-parse.html">git-rev-parse(
1)
</a>
2130 Pick out and massage parameters.
2133 <dt class=
"hdlist1">
2134 <a href=
"git-show-index.html">git-show-index(
1)
</a>
2138 Show packed archive index.
2141 <dt class=
"hdlist1">
2142 <a href=
"git-show-ref.html">git-show-ref(
1)
</a>
2146 List references in a local repository.
2149 <dt class=
"hdlist1">
2150 <a href=
"git-unpack-file.html">git-unpack-file(
1)
</a>
2154 Creates a temporary file with a blob
’s contents.
2157 <dt class=
"hdlist1">
2158 <a href=
"git-var.html">git-var(
1)
</a>
2162 Show a Git logical variable.
2165 <dt class=
"hdlist1">
2166 <a href=
"git-verify-pack.html">git-verify-pack(
1)
</a>
2170 Validate packed Git archive files.
2174 <div class=
"paragraph"><p>In general, the interrogate commands do not touch the files in
2175 the working tree.
</p></div>
2178 <h3 id=
"_syncing_repositories">Syncing repositories
</h3>
2179 <div class=
"dlist"><dl>
2180 <dt class=
"hdlist1">
2181 <a href=
"git-daemon.html">git-daemon(
1)
</a>
2185 A really simple server for Git repositories.
2188 <dt class=
"hdlist1">
2189 <a href=
"git-fetch-pack.html">git-fetch-pack(
1)
</a>
2193 Receive missing objects from another repository.
2196 <dt class=
"hdlist1">
2197 <a href=
"git-http-backend.html">git-http-backend(
1)
</a>
2201 Server side implementation of Git over HTTP.
2204 <dt class=
"hdlist1">
2205 <a href=
"git-send-pack.html">git-send-pack(
1)
</a>
2209 Push objects over Git protocol to another repository.
2212 <dt class=
"hdlist1">
2213 <a href=
"git-update-server-info.html">git-update-server-info(
1)
</a>
2217 Update auxiliary info file to help dumb servers.
2221 <div class=
"paragraph"><p>The following are helper commands used by the above; end users
2222 typically do not use them directly.
</p></div>
2223 <div class=
"dlist"><dl>
2224 <dt class=
"hdlist1">
2225 <a href=
"git-http-fetch.html">git-http-fetch(
1)
</a>
2229 Download from a remote Git repository via HTTP.
2232 <dt class=
"hdlist1">
2233 <a href=
"git-http-push.html">git-http-push(
1)
</a>
2237 Push objects over HTTP/DAV to another repository.
2240 <dt class=
"hdlist1">
2241 <a href=
"git-receive-pack.html">git-receive-pack(
1)
</a>
2245 Receive what is pushed into the repository.
2248 <dt class=
"hdlist1">
2249 <a href=
"git-shell.html">git-shell(
1)
</a>
2253 Restricted login shell for Git-only SSH access.
2256 <dt class=
"hdlist1">
2257 <a href=
"git-upload-archive.html">git-upload-archive(
1)
</a>
2261 Send archive back to git-archive.
2264 <dt class=
"hdlist1">
2265 <a href=
"git-upload-pack.html">git-upload-pack(
1)
</a>
2269 Send objects packed back to git-fetch-pack.
2275 <h3 id=
"_internal_helper_commands">Internal helper commands
</h3>
2276 <div class=
"paragraph"><p>These are internal helper commands used by other commands; end
2277 users typically do not use them directly.
</p></div>
2278 <div class=
"dlist"><dl>
2279 <dt class=
"hdlist1">
2280 <a href=
"git-check-attr.html">git-check-attr(
1)
</a>
2284 Display gitattributes information.
2287 <dt class=
"hdlist1">
2288 <a href=
"git-check-ignore.html">git-check-ignore(
1)
</a>
2292 Debug gitignore / exclude files.
2295 <dt class=
"hdlist1">
2296 <a href=
"git-check-mailmap.html">git-check-mailmap(
1)
</a>
2300 Show canonical names and email addresses of contacts.
2303 <dt class=
"hdlist1">
2304 <a href=
"git-check-ref-format.html">git-check-ref-format(
1)
</a>
2308 Ensures that a reference name is well formed.
2311 <dt class=
"hdlist1">
2312 <a href=
"git-column.html">git-column(
1)
</a>
2316 Display data in columns.
2319 <dt class=
"hdlist1">
2320 <a href=
"git-credential.html">git-credential(
1)
</a>
2324 Retrieve and store user credentials.
2327 <dt class=
"hdlist1">
2328 <a href=
"git-credential-cache.html">git-credential-cache(
1)
</a>
2332 Helper to temporarily store passwords in memory.
2335 <dt class=
"hdlist1">
2336 <a href=
"git-credential-store.html">git-credential-store(
1)
</a>
2340 Helper to store credentials on disk.
2343 <dt class=
"hdlist1">
2344 <a href=
"git-fmt-merge-msg.html">git-fmt-merge-msg(
1)
</a>
2348 Produce a merge commit message.
2351 <dt class=
"hdlist1">
2352 <a href=
"git-hook.html">git-hook(
1)
</a>
2359 <dt class=
"hdlist1">
2360 <a href=
"git-interpret-trailers.html">git-interpret-trailers(
1)
</a>
2364 Add or parse structured information in commit messages.
2367 <dt class=
"hdlist1">
2368 <a href=
"git-mailinfo.html">git-mailinfo(
1)
</a>
2372 Extracts patch and authorship from a single e-mail message.
2375 <dt class=
"hdlist1">
2376 <a href=
"git-mailsplit.html">git-mailsplit(
1)
</a>
2380 Simple UNIX mbox splitter program.
2383 <dt class=
"hdlist1">
2384 <a href=
"git-merge-one-file.html">git-merge-one-file(
1)
</a>
2388 The standard helper program to use with git-merge-index.
2391 <dt class=
"hdlist1">
2392 <a href=
"git-patch-id.html">git-patch-id(
1)
</a>
2396 Compute unique ID for a patch.
2399 <dt class=
"hdlist1">
2400 <a href=
"git-sh-i18n.html">git-sh-i18n(
1)
</a>
2404 Git
’s i18n setup code for shell scripts.
2407 <dt class=
"hdlist1">
2408 <a href=
"git-sh-setup.html">git-sh-setup(
1)
</a>
2412 Common Git shell script setup code.
2415 <dt class=
"hdlist1">
2416 <a href=
"git-stripspace.html">git-stripspace(
1)
</a>
2420 Remove unnecessary whitespace.
2428 <h2 id=
"_guides">Guides
</h2>
2429 <div class=
"sectionbody">
2430 <div class=
"paragraph"><p>The following documentation pages are guides about Git concepts.
</p></div>
2431 <div class=
"dlist"><dl>
2432 <dt class=
"hdlist1">
2433 <a href=
"gitcore-tutorial.html">gitcore-tutorial(
7)
</a>
2437 A Git core tutorial for developers.
2440 <dt class=
"hdlist1">
2441 <a href=
"gitcredentials.html">gitcredentials(
7)
</a>
2445 Providing usernames and passwords to Git.
2448 <dt class=
"hdlist1">
2449 <a href=
"gitcvs-migration.html">gitcvs-migration(
7)
</a>
2456 <dt class=
"hdlist1">
2457 <a href=
"gitdiffcore.html">gitdiffcore(
7)
</a>
2461 Tweaking diff output.
2464 <dt class=
"hdlist1">
2465 <a href=
"giteveryday.html">giteveryday(
7)
</a>
2469 A useful minimum set of commands for Everyday Git.
2472 <dt class=
"hdlist1">
2473 <a href=
"gitfaq.html">gitfaq(
7)
</a>
2477 Frequently asked questions about using Git.
2480 <dt class=
"hdlist1">
2481 <a href=
"gitglossary.html">gitglossary(
7)
</a>
2488 <dt class=
"hdlist1">
2489 <a href=
"gitnamespaces.html">gitnamespaces(
7)
</a>
2496 <dt class=
"hdlist1">
2497 <a href=
"gitremote-helpers.html">gitremote-helpers(
7)
</a>
2501 Helper programs to interact with remote repositories.
2504 <dt class=
"hdlist1">
2505 <a href=
"gitsubmodules.html">gitsubmodules(
7)
</a>
2509 Mounting one repository inside another.
2512 <dt class=
"hdlist1">
2513 <a href=
"gittutorial.html">gittutorial(
7)
</a>
2517 A tutorial introduction to Git.
2520 <dt class=
"hdlist1">
2521 <a href=
"gittutorial-2.html">gittutorial-
2(
7)
</a>
2525 A tutorial introduction to Git: part two.
2528 <dt class=
"hdlist1">
2529 <a href=
"gitworkflows.html">gitworkflows(
7)
</a>
2533 An overview of recommended workflows with Git.
2540 <h2 id=
"_repository_command_and_file_interfaces">Repository, command and file interfaces
</h2>
2541 <div class=
"sectionbody">
2542 <div class=
"paragraph"><p>This documentation discusses repository and command interfaces which
2543 users are expected to interact with directly. See
<code>--user-formats
</code> in
2544 <a href=
"git-help.html">git-help(
1)
</a> for more details on the criteria.
</p></div>
2545 <div class=
"dlist"><dl>
2546 <dt class=
"hdlist1">
2547 <a href=
"gitattributes.html">gitattributes(
5)
</a>
2551 Defining attributes per path.
2554 <dt class=
"hdlist1">
2555 <a href=
"gitcli.html">gitcli(
7)
</a>
2559 Git command-line interface and conventions.
2562 <dt class=
"hdlist1">
2563 <a href=
"githooks.html">githooks(
5)
</a>
2570 <dt class=
"hdlist1">
2571 <a href=
"gitignore.html">gitignore(
5)
</a>
2575 Specifies intentionally untracked files to ignore.
2578 <dt class=
"hdlist1">
2579 <a href=
"gitmailmap.html">gitmailmap(
5)
</a>
2583 Map author/committer names and/or E-Mail addresses.
2586 <dt class=
"hdlist1">
2587 <a href=
"gitmodules.html">gitmodules(
5)
</a>
2591 Defining submodule properties.
2594 <dt class=
"hdlist1">
2595 <a href=
"gitrepository-layout.html">gitrepository-layout(
5)
</a>
2599 Git Repository Layout.
2602 <dt class=
"hdlist1">
2603 <a href=
"gitrevisions.html">gitrevisions(
7)
</a>
2607 Specifying revisions and ranges for Git.
2614 <h2 id=
"_file_formats_protocols_and_other_developer_interfaces">File formats, protocols and other developer interfaces
</h2>
2615 <div class=
"sectionbody">
2616 <div class=
"paragraph"><p>This documentation discusses file formats, over-the-wire protocols and
2617 other git developer interfaces. See
<code>--developer-interfaces
</code> in
2618 <a href=
"git-help.html">git-help(
1)
</a>.
</p></div>
2619 <div class=
"dlist"><dl>
2620 <dt class=
"hdlist1">
2621 <a href=
"gitformat-bundle.html">gitformat-bundle(
5)
</a>
2625 The bundle file format.
2628 <dt class=
"hdlist1">
2629 <a href=
"gitformat-chunk.html">gitformat-chunk(
5)
</a>
2633 Chunk-based file formats.
2636 <dt class=
"hdlist1">
2637 <a href=
"gitformat-commit-graph.html">gitformat-commit-graph(
5)
</a>
2641 Git commit-graph format.
2644 <dt class=
"hdlist1">
2645 <a href=
"gitformat-index.html">gitformat-index(
5)
</a>
2652 <dt class=
"hdlist1">
2653 <a href=
"gitformat-pack.html">gitformat-pack(
5)
</a>
2660 <dt class=
"hdlist1">
2661 <a href=
"gitformat-signature.html">gitformat-signature(
5)
</a>
2665 Git cryptographic signature formats.
2668 <dt class=
"hdlist1">
2669 <a href=
"gitprotocol-capabilities.html">gitprotocol-capabilities(
5)
</a>
2673 Protocol v0 and v1 capabilities.
2676 <dt class=
"hdlist1">
2677 <a href=
"gitprotocol-common.html">gitprotocol-common(
5)
</a>
2681 Things common to various protocols.
2684 <dt class=
"hdlist1">
2685 <a href=
"gitprotocol-http.html">gitprotocol-http(
5)
</a>
2689 Git HTTP-based protocols.
2692 <dt class=
"hdlist1">
2693 <a href=
"gitprotocol-pack.html">gitprotocol-pack(
5)
</a>
2697 How packs are transferred over-the-wire.
2700 <dt class=
"hdlist1">
2701 <a href=
"gitprotocol-v2.html">gitprotocol-v2(
5)
</a>
2705 Git Wire Protocol, Version
2.
2712 <h2 id=
"_configuration_mechanism">Configuration Mechanism
</h2>
2713 <div class=
"sectionbody">
2714 <div class=
"paragraph"><p>Git uses a simple text format to store customizations that are per
2715 repository and are per user. Such a configuration file may look
2716 like this:
</p></div>
2717 <div class=
"listingblock">
2718 <div class=
"content">
2720 # A '#' or ';' character indicates a comment.
2725 ; Don't trust file modes
2730 name =
"Junio C Hamano"
2731 email =
"gitster@pobox.com"</code></pre>
2733 <div class=
"paragraph"><p>Various commands read from the configuration file and adjust
2734 their operation accordingly. See
<a href=
"git-config.html">git-config(
1)
</a> for a
2735 list and more details about the configuration mechanism.
</p></div>
2739 <h2 id=
"_identifier_terminology">Identifier Terminology
</h2>
2740 <div class=
"sectionbody">
2741 <div class=
"dlist"><dl>
2742 <dt class=
"hdlist1">
2747 Indicates the object name for any type of object.
2750 <dt class=
"hdlist1">
2755 Indicates a blob object name.
2758 <dt class=
"hdlist1">
2763 Indicates a tree object name.
2766 <dt class=
"hdlist1">
2771 Indicates a commit object name.
2774 <dt class=
"hdlist1">
2779 Indicates a tree, commit or tag object name. A
2780 command that takes a
<tree-ish
> argument ultimately wants to
2781 operate on a
<tree
> object but automatically dereferences
2782 <commit
> and
<tag
> objects that point at a
<tree
>.
2785 <dt class=
"hdlist1">
2790 Indicates a commit or tag object name. A
2791 command that takes a
<commit-ish
> argument ultimately wants to
2792 operate on a
<commit
> object but automatically dereferences
2793 <tag
> objects that point at a
<commit
>.
2796 <dt class=
"hdlist1">
2801 Indicates that an object type is required.
2802 Currently one of:
<code>blob
</code>,
<code>tree
</code>,
<code>commit
</code>, or
<code>tag
</code>.
2805 <dt class=
"hdlist1">
2810 Indicates a filename - almost always relative to the
2811 root of the tree structure
<code>GIT_INDEX_FILE
</code> describes.
2818 <h2 id=
"_symbolic_identifiers">Symbolic Identifiers
</h2>
2819 <div class=
"sectionbody">
2820 <div class=
"paragraph"><p>Any Git command accepting any
<object
> can also use the following
2821 symbolic notation:
</p></div>
2822 <div class=
"dlist"><dl>
2823 <dt class=
"hdlist1">
2828 indicates the head of the current branch.
2831 <dt class=
"hdlist1">
2836 a valid tag
<em>name
</em>
2837 (i.e. a
<code>refs/tags/
<tag
></code> reference).
2840 <dt class=
"hdlist1">
2845 a valid head
<em>name
</em>
2846 (i.e. a
<code>refs/heads/
<head
></code> reference).
2850 <div class=
"paragraph"><p>For a more complete list of ways to spell object names, see
2851 "SPECIFYING REVISIONS" section in
<a href=
"gitrevisions.html">gitrevisions(
7)
</a>.
</p></div>
2855 <h2 id=
"_file_directory_structure">File/Directory Structure
</h2>
2856 <div class=
"sectionbody">
2857 <div class=
"paragraph"><p>Please see the
<a href=
"gitrepository-layout.html">gitrepository-layout(
5)
</a> document.
</p></div>
2858 <div class=
"paragraph"><p>Read
<a href=
"githooks.html">githooks(
5)
</a> for more details about each hook.
</p></div>
2859 <div class=
"paragraph"><p>Higher level SCMs may provide and manage additional information in the
2860 <code>$GIT_DIR
</code>.
</p></div>
2864 <h2 id=
"_terminology">Terminology
</h2>
2865 <div class=
"sectionbody">
2866 <div class=
"paragraph"><p>Please see
<a href=
"gitglossary.html">gitglossary(
7)
</a>.
</p></div>
2870 <h2 id=
"_environment_variables">Environment Variables
</h2>
2871 <div class=
"sectionbody">
2872 <div class=
"paragraph"><p>Various Git commands pay attention to environment variables and change
2873 their behavior. The environment variables marked as
"Boolean" take
2874 their values the same way as Boolean valued configuration variables, e.g.
2875 "true",
"yes",
"on" and positive numbers are taken as
"yes".
</p></div>
2876 <div class=
"paragraph"><p>Here are the variables:
</p></div>
2878 <h3 id=
"_the_git_repository">The Git Repository
</h3>
2879 <div class=
"paragraph"><p>These environment variables apply to
<em>all
</em> core Git commands. Nb: it
2880 is worth noting that they may be used/overridden by SCMS sitting above
2881 Git so take care if using a foreign front-end.
</p></div>
2882 <div class=
"dlist"><dl>
2883 <dt class=
"hdlist1">
2884 <code>GIT_INDEX_FILE
</code>
2888 This environment variable specifies an alternate
2889 index file. If not specified, the default of
<code>$GIT_DIR/index
</code>
2893 <dt class=
"hdlist1">
2894 <code>GIT_INDEX_VERSION
</code>
2898 This environment variable specifies what index version is used
2899 when writing the index file out. It won
’t affect existing index
2900 files. By default index file version
2 or
3 is used. See
2901 <a href=
"git-update-index.html">git-update-index(
1)
</a> for more information.
2904 <dt class=
"hdlist1">
2905 <code>GIT_OBJECT_DIRECTORY
</code>
2909 If the object storage directory is specified via this
2910 environment variable then the sha1 directories are created
2911 underneath - otherwise the default
<code>$GIT_DIR/objects
</code>
2915 <dt class=
"hdlist1">
2916 <code>GIT_ALTERNATE_OBJECT_DIRECTORIES
</code>
2920 Due to the immutable nature of Git objects, old objects can be
2921 archived into shared, read-only directories. This variable
2922 specifies a
":" separated (on Windows
";" separated) list
2923 of Git object directories which can be used to search for Git
2924 objects. New objects will not be written to these directories.
2926 <div class=
"paragraph"><p>Entries that begin with
<code>"</code> (double-quote) will be interpreted
2927 as C-style quoted paths, removing leading and trailing
2928 double-quotes and respecting backslash escapes. E.g., the value
2929 <code>"path-with-\
"-and-:-in-it":vanilla-path
</code> has two paths:
2930 <code>path-with-
"-and-:-in-it</code> and <code>vanilla-path</code>.</p></div>
2932 <dt class="hdlist1
">
2933 <code>GIT_DIR</code>
2937 If the <code>GIT_DIR</code> environment variable is set then it
2938 specifies a path to use instead of the default <code>.git</code>
2939 for the base of the repository.
2940 The <code>--git-dir</code> command-line option also sets this value.
2943 <dt class="hdlist1
">
2944 <code>GIT_WORK_TREE</code>
2948 Set the path to the root of the working tree.
2949 This can also be controlled by the <code>--work-tree</code> command-line
2950 option and the core.worktree configuration variable.
2953 <dt class="hdlist1
">
2954 <code>GIT_NAMESPACE</code>
2958 Set the Git namespace; see <a href="gitnamespaces.html
">gitnamespaces(7)</a> for details.
2959 The <code>--namespace</code> command-line option also sets this value.
2962 <dt class="hdlist1
">
2963 <code>GIT_CEILING_DIRECTORIES</code>
2967 This should be a colon-separated list of absolute paths. If
2968 set, it is a list of directories that Git should not chdir up
2969 into while looking for a repository directory (useful for
2970 excluding slow-loading network directories). It will not
2971 exclude the current working directory or a GIT_DIR set on the
2972 command line or in the environment. Normally, Git has to read
2973 the entries in this list and resolve any symlink that
2974 might be present in order to compare them with the current
2975 directory. However, if even this access is slow, you
2976 can add an empty entry to the list to tell Git that the
2977 subsequent entries are not symlinks and needn’t be resolved;
2979 <code>GIT_CEILING_DIRECTORIES=/maybe/symlink::/very/slow/non/symlink</code>.
2982 <dt class="hdlist1
">
2983 <code>GIT_DISCOVERY_ACROSS_FILESYSTEM</code>
2987 When run in a directory that does not have ".git
" repository
2988 directory, Git tries to find such a directory in the parent
2989 directories to find the top of the working tree, but by default it
2990 does not cross filesystem boundaries. This Boolean environment variable
2991 can be set to true to tell Git not to stop at filesystem
2992 boundaries. Like <code>GIT_CEILING_DIRECTORIES</code>, this will not affect
2993 an explicit repository directory set via <code>GIT_DIR</code> or on the
2997 <dt class="hdlist1
">
2998 <code>GIT_COMMON_DIR</code>
3002 If this variable is set to a path, non-worktree files that are
3003 normally in $GIT_DIR will be taken from this path
3004 instead. Worktree-specific files such as HEAD or index are
3005 taken from $GIT_DIR. See <a href="gitrepository-layout.html
">gitrepository-layout(5)</a> and
3006 <a href="git-worktree.html
">git-worktree(1)</a> for
3007 details. This variable has lower precedence than other path
3008 variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY…
3011 <dt class="hdlist1
">
3012 <code>GIT_DEFAULT_HASH</code>
3016 If this variable is set, the default hash algorithm for new
3017 repositories will be set to this value. This value is
3018 ignored when cloning and the setting of the remote repository
3019 is always used. The default is "sha1
".
3020 See <code>--object-format</code> in <a href="git-init.html
">git-init(1)</a>.
3023 <dt class="hdlist1
">
3024 <code>GIT_DEFAULT_REF_FORMAT</code>
3028 If this variable is set, the default reference backend format for new
3029 repositories will be set to this value. The default is "files
".
3030 See <code>--ref-format</code> in <a href="git-init.html
">git-init(1)</a>.
3036 <h3 id="_git_commits
">Git Commits</h3>
3037 <div class="dlist
"><dl>
3038 <dt class="hdlist1
">
3039 <code>GIT_AUTHOR_NAME</code>
3043 The human-readable name used in the author identity when creating commit or
3044 tag objects, or when writing reflogs. Overrides the <code>user.name</code> and
3045 <code>author.name</code> configuration settings.
3048 <dt class="hdlist1
">
3049 <code>GIT_AUTHOR_EMAIL</code>
3053 The email address used in the author identity when creating commit or
3054 tag objects, or when writing reflogs. Overrides the <code>user.email</code> and
3055 <code>author.email</code> configuration settings.
3058 <dt class="hdlist1
">
3059 <code>GIT_AUTHOR_DATE</code>
3063 The date used for the author identity when creating commit or tag objects, or
3064 when writing reflogs. See <a href="git-commit.html
">git-commit(1)</a> for valid formats.
3067 <dt class="hdlist1
">
3068 <code>GIT_COMMITTER_NAME</code>
3072 The human-readable name used in the committer identity when creating commit or
3073 tag objects, or when writing reflogs. Overrides the <code>user.name</code> and
3074 <code>committer.name</code> configuration settings.
3077 <dt class="hdlist1
">
3078 <code>GIT_COMMITTER_EMAIL</code>
3082 The email address used in the author identity when creating commit or
3083 tag objects, or when writing reflogs. Overrides the <code>user.email</code> and
3084 <code>committer.email</code> configuration settings.
3087 <dt class="hdlist1
">
3088 <code>GIT_COMMITTER_DATE</code>
3092 The date used for the committer identity when creating commit or tag objects, or
3093 when writing reflogs. See <a href="git-commit.html
">git-commit(1)</a> for valid formats.
3096 <dt class="hdlist1
">
3101 The email address used in the author and committer identities if no other
3102 relevant environment variable or configuration setting has been set.
3108 <h3 id="_git_diffs
">Git Diffs</h3>
3109 <div class="dlist
"><dl>
3110 <dt class="hdlist1
">
3111 <code>GIT_DIFF_OPTS</code>
3115 Only valid setting is "--unified=??
" or "-u??
" to set the
3116 number of context lines shown when a unified diff is created.
3117 This takes precedence over any "-U
" or "--unified
" option
3118 value passed on the Git diff command line.
3121 <dt class="hdlist1
">
3122 <code>GIT_EXTERNAL_DIFF</code>
3126 When the environment variable <code>GIT_EXTERNAL_DIFF</code> is set, the
3127 program named by it is called to generate diffs, and Git
3128 does not use its builtin diff machinery.
3129 For a path that is added, removed, or modified,
3130 <code>GIT_EXTERNAL_DIFF</code> is called with 7 parameters:
3132 <div class="literalblock
">
3133 <div class="content
">
3134 <pre><code>path old-file old-hex old-mode new-file new-hex new-mode</code></pre>
3136 <div class="paragraph
"><p>where:</p></div>
3138 <dt class="hdlist1
">
3139 <old|new>-file
3143 are files GIT_EXTERNAL_DIFF can use to read the
3144 contents of <old|new>,
3147 <dt class="hdlist1
">
3152 are the 40-hexdigit SHA-1 hashes,
3155 <dt class="hdlist1
">
3156 <old|new>-mode
3160 are the octal representation of the file modes.
3162 <div class="paragraph
"><p>The file parameters can point at the user’s working file
3163 (e.g. <code>new-file</code> in "git-diff-files
"), <code>/dev/null</code> (e.g. <code>old-file</code>
3164 when a new file is added), or a temporary file (e.g. <code>old-file</code> in the
3165 index). <code>GIT_EXTERNAL_DIFF</code> should not worry about unlinking the
3166 temporary file — it is removed when <code>GIT_EXTERNAL_DIFF</code> exits.</p></div>
3167 <div class="paragraph
"><p>For a path that is unmerged, <code>GIT_EXTERNAL_DIFF</code> is called with 1
3168 parameter, <path>.</p></div>
3169 <div class="paragraph
"><p>For each path <code>GIT_EXTERNAL_DIFF</code> is called, two environment variables,
3170 <code>GIT_DIFF_PATH_COUNTER</code> and <code>GIT_DIFF_PATH_TOTAL</code> are set.</p></div>
3172 <dt class="hdlist1
">
3173 <code>GIT_DIFF_PATH_COUNTER</code>
3177 A 1-based counter incremented by one for every path.
3180 <dt class="hdlist1
">
3181 <code>GIT_DIFF_PATH_TOTAL</code>
3185 The total number of paths.
3191 <h3 id="_other
">other</h3>
3192 <div class="dlist
"><dl>
3193 <dt class="hdlist1
">
3194 <code>GIT_MERGE_VERBOSITY</code>
3198 A number controlling the amount of output shown by
3199 the recursive merge strategy. Overrides merge.verbosity.
3200 See <a href="git-merge.html
">git-merge(1)</a>
3203 <dt class="hdlist1
">
3204 <code>GIT_PAGER</code>
3208 This environment variable overrides <code>$PAGER</code>. If it is set
3209 to an empty string or to the value "cat
", Git will not launch
3210 a pager. See also the <code>core.pager</code> option in
3211 <a href="git-config.html
">git-config(1)</a>.
3214 <dt class="hdlist1
">
3215 <code>GIT_PROGRESS_DELAY</code>
3219 A number controlling how many seconds to delay before showing
3220 optional progress indicators. Defaults to 2.
3223 <dt class="hdlist1
">
3224 <code>GIT_EDITOR</code>
3228 This environment variable overrides <code>$EDITOR</code> and <code>$VISUAL</code>.
3229 It is used by several Git commands when, on interactive mode,
3230 an editor is to be launched. See also <a href="git-var.html
">git-var(1)</a>
3231 and the <code>core.editor</code> option in <a href="git-config.html
">git-config(1)</a>.
3234 <dt class="hdlist1
">
3235 <code>GIT_SEQUENCE_EDITOR</code>
3239 This environment variable overrides the configured Git editor
3240 when editing the todo list of an interactive rebase. See also
3241 <a href="git-rebase.html
">git-rebase(1)</a> and the <code>sequence.editor</code> option in
3242 <a href="git-config.html
">git-config(1)</a>.
3245 <dt class="hdlist1
">
3246 <code>GIT_SSH</code>
3248 <dt class="hdlist1
">
3249 <code>GIT_SSH_COMMAND</code>
3253 If either of these environment variables is set then <em>git fetch</em>
3254 and <em>git push</em> will use the specified command instead of <em>ssh</em>
3255 when they need to connect to a remote system.
3256 The command-line parameters passed to the configured command are
3257 determined by the ssh variant. See <code>ssh.variant</code> option in
3258 <a href="git-config.html
">git-config(1)</a> for details.
3260 <div class="paragraph
"><p><code>$GIT_SSH_COMMAND</code> takes precedence over <code>$GIT_SSH</code>, and is interpreted
3261 by the shell, which allows additional arguments to be included.
3262 <code>$GIT_SSH</code> on the other hand must be just the path to a program
3263 (which can be a wrapper shell script, if additional arguments are
3265 <div class="paragraph
"><p>Usually it is easier to configure any desired options through your
3266 personal <code>.ssh/config</code> file. Please consult your ssh documentation
3267 for further details.</p></div>
3269 <dt class="hdlist1
">
3270 <code>GIT_SSH_VARIANT</code>
3274 If this environment variable is set, it overrides Git’s autodetection
3275 whether <code>GIT_SSH</code>/<code>GIT_SSH_COMMAND</code>/<code>core.sshCommand</code> refer to OpenSSH,
3276 plink or tortoiseplink. This variable overrides the config setting
3277 <code>ssh.variant</code> that serves the same purpose.
3280 <dt class="hdlist1
">
3281 <code>GIT_SSL_NO_VERIFY</code>
3285 Setting and exporting this environment variable to any value
3286 tells Git not to verify the SSL certificate when fetching or
3290 <dt class="hdlist1
">
3291 <code>GIT_ATTR_SOURCE</code>
3295 Sets the treeish that gitattributes will be read from.
3298 <dt class="hdlist1
">
3299 <code>GIT_ASKPASS</code>
3303 If this environment variable is set, then Git commands which need to
3304 acquire passwords or passphrases (e.g. for HTTP or IMAP authentication)
3305 will call this program with a suitable prompt as command-line argument
3306 and read the password from its STDOUT. See also the <code>core.askPass</code>
3307 option in <a href="git-config.html
">git-config(1)</a>.
3310 <dt class="hdlist1
">
3311 <code>GIT_TERMINAL_PROMPT</code>
3315 If this Boolean environment variable is set to false, git will not prompt
3316 on the terminal (e.g., when asking for HTTP authentication).
3319 <dt class="hdlist1
">
3320 <code>GIT_CONFIG_GLOBAL</code>
3322 <dt class="hdlist1
">
3323 <code>GIT_CONFIG_SYSTEM</code>
3327 Take the configuration from the given files instead from global or
3328 system-level configuration files. If <code>GIT_CONFIG_SYSTEM</code> is set, the
3329 system config file defined at build time (usually <code>/etc/gitconfig</code>)
3330 will not be read. Likewise, if <code>GIT_CONFIG_GLOBAL</code> is set, neither
3331 <code>$HOME/.gitconfig</code> nor <code>$XDG_CONFIG_HOME/git/config</code> will be read. Can
3332 be set to <code>/dev/null</code> to skip reading configuration files of the
3336 <dt class="hdlist1
">
3337 <code>GIT_CONFIG_NOSYSTEM</code>
3341 Whether to skip reading settings from the system-wide
3342 <code>$(prefix)/etc/gitconfig</code> file. This Boolean environment variable can
3343 be used along with <code>$HOME</code> and <code>$XDG_CONFIG_HOME</code> to create a
3344 predictable environment for a picky script, or you can set it
3345 to true to temporarily avoid using a buggy <code>/etc/gitconfig</code> file while
3346 waiting for someone with sufficient permissions to fix it.
3349 <dt class="hdlist1
">
3350 <code>GIT_FLUSH</code>
3354 If this Boolean environment variable is set to true, then commands such
3355 as <em>git blame</em> (in incremental mode), <em>git rev-list</em>, <em>git log</em>,
3356 <em>git check-attr</em> and <em>git check-ignore</em> will
3357 force a flush of the output stream after each record have been
3359 variable is set to false, the output of these commands will be done
3360 using completely buffered I/O. If this environment variable is
3361 not set, Git will choose buffered or record-oriented flushing
3362 based on whether stdout appears to be redirected to a file or not.
3365 <dt class="hdlist1
">
3366 <code>GIT_TRACE</code>
3370 Enables general trace messages, e.g. alias expansion, built-in
3371 command execution and external command execution.
3373 <div class="paragraph
"><p>If this variable is set to "1", "2" or "true
" (comparison
3374 is case insensitive), trace messages will be printed to
3376 <div class="paragraph
"><p>If the variable is set to an integer value greater than 2
3377 and lower than 10 (strictly) then Git will interpret this
3378 value as an open file descriptor and will try to write the
3379 trace messages into this file descriptor.</p></div>
3380 <div class="paragraph
"><p>Alternatively, if the variable is set to an absolute path
3381 (starting with a <em>/</em> character), Git will interpret this
3382 as a file path and will try to append the trace messages
3384 <div class="paragraph
"><p>Unsetting the variable, or setting it to empty, "0" or
3385 "false
" (case insensitive) disables trace messages.</p></div>
3387 <dt class="hdlist1
">
3388 <code>GIT_TRACE_FSMONITOR</code>
3392 Enables trace messages for the filesystem monitor extension.
3393 See <code>GIT_TRACE</code> for available trace output options.
3396 <dt class="hdlist1
">
3397 <code>GIT_TRACE_PACK_ACCESS</code>
3401 Enables trace messages for all accesses to any packs. For each
3402 access, the pack file name and an offset in the pack is
3403 recorded. This may be helpful for troubleshooting some
3404 pack-related performance problems.
3405 See <code>GIT_TRACE</code> for available trace output options.
3408 <dt class="hdlist1
">
3409 <code>GIT_TRACE_PACKET</code>
3413 Enables trace messages for all packets coming in or out of a
3414 given program. This can help with debugging object negotiation
3415 or other protocol issues. Tracing is turned off at a packet
3416 starting with "PACK
" (but see <code>GIT_TRACE_PACKFILE</code> below).
3417 See <code>GIT_TRACE</code> for available trace output options.
3420 <dt class="hdlist1
">
3421 <code>GIT_TRACE_PACKFILE</code>
3425 Enables tracing of packfiles sent or received by a
3426 given program. Unlike other trace output, this trace is
3427 verbatim: no headers, and no quoting of binary data. You almost
3428 certainly want to direct into a file (e.g.,
3429 <code>GIT_TRACE_PACKFILE=/tmp/my.pack</code>) rather than displaying it on
3430 the terminal or mixing it with other trace output.
3432 <div class="paragraph
"><p>Note that this is currently only implemented for the client side
3433 of clones and fetches.</p></div>
3435 <dt class="hdlist1
">
3436 <code>GIT_TRACE_PERFORMANCE</code>
3440 Enables performance related trace messages, e.g. total execution
3441 time of each Git command.
3442 See <code>GIT_TRACE</code> for available trace output options.
3445 <dt class="hdlist1
">
3446 <code>GIT_TRACE_REFS</code>
3450 Enables trace messages for operations on the ref database.
3451 See <code>GIT_TRACE</code> for available trace output options.
3454 <dt class="hdlist1
">
3455 <code>GIT_TRACE_SETUP</code>
3459 Enables trace messages printing the .git, working tree and current
3460 working directory after Git has completed its setup phase.
3461 See <code>GIT_TRACE</code> for available trace output options.
3464 <dt class="hdlist1
">
3465 <code>GIT_TRACE_SHALLOW</code>
3469 Enables trace messages that can help debugging fetching /
3470 cloning of shallow repositories.
3471 See <code>GIT_TRACE</code> for available trace output options.
3474 <dt class="hdlist1
">
3475 <code>GIT_TRACE_CURL</code>
3479 Enables a curl full trace dump of all incoming and outgoing data,
3480 including descriptive information, of the git transport protocol.
3481 This is similar to doing curl <code>--trace-ascii</code> on the command line.
3482 See <code>GIT_TRACE</code> for available trace output options.
3485 <dt class="hdlist1
">
3486 <code>GIT_TRACE_CURL_NO_DATA</code>
3490 When a curl trace is enabled (see <code>GIT_TRACE_CURL</code> above), do not dump
3491 data (that is, only dump info lines and headers).
3494 <dt class="hdlist1
">
3495 <code>GIT_TRACE2</code>
3499 Enables more detailed trace messages from the "trace2
" library.
3500 Output from <code>GIT_TRACE2</code> is a simple text-based format for human
3503 <div class="paragraph
"><p>If this variable is set to "1", "2" or "true
" (comparison
3504 is case insensitive), trace messages will be printed to
3506 <div class="paragraph
"><p>If the variable is set to an integer value greater than 2
3507 and lower than 10 (strictly) then Git will interpret this
3508 value as an open file descriptor and will try to write the
3509 trace messages into this file descriptor.</p></div>
3510 <div class="paragraph
"><p>Alternatively, if the variable is set to an absolute path
3511 (starting with a <em>/</em> character), Git will interpret this
3512 as a file path and will try to append the trace messages
3513 to it. If the path already exists and is a directory, the
3514 trace messages will be written to files (one per process)
3515 in that directory, named according to the last component
3516 of the SID and an optional counter (to avoid filename
3517 collisions).</p></div>
3518 <div class="paragraph
"><p>In addition, if the variable is set to
3519 <code>af_unix:[<socket-type>:]<absolute-pathname></code>, Git will try
3520 to open the path as a Unix Domain Socket. The socket type
3521 can be either <code>stream</code> or <code>dgram</code>.</p></div>
3522 <div class="paragraph
"><p>Unsetting the variable, or setting it to empty, "0" or
3523 "false
" (case insensitive) disables trace messages.</p></div>
3524 <div class="paragraph
"><p>See <a href="technical/api-trace2.html
">Trace2 documentation</a>
3525 for full details.</p></div>
3527 <dt class="hdlist1
">
3528 <code>GIT_TRACE2_EVENT</code>
3532 This setting writes a JSON-based format that is suited for machine
3534 See <code>GIT_TRACE2</code> for available trace output options and
3535 <a href="technical/api-trace2.html
">Trace2 documentation</a> for full details.
3538 <dt class="hdlist1
">
3539 <code>GIT_TRACE2_PERF</code>
3543 In addition to the text-based messages available in <code>GIT_TRACE2</code>, this
3544 setting writes a column-based format for understanding nesting
3546 See <code>GIT_TRACE2</code> for available trace output options and
3547 <a href="technical/api-trace2.html
">Trace2 documentation</a> for full details.
3550 <dt class="hdlist1
">
3551 <code>GIT_TRACE_REDACT</code>
3555 By default, when tracing is activated, Git redacts the values of
3556 cookies, the "Authorization:
" header, the "Proxy-Authorization:
"
3557 header and packfile URIs. Set this Boolean environment variable to false to prevent this
3561 <dt class="hdlist1
">
3562 <code>GIT_NO_REPLACE_OBJECTS</code>
3566 Setting and exporting this environment variable tells Git to
3567 ignore replacement refs and do not replace Git objects.
3570 <dt class="hdlist1
">
3571 <code>GIT_LITERAL_PATHSPECS</code>
3575 Setting this Boolean environment variable to true will cause Git to treat all
3576 pathspecs literally, rather than as glob patterns. For example,
3577 running <code>GIT_LITERAL_PATHSPECS=1 git log -- '*.c'</code> will search
3578 for commits that touch the path <code>*.c</code>, not any paths that the
3579 glob <code>*.c</code> matches. You might want this if you are feeding
3580 literal paths to Git (e.g., paths previously given to you by
3581 <code>git ls-tree</code>, <code>--raw</code> diff output, etc).
3584 <dt class="hdlist1
">
3585 <code>GIT_GLOB_PATHSPECS</code>
3589 Setting this Boolean environment variable to true will cause Git to treat all
3590 pathspecs as glob patterns (aka "glob
" magic).
3593 <dt class="hdlist1
">
3594 <code>GIT_NOGLOB_PATHSPECS</code>
3598 Setting this Boolean environment variable to true will cause Git to treat all
3599 pathspecs as literal (aka "literal
" magic).
3602 <dt class="hdlist1
">
3603 <code>GIT_ICASE_PATHSPECS</code>
3607 Setting this Boolean environment variable to true will cause Git to treat all
3608 pathspecs as case-insensitive.
3611 <dt class="hdlist1
">
3612 <code>GIT_NO_LAZY_FETCH</code>
3616 Setting this Boolean environment variable to true tells Git
3617 not to lazily fetch missing objects from the promisor remote
3621 <dt class="hdlist1
">
3622 <code>GIT_REFLOG_ACTION</code>
3626 When a ref is updated, reflog entries are created to keep
3627 track of the reason why the ref was updated (which is
3628 typically the name of the high-level command that updated
3629 the ref), in addition to the old and new values of the ref.
3630 A scripted Porcelain command can use set_reflog_action
3631 helper function in <code>git-sh-setup</code> to set its name to this
3632 variable when it is invoked as the top level command by the
3633 end user, to be recorded in the body of the reflog.
3636 <dt class="hdlist1
">
3637 <code>GIT_REF_PARANOIA</code>
3641 If this Boolean environment variable is set to false, ignore broken or badly named refs when iterating
3642 over lists of refs. Normally Git will try to include any such
3643 refs, which may cause some operations to fail. This is usually
3644 preferable, as potentially destructive operations (e.g.,
3645 <a href="git-prune.html
">git-prune(1)</a>) are better off aborting rather than
3646 ignoring broken refs (and thus considering the history they
3647 point to as not worth saving). The default value is <code>1</code> (i.e.,
3648 be paranoid about detecting and aborting all operations). You
3649 should not normally need to set this to <code>0</code>, but it may be
3650 useful when trying to salvage data from a corrupted repository.
3653 <dt class="hdlist1
">
3654 <code>GIT_COMMIT_GRAPH_PARANOIA</code>
3658 When loading a commit object from the commit-graph, Git performs an
3659 existence check on the object in the object database. This is done to
3660 avoid issues with stale commit-graphs that contain references to
3661 already-deleted commits, but comes with a performance penalty.
3663 <div class="paragraph
"><p>The default is "false
", which disables the aforementioned behavior.
3664 Setting this to "true
" enables the existence check so that stale commits
3665 will never be returned from the commit-graph at the cost of performance.</p></div>
3667 <dt class="hdlist1
">
3668 <code>GIT_ALLOW_PROTOCOL</code>
3672 If set to a colon-separated list of protocols, behave as if
3673 <code>protocol.allow</code> is set to <code>never</code>, and each of the listed
3674 protocols has <code>protocol.<name>.allow</code> set to <code>always</code>
3675 (overriding any existing configuration). See the description of
3676 <code>protocol.allow</code> in <a href="git-config.html
">git-config(1)</a> for more details.
3679 <dt class="hdlist1
">
3680 <code>GIT_PROTOCOL_FROM_USER</code>
3684 Set this Boolean environment variable to false to prevent protocols used by fetch/push/clone which are
3685 configured to the <code>user</code> state. This is useful to restrict recursive
3686 submodule initialization from an untrusted repository or for programs
3687 which feed potentially-untrusted URLS to git commands. See
3688 <a href="git-config.html
">git-config(1)</a> for more details.
3691 <dt class="hdlist1
">
3692 <code>GIT_PROTOCOL</code>
3696 For internal use only. Used in handshaking the wire protocol.
3697 Contains a colon <em>:</em> separated list of keys with optional values
3698 <em>key[=value]</em>. Presence of unknown keys and values must be
3701 <div class="paragraph
"><p>Note that servers may need to be configured to allow this variable to
3702 pass over some transports. It will be propagated automatically when
3703 accessing local repositories (i.e., <code>file://</code> or a filesystem path), as
3704 well as over the <code>git://</code> protocol. For git-over-http, it should work
3705 automatically in most configurations, but see the discussion in
3706 <a href="git-http-backend.html
">git-http-backend(1)</a>. For git-over-ssh, the ssh server may need
3707 to be configured to allow clients to pass this variable (e.g., by using
3708 <code>AcceptEnv GIT_PROTOCOL</code> with OpenSSH).</p></div>
3709 <div class="paragraph
"><p>This configuration is optional. If the variable is not propagated, then
3710 clients will fall back to the original "v0
" protocol (but may miss out
3711 on some performance improvements or features). This variable currently
3712 only affects clones and fetches; it is not yet used for pushes (but may
3713 be in the future).</p></div>
3715 <dt class="hdlist1
">
3716 <code>GIT_OPTIONAL_LOCKS</code>
3720 If this Boolean environment variable is set to false, Git will complete any requested operation without
3721 performing any optional sub-operations that require taking a lock.
3722 For example, this will prevent <code>git status</code> from refreshing the
3723 index as a side effect. This is useful for processes running in
3724 the background which do not want to cause lock contention with
3725 other operations on the repository. Defaults to <code>1</code>.
3728 <dt class="hdlist1
">
3729 <code>GIT_REDIRECT_STDIN</code>
3731 <dt class="hdlist1
">
3732 <code>GIT_REDIRECT_STDOUT</code>
3734 <dt class="hdlist1
">
3735 <code>GIT_REDIRECT_STDERR</code>
3739 Windows-only: allow redirecting the standard input/output/error
3740 handles to paths specified by the environment variables. This is
3741 particularly useful in multi-threaded applications where the
3742 canonical way to pass standard handles via <code>CreateProcess()</code> is
3743 not an option because it would require the handles to be marked
3744 inheritable (and consequently <strong>every</strong> spawned process would
3745 inherit them, possibly blocking regular Git operations). The
3746 primary intended use case is to use named pipes for communication
3747 (e.g. <code>\\.\pipe\my-git-stdin-123</code>).
3749 <div class="paragraph
"><p>Two special values are supported: <code>off</code> will simply close the
3750 corresponding standard handle, and if <code>GIT_REDIRECT_STDERR</code> is
3751 <code>2>&1</code>, standard error will be redirected to the same handle as
3752 standard output.</p></div>
3754 <dt class="hdlist1
">
3755 <code>GIT_PRINT_SHA1_ELLIPSIS</code> (deprecated)
3759 If set to <code>yes</code>, print an ellipsis following an
3760 (abbreviated) SHA-1 value. This affects indications of
3761 detached HEADs (<a href="git-checkout.html
">git-checkout(1)</a>) and the raw
3762 diff output (<a href="git-diff.html
">git-diff(1)</a>). Printing an
3763 ellipsis in the cases mentioned is no longer considered
3764 adequate and support for it is likely to be removed in the
3765 foreseeable future (along with the variable).
3773 <h2 id="_discussion_a_id_discussion_a
">Discussion<a id="Discussion
"></a></h2>
3774 <div class="sectionbody
">
3775 <div class="paragraph
"><p>More detail on the following is available from the
3776 <a href="user-manual.html#git-concepts
">Git concepts chapter of the
3777 user-manual</a> and <a href="gitcore-tutorial.html
">gitcore-tutorial(7)</a>.</p></div>
3778 <div class="paragraph
"><p>A Git project normally consists of a working directory with a ".git
"
3779 subdirectory at the top level. The .git directory contains, among other
3780 things, a compressed object database representing the complete history
3781 of the project, an "index
" file which links that history to the current
3782 contents of the working tree, and named pointers into that history such
3783 as tags and branch heads.</p></div>
3784 <div class="paragraph
"><p>The object database contains objects of three main types: blobs, which
3785 hold file data; trees, which point to blobs and other trees to build up
3786 directory hierarchies; and commits, which each reference a single tree
3787 and some number of parent commits.</p></div>
3788 <div class="paragraph
"><p>The commit, equivalent to what other systems call a "changeset
" or
3789 "version
", represents a step in the project’s history, and each parent
3790 represents an immediately preceding step. Commits with more than one
3791 parent represent merges of independent lines of development.</p></div>
3792 <div class="paragraph
"><p>All objects are named by the SHA-1 hash of their contents, normally
3793 written as a string of 40 hex digits. Such names are globally unique.
3794 The entire history leading up to a commit can be vouched for by signing
3795 just that commit. A fourth object type, the tag, is provided for this
3797 <div class="paragraph
"><p>When first created, objects are stored in individual files, but for
3798 efficiency may later be compressed together into "pack files
".</p></div>
3799 <div class="paragraph
"><p>Named pointers called refs mark interesting points in history. A ref
3800 may contain the SHA-1 name of an object or the name of another ref (the
3801 latter is called a "symbolic ref
").
3802 Refs with names beginning <code>refs/head/</code> contain the SHA-1 name of the most
3803 recent commit (or "head
") of a branch under development. SHA-1 names of
3804 tags of interest are stored under <code>refs/tags/</code>. A symbolic ref named
3805 <code>HEAD</code> contains the name of the currently checked-out branch.</p></div>
3806 <div class="paragraph
"><p>The index file is initialized with a list of all paths and, for each
3807 path, a blob object and a set of attributes. The blob object represents
3808 the contents of the file as of the head of the current branch. The
3809 attributes (last modified time, size, etc.) are taken from the
3810 corresponding file in the working tree. Subsequent changes to the
3811 working tree can be found by comparing these attributes. The index may
3812 be updated with new content, and new commits may be created from the
3813 content stored in the index.</p></div>
3814 <div class="paragraph
"><p>The index is also capable of storing multiple entries (called "stages
")
3815 for a given pathname. These stages are used to hold the various
3816 unmerged version of a file when a merge is in progress.</p></div>
3820 <h2 id="_further_documentation
">FURTHER DOCUMENTATION</h2>
3821 <div class="sectionbody
">
3822 <div class="paragraph
"><p>See the references in the "description
" section to get started
3823 using Git. The following is probably more detail than necessary
3824 for a first-time user.</p></div>
3825 <div class="paragraph
"><p>The <a href="user-manual.html#git-concepts
">Git concepts chapter of the
3826 user-manual</a> and <a href="gitcore-tutorial.html
">gitcore-tutorial(7)</a> both provide
3827 introductions to the underlying Git architecture.</p></div>
3828 <div class="paragraph
"><p>See <a href="gitworkflows.html
">gitworkflows(7)</a> for an overview of recommended workflows.</p></div>
3829 <div class="paragraph
"><p>See also the <a href="howto-index.html
">howto</a> documents for some useful
3831 <div class="paragraph
"><p>The internals are documented in the
3832 <a href="technical/api-index.html
">Git API documentation</a>.</p></div>
3833 <div class="paragraph
"><p>Users migrating from CVS may also want to
3834 read <a href="gitcvs-migration.html
">gitcvs-migration(7)</a>.</p></div>
3838 <h2 id="_authors
">Authors</h2>
3839 <div class="sectionbody
">
3840 <div class="paragraph
"><p>Git was started by Linus Torvalds, and is currently maintained by Junio
3841 C Hamano. Numerous contributions have come from the Git mailing list
3842 <<a href="mailto:git@vger.kernel.org
">git@vger.kernel.org</a>>. <a href="https://openhub.net/p/git/contributors/summary
">https://openhub.net/p/git/contributors/summary</a>
3843 gives you a more complete list of contributors.</p></div>
3844 <div class="paragraph
"><p>If you have a clone of git.git itself, the
3845 output of <a href="git-shortlog.html
">git-shortlog(1)</a> and <a href="git-blame.html
">git-blame(1)</a> can show you
3846 the authors for specific parts of the project.</p></div>
3850 <h2 id="_reporting_bugs
">Reporting Bugs</h2>
3851 <div class="sectionbody
">
3852 <div class="paragraph
"><p>Report bugs to the Git mailing list <<a href="mailto:git@vger.kernel.org
">git@vger.kernel.org</a>> where the
3853 development and maintenance is primarily done. You do not have to be
3854 subscribed to the list to send a message there. See the list archive
3855 at <a href="https://lore.kernel.org/git
">https://lore.kernel.org/git</a> for previous bug reports and other
3856 discussions.</p></div>
3857 <div class="paragraph
"><p>Issues which are security relevant should be disclosed privately to
3858 the Git Security mailing list <<a href="mailto:git-security@googlegroups.com
">git-security@googlegroups.com</a>>.</p></div>
3862 <h2 id="_see_also
">SEE ALSO</h2>
3863 <div class="sectionbody
">
3864 <div class="paragraph
"><p><a href="gittutorial.html
">gittutorial(7)</a>, <a href="gittutorial-
2.html
">gittutorial-2(7)</a>,
3865 <a href="giteveryday.html
">giteveryday(7)</a>, <a href="gitcvs-migration.html
">gitcvs-migration(7)</a>,
3866 <a href="gitglossary.html
">gitglossary(7)</a>, <a href="gitcore-tutorial.html
">gitcore-tutorial(7)</a>,
3867 <a href="gitcli.html
">gitcli(7)</a>, <a href="user-manual.html
">The Git User’s Manual</a>,
3868 <a href="gitworkflows.html
">gitworkflows(7)</a></p></div>
3872 <h2 id="_git
">GIT</h2>
3873 <div class="sectionbody
">
3874 <div class="paragraph
"><p>Part of the <a href="git.html
">git(1)</a> suite</p></div>
3878 <div id="footnotes
"><hr /></div>
3880 <div id="footer-text
">
3882 2024-03-07 16:01:15 PST