CINXE.COM

Git - git Documentation

<!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Git - git Documentation</title> <link href="/favicon.ico" rel='shortcut icon' type='image/x-icon'> <link rel="stylesheet" href="/application.min.css"> <script src="/js/modernizr.js"></script> <script src="/js/modernize.js"></script> </head> <body id="documentation"> <div class="inner"> <header> <a href="/"><img src="/images/logo@2x.png" width="110" height="46" alt="Git" /></a> <span id="tagline"></span> <script type="text/javascript"> const taglines = [ "fast-version-control", "everything-is-local", "distributed-even-if-your-workflow-isnt", "local-branching-on-the-cheap", "distributed-is-the-new-centralized" ]; var tagline = taglines[Math.floor(Math.random() * taglines.length)]; document.getElementById('tagline').innerHTML = '--' + tagline; </script> <form id="search" action="/search/results"> <input id="search-text" name="search" placeholder="Type / to search entire site…" autocomplete="off" type="text" /> </form> <div id="search-results"></div> </header> </div> <div class="inner"> <div id="content-wrapper"> <div tabindex="1" class="sidebar-btn"></div> <aside class="sidebar" id="sidebar"> <nav> <ul> <li> <a href="/about">About</a> <ul> </ul> </li> <li> <a href="/doc" class="active">Documentation</a> <ul class="expanded"> <li> <a href="/docs" class="active">Reference</a> </li> <li> <a href="/book">Book</a> </li> <li> <a href="/videos">Videos</a> </li> <li> <a href="/doc/ext">External Links</a> </li> </ul> </li> <li> <a href="/downloads">Downloads</a> <ul > <li> <a href="/downloads/guis">GUI Clients</a> </li> <li> <a href="/downloads/logos">Logos</a> </li> </ul> </li> <li> <a href="/community">Community</a> </li> </ul> </nav> </aside> <div id="content"> <div id='reference-version'> <a class="dropdown-trigger" id="reference-languages-trigger" data-panel-id="l10n-versions-dropdown" href="#"> English ▾</a> <div class='dropdown-panel right' id='l10n-versions-dropdown'> <header>Localized versions of <strong>git</strong> manual</header> <ol class='reference-previous-versions'> <li> <a href="/docs/git"><span class="version">English</span> </a> </li> <li> <a href="/docs/git/de"><span class="version">Deutsch</span> </a> </li> <li> <a href="/docs/git/es"><span class="version">Español</span> </a> </li> <li> <a href="/docs/git/fr"><span class="version">Français</span> </a> </li> <li> <a href="/docs/git/pt_BR"><span class="version">Português (Brasil)</span> </a> </li> <li> <a href="/docs/git/zh_HANS-CN"><span class="version">简体中文</span> </a> </li> </ol> <footer> Want to read in your language or fix typos?<br/> <a href="https://github.com/jnavila/git-manpages-l10n">You can help translate this page</a>. </footer> </div> <a class="dropdown-trigger" id="reference-topics-trigger" data-panel-id="topics-dropdown" href="#">Topics ▾</a> <div class='dropdown-panel right' id='topics-dropdown'> <div class='three-column'> <div class='column-left'> <h3 class='setup'>Setup and Config</h3> <ul class='unstyled'> <li> <a href="/docs/git"> git </a> </li> <li> <a href="/docs/git-config"> config </a> </li> <li> <a href="/docs/git-help"> help </a> </li> <li> <a href="/docs/git-bugreport"> bugreport </a> </li> <li> <a href="/doc/credential-helpers"> Credential helpers </a> </li> </ul> <h3 class='projects'>Getting and Creating Projects</h3> <ul class='unstyled'> <li> <a href="/docs/git-init"> init </a> </li> <li> <a href="/docs/git-clone"> clone </a> </li> </ul> <h3 class='snapshotting'>Basic Snapshotting</h3> <ul class='unstyled'> <li> <a href="/docs/git-add"> add </a> </li> <li> <a href="/docs/git-status"> status </a> </li> <li> <a href="/docs/git-diff"> diff </a> </li> <li> <a href="/docs/git-commit"> commit </a> </li> <li> <a href="/docs/git-notes"> notes </a> </li> <li> <a href="/docs/git-restore"> restore </a> </li> <li> <a href="/docs/git-reset"> reset </a> </li> <li> <a href="/docs/git-rm"> rm </a> </li> <li> <a href="/docs/git-mv"> mv </a> </li> </ul> <h3 class='branching'>Branching and Merging</h3> <ul class='unstyled'> <li> <a href="/docs/git-branch"> branch </a> </li> <li> <a href="/docs/git-checkout"> checkout </a> </li> <li> <a href="/docs/git-switch"> switch </a> </li> <li> <a href="/docs/git-merge"> merge </a> </li> <li> <a href="/docs/git-mergetool"> mergetool </a> </li> <li> <a href="/docs/git-log"> log </a> </li> <li> <a href="/docs/git-stash"> stash </a> </li> <li> <a href="/docs/git-tag"> tag </a> </li> <li> <a href="/docs/git-worktree"> worktree </a> </li> </ul> <h3 class='sharing'>Sharing and Updating Projects</h3> <ul class='unstyled'> <li> <a href="/docs/git-fetch"> fetch </a> </li> <li> <a href="/docs/git-pull"> pull </a> </li> <li> <a href="/docs/git-push"> push </a> </li> <li> <a href="/docs/git-remote"> remote </a> </li> <li> <a href="/docs/git-submodule"> submodule </a> </li> </ul> </div> <div class='column-middle'> <h3 class='inspection'>Inspection and Comparison</h3> <ul class='unstyled'> <li> <a href="/docs/git-show"> show </a> </li> <li> <a href="/docs/git-log"> log </a> </li> <li> <a href="/docs/git-diff"> diff </a> </li> <li> <a href="/docs/git-difftool"> difftool </a> </li> <li> <a href="/docs/git-range-diff"> range-diff </a> </li> <li> <a href="/docs/git-shortlog"> shortlog </a> </li> <li> <a href="/docs/git-describe"> describe </a> </li> </ul> <h3 class='patching'>Patching</h3> <ul class='unstyled'> <li> <a href="/docs/git-apply"> apply </a> </li> <li> <a href="/docs/git-cherry-pick"> cherry-pick </a> </li> <li> <a href="/docs/git-diff"> diff </a> </li> <li> <a href="/docs/git-rebase"> rebase </a> </li> <li> <a href="/docs/git-revert"> revert </a> </li> </ul> <h3 class='debugging'>Debugging</h3> <ul class='unstyled'> <li> <a href="/docs/git-bisect"> bisect </a> </li> <li> <a href="/docs/git-blame"> blame </a> </li> <li> <a href="/docs/git-grep"> grep </a> </li> </ul> <h3 class='email'>Email</h3> <ul class='unstyled'> <li> <a href="/docs/git-am"> am </a> </li> <li> <a href="/docs/git-apply"> apply </a> </li> <li> <a href="/docs/git-format-patch"> format-patch </a> </li> <li> <a href="/docs/git-send-email"> send-email </a> </li> <li> <a href="/docs/git-request-pull"> request-pull </a> </li> </ul> <h3 class='external'>External Systems</h3> <ul class='unstyled'> <li> <a href="/docs/git-svn"> svn </a> </li> <li> <a href="/docs/git-fast-import"> fast-import </a> </li> </ul> <h3 class='server-admin'>Server Admin</h3> <ul class='unstyled'> <li> <a href="/docs/git-daemon"> daemon </a> </li> <li> <a href="/docs/git-update-server-info"> update-server-info </a> </li> </ul> </div> <div class='column-right'> <h3 class='guides'>Guides</h3> <ul class='unstyled'> <li> <a href="/docs/gitattributes"> gitattributes </a> </li> <li> <a href="/docs/gitcli"> Command-line interface conventions </a> </li> <li> <a href="/docs/giteveryday"> Everyday Git </a> </li> <li> <a href="/docs/gitfaq"> Frequently Asked Questions (FAQ) </a> </li> <li> <a href="/docs/gitglossary"> Glossary </a> </li> <li> <a href="/docs/githooks"> Hooks </a> </li> <li> <a href="/docs/gitignore"> gitignore </a> </li> <li> <a href="/docs/gitmodules"> gitmodules </a> </li> <li> <a href="/docs/gitrevisions"> Revisions </a> </li> <li> <a href="/docs/gitsubmodules"> Submodules </a> </li> <li> <a href="/docs/gittutorial"> Tutorial </a> </li> <li> <a href="/docs/gitworkflows"> Workflows </a> </li> <li> <a href="/docs/git#_guides"> All guides... </a> </li> </ul> <h3 class='admin'>Administration</h3> <ul class='unstyled'> <li> <a href="/docs/git-clean"> clean </a> </li> <li> <a href="/docs/git-gc"> gc </a> </li> <li> <a href="/docs/git-fsck"> fsck </a> </li> <li> <a href="/docs/git-reflog"> reflog </a> </li> <li> <a href="/docs/git-filter-branch"> filter-branch </a> </li> <li> <a href="/docs/git-instaweb"> instaweb </a> </li> <li> <a href="/docs/git-archive"> archive </a> </li> <li> <a href="/docs/git-bundle"> bundle </a> </li> </ul> <h3 class='plumbing'>Plumbing Commands</h3> <ul class='unstyled'> <li> <a href="/docs/git-cat-file"> cat-file </a> </li> <li> <a href="/docs/git-check-ignore"> check-ignore </a> </li> <li> <a href="/docs/git-checkout-index"> checkout-index </a> </li> <li> <a href="/docs/git-commit-tree"> commit-tree </a> </li> <li> <a href="/docs/git-count-objects"> count-objects </a> </li> <li> <a href="/docs/git-diff-index"> diff-index </a> </li> <li> <a href="/docs/git-for-each-ref"> for-each-ref </a> </li> <li> <a href="/docs/git-hash-object"> hash-object </a> </li> <li> <a href="/docs/git-ls-files"> ls-files </a> </li> <li> <a href="/docs/git-ls-tree"> ls-tree </a> </li> <li> <a href="/docs/git-merge-base"> merge-base </a> </li> <li> <a href="/docs/git-read-tree"> read-tree </a> </li> <li> <a href="/docs/git-rev-list"> rev-list </a> </li> <li> <a href="/docs/git-rev-parse"> rev-parse </a> </li> <li> <a href="/docs/git-show-ref"> show-ref </a> </li> <li> <a href="/docs/git-symbolic-ref"> symbolic-ref </a> </li> <li> <a href="/docs/git-update-index"> update-index </a> </li> <li> <a href="/docs/git-update-ref"> update-ref </a> </li> <li> <a href="/docs/git-verify-pack"> verify-pack </a> </li> <li> <a href="/docs/git-write-tree"> write-tree </a> </li> </ul> </div> </div> </div> <a class="dropdown-trigger" id="reference-versions-trigger" data-panel-id="previous-versions-dropdown" href="#"> Latest version ▾ </a> <span class="light d-flex">git last updated in 2.47.0</span> <div class='dropdown-panel left' id='previous-versions-dropdown'> <header>Changes in the <strong>git</strong> manual</header> <ol class='reference-previous-versions'> <li> <a href="/docs/git/2.47.0"><span class="version">2.47.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">10/06/24</em> </a> </li> <li class="no-change"><span>2.46.1 &rarr; 2.46.2 no changes</span></li> <li> <a href="/docs/git/2.46.0"><span class="version">2.46.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">07/29/24</em> </a> </li> <li class="no-change"><span>2.45.2 no changes</span></li> <li> <a href="/docs/git/2.45.1"><span class="version">2.45.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/29/24</em> </a> </li> <li> <a href="/docs/git/2.45.0"><span class="version">2.45.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/29/24</em> </a> </li> <li class="no-change"><span>2.44.2 no changes</span></li> <li> <a href="/docs/git/2.44.1"><span class="version">2.44.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li> <a href="/docs/git/2.44.0"><span class="version">2.44.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">02/23/24</em> </a> </li> <li class="no-change"><span>2.43.5 no changes</span></li> <li> <a href="/docs/git/2.43.4"><span class="version">2.43.4</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li class="no-change"><span>2.43.2 &rarr; 2.43.3 no changes</span></li> <li> <a href="/docs/git/2.43.1"><span class="version">2.43.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">02/09/24</em> </a> </li> <li> <a href="/docs/git/2.43.0"><span class="version">2.43.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">11/20/23</em> </a> </li> <li class="no-change"><span>2.42.3 no changes</span></li> <li> <a href="/docs/git/2.42.2"><span class="version">2.42.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li> <a href="/docs/git/2.42.1"><span class="version">2.42.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">11/02/23</em> </a> </li> <li> <a href="/docs/git/2.42.0"><span class="version">2.42.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">08/21/23</em> </a> </li> <li class="no-change"><span>2.41.2 no changes</span></li> <li> <a href="/docs/git/2.41.1"><span class="version">2.41.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li> <a href="/docs/git/2.41.0"><span class="version">2.41.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/01/23</em> </a> </li> <li class="no-change"><span>2.40.3 no changes</span></li> <li> <a href="/docs/git/2.40.2"><span class="version">2.40.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li class="no-change"><span>2.40.1 no changes</span></li> <li class="no-change"><span>2.40.0 no changes</span></li> <li class="no-change"><span>2.39.5 no changes</span></li> <li> <a href="/docs/git/2.39.4"><span class="version">2.39.4</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/19/24</em> </a> </li> <li class="no-change"><span>2.39.1 &rarr; 2.39.3 no changes</span></li> <li> <a href="/docs/git/2.39.0"><span class="version">2.39.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/12/22</em> </a> </li> <li class="no-change"><span>2.38.3 &rarr; 2.38.5 no changes</span></li> <li> <a href="/docs/git/2.38.2"><span class="version">2.38.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/11/22</em> </a> </li> <li class="no-change"><span>2.38.1 no changes</span></li> <li> <a href="/docs/git/2.38.0"><span class="version">2.38.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">10/02/22</em> </a> </li> <li class="no-change"><span>2.37.3 &rarr; 2.37.7 no changes</span></li> <li> <a href="/docs/git/2.37.2"><span class="version">2.37.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">08/11/22</em> </a> </li> <li class="no-change"><span>2.37.1 no changes</span></li> <li> <a href="/docs/git/2.37.0"><span class="version">2.37.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/27/22</em> </a> </li> <li class="no-change"><span>2.36.1 &rarr; 2.36.6 no changes</span></li> <li> <a href="/docs/git/2.36.0"><span class="version">2.36.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/18/22</em> </a> </li> <li class="no-change"><span>2.35.1 &rarr; 2.35.8 no changes</span></li> <li> <a href="/docs/git/2.35.0"><span class="version">2.35.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">01/24/22</em> </a> </li> <li class="no-change"><span>2.34.1 &rarr; 2.34.8 no changes</span></li> <li> <a href="/docs/git/2.34.0"><span class="version">2.34.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">11/15/21</em> </a> </li> <li class="no-change"><span>2.33.3 &rarr; 2.33.8 no changes</span></li> <li> <a href="/docs/git/2.33.2"><span class="version">2.33.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">03/23/22</em> </a> </li> <li> <a href="/docs/git/2.33.1"><span class="version">2.33.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">10/12/21</em> </a> </li> <li class="no-change"><span>2.32.1 &rarr; 2.33.0 no changes</span></li> <li> <a href="/docs/git/2.32.0"><span class="version">2.32.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/06/21</em> </a> </li> <li class="no-change"><span>2.31.1 &rarr; 2.31.8 no changes</span></li> <li> <a href="/docs/git/2.31.0"><span class="version">2.31.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">03/15/21</em> </a> </li> <li class="no-change"><span>2.30.1 &rarr; 2.30.9 no changes</span></li> <li> <a href="/docs/git/2.30.0"><span class="version">2.30.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/27/20</em> </a> </li> <li class="no-change"><span>2.29.1 &rarr; 2.29.3 no changes</span></li> <li> <a href="/docs/git/2.29.0"><span class="version">2.29.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">10/19/20</em> </a> </li> <li class="no-change"><span>2.28.1 no changes</span></li> <li> <a href="/docs/git/2.28.0"><span class="version">2.28.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">07/27/20</em> </a> </li> <li class="no-change"><span>2.27.1 no changes</span></li> <li> <a href="/docs/git/2.27.0"><span class="version">2.27.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/01/20</em> </a> </li> <li class="no-change"><span>2.26.1 &rarr; 2.26.3 no changes</span></li> <li> <a href="/docs/git/2.26.0"><span class="version">2.26.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">03/22/20</em> </a> </li> <li class="no-change"><span>2.25.2 &rarr; 2.25.5 no changes</span></li> <li> <a href="/docs/git/2.25.1"><span class="version">2.25.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">02/17/20</em> </a> </li> <li> <a href="/docs/git/2.25.0"><span class="version">2.25.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">01/13/20</em> </a> </li> <li class="no-change"><span>2.23.1 &rarr; 2.24.4 no changes</span></li> <li> <a href="/docs/git/2.23.0"><span class="version">2.23.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">08/16/19</em> </a> </li> <li class="no-change"><span>2.22.2 &rarr; 2.22.5 no changes</span></li> <li> <a href="/docs/git/2.22.1"><span class="version">2.22.1</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">08/11/19</em> </a> </li> <li> <a href="/docs/git/2.22.0"><span class="version">2.22.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/07/19</em> </a> </li> <li class="no-change"><span>2.20.1 &rarr; 2.21.4 no changes</span></li> <li> <a href="/docs/git/2.20.0"><span class="version">2.20.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/09/18</em> </a> </li> <li class="no-change"><span>2.19.3 &rarr; 2.19.6 no changes</span></li> <li> <a href="/docs/git/2.19.2"><span class="version">2.19.2</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">11/21/18</em> </a> </li> <li class="no-change"><span>2.19.1 no changes</span></li> <li> <a href="/docs/git/2.19.0"><span class="version">2.19.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/10/18</em> </a> </li> <li class="no-change"><span>2.18.1 &rarr; 2.18.5 no changes</span></li> <li> <a href="/docs/git/2.18.0"><span class="version">2.18.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">06/21/18</em> </a> </li> <li class="no-change"><span>2.17.1 &rarr; 2.17.6 no changes</span></li> <li> <a href="/docs/git/2.17.0"><span class="version">2.17.0</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">04/02/18</em> </a> </li> <li> <a href="/docs/git/2.16.6"><span class="version">2.16.6</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/06/19</em> </a> </li> <li> <a href="/docs/git/2.15.4"><span class="version">2.15.4</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/06/19</em> </a> </li> <li> <a href="/docs/git/2.14.6"><span class="version">2.14.6</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/06/19</em> </a> </li> <li class="no-change"><span>2.13.7 no changes</span></li> <li> <a href="/docs/git/2.12.5"><span class="version">2.12.5</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/22/17</em> </a> </li> <li> <a href="/docs/git/2.11.4"><span class="version">2.11.4</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/22/17</em> </a> </li> <li> <a href="/docs/git/2.10.5"><span class="version">2.10.5</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/22/17</em> </a> </li> <li> <a href="/docs/git/2.9.5"><span class="version">2.9.5</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">07/30/17</em> </a> </li> <li> <a href="/docs/git/2.8.6"><span class="version">2.8.6</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">07/30/17</em> </a> </li> <li> <a href="/docs/git/2.7.6"><span class="version">2.7.6</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">07/30/17</em> </a> </li> <li> <a href="/docs/git/2.6.7"><span class="version">2.6.7</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">05/05/17</em> </a> </li> <li> <a href="/docs/git/2.5.6"><span class="version">2.5.6</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">05/05/17</em> </a> </li> <li> <a href="/docs/git/2.4.12"><span class="version">2.4.12</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">05/05/17</em> </a> </li> <li> <a href="/docs/git/2.3.10"><span class="version">2.3.10</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/28/15</em> </a> </li> <li> <a href="/docs/git/2.2.3"><span class="version">2.2.3</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">09/04/15</em> </a> </li> <li> <a href="/docs/git/2.1.4"><span class="version">2.1.4</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/17/14</em> </a> </li> <li> <a href="/docs/git/2.0.5"><span class="version">2.0.5</span> <span class="diff"> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/green-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/red-dot.png" /> <img src="/images/icons/grey-dot.png" /> <img src="/images/icons/grey-dot.png" /> </span> <em class="date">12/17/14</em> </a> </li> <li>&nbsp;</li> </ol> <footer> <p>Check your version of git by running</p> <code class="command">git --version</code> </footer> </div> </div> <div id="main" data-pagefind-filter="category:reference" data-pagefind-meta="category:Reference" data-pagefind-weight="0.05" data-pagefind-body> <div class="sect1"> <h2 id="_name"><a class="anchor" href="#_name"></a>NAME</h2> <div class="sectionbody"> <div class="paragraph"> <p>git - the stupid content tracker</p> </div> </div> </div> <div class="sect1"> <h2 id="_synopsis"><a class="anchor" href="#_synopsis"></a>SYNOPSIS</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content"><em>git</em> [-v | --version] [-h | --help] [-C &lt;path&gt;] [-c &lt;name&gt;=&lt;value&gt;] [--exec-path[=&lt;path&gt;]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch] [--no-optional-locks] [--no-advice] [--bare] [--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;] [--config-env=&lt;name&gt;=&lt;envvar&gt;] &lt;command&gt; [&lt;args&gt;]</pre> </div> </div> </div> <div class="sect1"> <h2 id="_description"><a class="anchor" href="#_description"></a>DESCRIPTION</h2> <div class="sectionbody"> <div class="paragraph"> <p>Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.</p> </div> <div class="paragraph"> <p>See <a href='/docs/gittutorial'>gittutorial[7]</a> to get started, then see <a href='/docs/giteveryday'>giteveryday[7]</a> for a useful minimum set of commands. The <a href="/docs/user-manual">Git User&#8217;s Manual</a> has a more in-depth introduction.</p> </div> <div class="paragraph"> <p>After you mastered the basic concepts, you can come back to this page to learn what commands Git offers. You can learn more about individual Git commands with "git help command". <a href='/docs/gitcli'>gitcli[7]</a> manual page gives you an overview of the command-line command syntax.</p> </div> <div class="paragraph"> <p>A formatted and hyperlinked copy of the latest Git documentation can be viewed at <a href="https://git.github.io/htmldocs/git.html" class="bare">https://git.github.io/htmldocs/git.html</a> or <a href="https://git-scm.com/docs" class="bare">https://git-scm.com/docs</a>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_options"><a class="anchor" href="#_options"></a>OPTIONS</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt--v"> <a class="anchor" href="#Documentation/git.txt--v"></a>-v </dt> <dt class="hdlist1" id="Documentation/git.txt---version"> <a class="anchor" href="#Documentation/git.txt---version"></a>--version </dt> <dd> <p>Prints the Git suite version that the <em>git</em> program came from.</p> <div class="paragraph"> <p>This option is internally converted to <code>git version ...</code> and accepts the same options as the <a href='/docs/git-version'>git-version[1]</a> command. If <code>--help</code> is also given, it takes precedence over <code>--version</code>.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt--h"> <a class="anchor" href="#Documentation/git.txt--h"></a>-h </dt> <dt class="hdlist1" id="Documentation/git.txt---help"> <a class="anchor" href="#Documentation/git.txt---help"></a>--help </dt> <dd> <p>Prints the synopsis and a list of the most commonly used commands. If the option <code>--all</code> or <code>-a</code> is given then all available commands are printed. If a Git command is named this option will bring up the manual page for that command.</p> <div class="paragraph"> <p>Other options are available to control how the manual page is displayed. See <a href='/docs/git-help'>git-help[1]</a> for more information, because <code>git --help ...</code> is converted internally into <code>git help ...</code>.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt--Cltpathgt"> <a class="anchor" href="#Documentation/git.txt--Cltpathgt"></a>-C &lt;path&gt; </dt> <dd> <p>Run as if git was started in <em>&lt;path&gt;</em> instead of the current working directory. When multiple <code>-C</code> options are given, each subsequent non-absolute <code>-C &lt;path&gt;</code> is interpreted relative to the preceding <code>-C &lt;path&gt;</code>. If <em>&lt;path&gt;</em> is present but empty, e.g. <code>-C ""</code>, then the current working directory is left unchanged.</p> <div class="paragraph"> <p>This option affects options that expect path name like <code>--git-dir</code> and <code>--work-tree</code> in that their interpretations of the path names would be made relative to the working directory caused by the <code>-C</code> option. For example the following invocations are equivalent:</p> </div> <div class="literalblock"> <div class="content"> <pre>git --git-dir=a.git --work-tree=b -C c status git --git-dir=c/a.git --work-tree=c/b status</pre> </div> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt--cltnamegtltvaluegt"> <a class="anchor" href="#Documentation/git.txt--cltnamegtltvaluegt"></a>-c &lt;name&gt;=&lt;value&gt; </dt> <dd> <p>Pass a configuration parameter to the command. The value given will override values from configuration files. The &lt;name&gt; is expected in the same format as listed by <em>git config</em> (subkeys separated by dots).</p> <div class="paragraph"> <p>Note that omitting the <code>=</code> in <code>git -c foo.bar ...</code> is allowed and sets <code>foo.bar</code> to the boolean true value (just like <code>[foo]bar</code> would in a config file). Including the equals but with an empty value (like <code>git -c foo.bar= ...</code>) sets <code>foo.bar</code> to the empty string which <code>git config --type=bool</code> will convert to <code>false</code>.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt---config-envltnamegtltenvvargt"> <a class="anchor" href="#Documentation/git.txt---config-envltnamegtltenvvargt"></a>--config-env=&lt;name&gt;=&lt;envvar&gt; </dt> <dd> <p>Like <code>-c &lt;name&gt;=&lt;value&gt;</code>, give configuration variable <em>&lt;name&gt;</em> a value, where &lt;envvar&gt; is the name of an environment variable from which to retrieve the value. Unlike <code>-c</code> there is no shortcut for directly setting the value to an empty string, instead the environment variable itself must be set to the empty string. It is an error if the <code>&lt;envvar&gt;</code> does not exist in the environment. <code>&lt;envvar&gt;</code> may not contain an equals sign to avoid ambiguity with <code>&lt;name&gt;</code> containing one.</p> <div class="paragraph"> <p>This is useful for cases where you want to pass transitory configuration options to git, but are doing so on operating systems where other processes might be able to read your command line (e.g. <code>/proc/self/cmdline</code>), but not your environment (e.g. <code>/proc/self/environ</code>). That behavior is the default on Linux, but may not be on your system.</p> </div> <div class="paragraph"> <p>Note that this might add security for variables such as <code>http.extraHeader</code> where the sensitive information is part of the value, but not e.g. <code>url.&lt;base&gt;.insteadOf</code> where the sensitive information can be part of the key.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt---exec-pathltpathgt"> <a class="anchor" href="#Documentation/git.txt---exec-pathltpathgt"></a>--exec-path[=&lt;path&gt;] </dt> <dd> <p>Path to wherever your core Git programs are installed. This can also be controlled by setting the GIT_EXEC_PATH environment variable. If no path is given, <em>git</em> will print the current setting and then exit.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---html-path"> <a class="anchor" href="#Documentation/git.txt---html-path"></a>--html-path </dt> <dd> <p>Print the path, without trailing slash, where Git&#8217;s HTML documentation is installed and exit.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---man-path"> <a class="anchor" href="#Documentation/git.txt---man-path"></a>--man-path </dt> <dd> <p>Print the manpath (see <code>man(1)</code>) for the man pages for this version of Git and exit.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---info-path"> <a class="anchor" href="#Documentation/git.txt---info-path"></a>--info-path </dt> <dd> <p>Print the path where the Info files documenting this version of Git are installed and exit.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt--p"> <a class="anchor" href="#Documentation/git.txt--p"></a>-p </dt> <dt class="hdlist1" id="Documentation/git.txt---paginate"> <a class="anchor" href="#Documentation/git.txt---paginate"></a>--paginate </dt> <dd> <p>Pipe all output into <em>less</em> (or if set, $PAGER) if standard output is a terminal. This overrides the <code>pager.&lt;cmd&gt;</code> configuration options (see the "Configuration Mechanism" section below).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt--P"> <a class="anchor" href="#Documentation/git.txt--P"></a>-P </dt> <dt class="hdlist1" id="Documentation/git.txt---no-pager"> <a class="anchor" href="#Documentation/git.txt---no-pager"></a>--no-pager </dt> <dd> <p>Do not pipe Git output into a pager.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---git-dirltpathgt"> <a class="anchor" href="#Documentation/git.txt---git-dirltpathgt"></a>--git-dir=&lt;path&gt; </dt> <dd> <p>Set the path to the repository (".git" directory). This can also be controlled by setting the <code>GIT_DIR</code> environment variable. It can be an absolute path or relative path to current working directory.</p> <div class="paragraph"> <p>Specifying the location of the ".git" directory using this option (or <code>GIT_DIR</code> environment variable) turns off the repository discovery that tries to find a directory with ".git" subdirectory (which is how the repository and the top-level of the working tree are discovered), and tells Git that you are at the top level of the working tree. If you are not at the top-level directory of the working tree, you should tell Git where the top-level of the working tree is, with the <code>--work-tree=&lt;path&gt;</code> option (or <code>GIT_WORK_TREE</code> environment variable)</p> </div> <div class="paragraph"> <p>If you just want to run git as if it was started in <code>&lt;path&gt;</code> then use <code>git -C &lt;path&gt;</code>.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt---work-treeltpathgt"> <a class="anchor" href="#Documentation/git.txt---work-treeltpathgt"></a>--work-tree=&lt;path&gt; </dt> <dd> <p>Set the path to the working tree. It can be an absolute path or a path relative to the current working directory. This can also be controlled by setting the GIT_WORK_TREE environment variable and the core.worktree configuration variable (see core.worktree in <a href='/docs/git-config'>git-config[1]</a> for a more detailed discussion).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---namespaceltpathgt"> <a class="anchor" href="#Documentation/git.txt---namespaceltpathgt"></a>--namespace=&lt;path&gt; </dt> <dd> <p>Set the Git namespace. See <a href='/docs/gitnamespaces'>gitnamespaces[7]</a> for more details. Equivalent to setting the <code>GIT_NAMESPACE</code> environment variable.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---bare"> <a class="anchor" href="#Documentation/git.txt---bare"></a>--bare </dt> <dd> <p>Treat the repository as a bare repository. If GIT_DIR environment is not set, it is set to the current working directory.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---no-replace-objects"> <a class="anchor" href="#Documentation/git.txt---no-replace-objects"></a>--no-replace-objects </dt> <dd> <p>Do not use replacement refs to replace Git objects. This is equivalent to exporting the <code>GIT_NO_REPLACE_OBJECTS</code> environment variable with any value. See <a href='/docs/git-replace'>git-replace[1]</a> for more information.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---no-lazy-fetch"> <a class="anchor" href="#Documentation/git.txt---no-lazy-fetch"></a>--no-lazy-fetch </dt> <dd> <p>Do not fetch missing objects from the promisor remote on demand. Useful together with <code>git cat-file -e &lt;object&gt;</code> to see if the object is locally available. This is equivalent to setting the <code>GIT_NO_LAZY_FETCH</code> environment variable to <code>1</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---no-optional-locks"> <a class="anchor" href="#Documentation/git.txt---no-optional-locks"></a>--no-optional-locks </dt> <dd> <p>Do not perform optional operations that require locks. This is equivalent to setting the <code>GIT_OPTIONAL_LOCKS</code> to <code>0</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---no-advice"> <a class="anchor" href="#Documentation/git.txt---no-advice"></a>--no-advice </dt> <dd> <p>Disable all advice hints from being printed.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---literal-pathspecs"> <a class="anchor" href="#Documentation/git.txt---literal-pathspecs"></a>--literal-pathspecs </dt> <dd> <p>Treat pathspecs literally (i.e. no globbing, no pathspec magic). This is equivalent to setting the <code>GIT_LITERAL_PATHSPECS</code> environment variable to <code>1</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---glob-pathspecs"> <a class="anchor" href="#Documentation/git.txt---glob-pathspecs"></a>--glob-pathspecs </dt> <dd> <p>Add "glob" magic to all pathspec. This is equivalent to setting the <code>GIT_GLOB_PATHSPECS</code> environment variable to <code>1</code>. Disabling globbing on individual pathspecs can be done using pathspec magic ":(literal)"</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---noglob-pathspecs"> <a class="anchor" href="#Documentation/git.txt---noglob-pathspecs"></a>--noglob-pathspecs </dt> <dd> <p>Add "literal" magic to all pathspec. This is equivalent to setting the <code>GIT_NOGLOB_PATHSPECS</code> environment variable to <code>1</code>. Enabling globbing on individual pathspecs can be done using pathspec magic ":(glob)"</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---icase-pathspecs"> <a class="anchor" href="#Documentation/git.txt---icase-pathspecs"></a>--icase-pathspecs </dt> <dd> <p>Add "icase" magic to all pathspec. This is equivalent to setting the <code>GIT_ICASE_PATHSPECS</code> environment variable to <code>1</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---list-cmdsltgroupgtltgroupgt82308203"> <a class="anchor" href="#Documentation/git.txt---list-cmdsltgroupgtltgroupgt82308203"></a>--list-cmds=&lt;group&gt;[,&lt;group&gt;&#8230;&#8203;] </dt> <dd> <p>List commands by group. This is an internal/experimental option and may change or be removed in the future. Supported groups are: builtins, parseopt (builtin commands that use parse-options), main (all commands in libexec directory), others (all other commands in <code>$PATH</code> that have git- prefix), list-&lt;category&gt; (see categories in command-list.txt), nohelpers (exclude helper commands), alias and config (retrieve command list from config variable completion.commands)</p> </dd> <dt class="hdlist1" id="Documentation/git.txt---attr-sourcelttree-ishgt"> <a class="anchor" href="#Documentation/git.txt---attr-sourcelttree-ishgt"></a>--attr-source=&lt;tree-ish&gt; </dt> <dd> <p>Read gitattributes from &lt;tree-ish&gt; instead of the worktree. See <a href='/docs/gitattributes'>gitattributes[5]</a>. This is equivalent to setting the <code>GIT_ATTR_SOURCE</code> environment variable.</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_git_commands"><a class="anchor" href="#_git_commands"></a>GIT COMMANDS</h2> <div class="sectionbody"> <div class="paragraph"> <p>We divide Git into high level ("porcelain") commands and low level ("plumbing") commands.</p> </div> </div> </div> <div class="sect1"> <h2 id="_high_level_commands_porcelain"><a class="anchor" href="#_high_level_commands_porcelain"></a>High-level commands (porcelain)</h2> <div class="sectionbody"> <div class="paragraph"> <p>We separate the porcelain commands into the main commands and some ancillary user utilities.</p> </div> <div class="sect2"> <h3 id="_main_porcelain_commands"><a class="anchor" href="#_main_porcelain_commands"></a>Main porcelain commands</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-addgit-add1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-addgit-add1a"></a><a href='/docs/git-add'>git-add[1]</a> </dt> <dd> <p>Add file contents to the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-amgit-am1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-amgit-am1a"></a><a href='/docs/git-am'>git-am[1]</a> </dt> <dd> <p>Apply a series of patches from a mailbox</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-archivegit-archive1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-archivegit-archive1a"></a><a href='/docs/git-archive'>git-archive[1]</a> </dt> <dd> <p>Create an archive of files from a named tree</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-bisectgit-bisect1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-bisectgit-bisect1a"></a><a href='/docs/git-bisect'>git-bisect[1]</a> </dt> <dd> <p>Use binary search to find the commit that introduced a bug</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-branchgit-branch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-branchgit-branch1a"></a><a href='/docs/git-branch'>git-branch[1]</a> </dt> <dd> <p>List, create, or delete branches</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-bundlegit-bundle1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-bundlegit-bundle1a"></a><a href='/docs/git-bundle'>git-bundle[1]</a> </dt> <dd> <p>Move objects and refs by archive</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-checkoutgit-checkout1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-checkoutgit-checkout1a"></a><a href='/docs/git-checkout'>git-checkout[1]</a> </dt> <dd> <p>Switch branches or restore working tree files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cherry-pickgit-cherry-pick1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cherry-pickgit-cherry-pick1a"></a><a href='/docs/git-cherry-pick'>git-cherry-pick[1]</a> </dt> <dd> <p>Apply the changes introduced by some existing commits</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-citoolgit-citool1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-citoolgit-citool1a"></a><a href='/docs/git-citool'>git-citool[1]</a> </dt> <dd> <p>Graphical alternative to git-commit</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cleangit-clean1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cleangit-clean1a"></a><a href='/docs/git-clean'>git-clean[1]</a> </dt> <dd> <p>Remove untracked files from the working tree</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-clonegit-clone1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-clonegit-clone1a"></a><a href='/docs/git-clone'>git-clone[1]</a> </dt> <dd> <p>Clone a repository into a new directory</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-commitgit-commit1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-commitgit-commit1a"></a><a href='/docs/git-commit'>git-commit[1]</a> </dt> <dd> <p>Record changes to the repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-describegit-describe1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-describegit-describe1a"></a><a href='/docs/git-describe'>git-describe[1]</a> </dt> <dd> <p>Give an object a human readable name based on an available ref</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-diffgit-diff1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-diffgit-diff1a"></a><a href='/docs/git-diff'>git-diff[1]</a> </dt> <dd> <p>Show changes between commits, commit and working tree, etc</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fetchgit-fetch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fetchgit-fetch1a"></a><a href='/docs/git-fetch'>git-fetch[1]</a> </dt> <dd> <p>Download objects and refs from another repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-format-patchgit-format-patch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-format-patchgit-format-patch1a"></a><a href='/docs/git-format-patch'>git-format-patch[1]</a> </dt> <dd> <p>Prepare patches for e-mail submission</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-gcgit-gc1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-gcgit-gc1a"></a><a href='/docs/git-gc'>git-gc[1]</a> </dt> <dd> <p>Cleanup unnecessary files and optimize the local repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-grepgit-grep1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-grepgit-grep1a"></a><a href='/docs/git-grep'>git-grep[1]</a> </dt> <dd> <p>Print lines matching a pattern</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-guigit-gui1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-guigit-gui1a"></a><a href='/docs/git-gui'>git-gui[1]</a> </dt> <dd> <p>A portable graphical interface to Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-initgit-init1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-initgit-init1a"></a><a href='/docs/git-init'>git-init[1]</a> </dt> <dd> <p>Create an empty Git repository or reinitialize an existing one</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-loggit-log1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-loggit-log1a"></a><a href='/docs/git-log'>git-log[1]</a> </dt> <dd> <p>Show commit logs</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-maintenancegit-maintenance1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-maintenancegit-maintenance1a"></a><a href='/docs/git-maintenance'>git-maintenance[1]</a> </dt> <dd> <p>Run tasks to optimize Git repository data</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mergegit-merge1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mergegit-merge1a"></a><a href='/docs/git-merge'>git-merge[1]</a> </dt> <dd> <p>Join two or more development histories together</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mvgit-mv1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mvgit-mv1a"></a><a href='/docs/git-mv'>git-mv[1]</a> </dt> <dd> <p>Move or rename a file, a directory, or a symlink</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-notesgit-notes1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-notesgit-notes1a"></a><a href='/docs/git-notes'>git-notes[1]</a> </dt> <dd> <p>Add or inspect object notes</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-pullgit-pull1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-pullgit-pull1a"></a><a href='/docs/git-pull'>git-pull[1]</a> </dt> <dd> <p>Fetch from and integrate with another repository or a local branch</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-pushgit-push1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-pushgit-push1a"></a><a href='/docs/git-push'>git-push[1]</a> </dt> <dd> <p>Update remote refs along with associated objects</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-range-diffgit-range-diff1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-range-diffgit-range-diff1a"></a><a href='/docs/git-range-diff'>git-range-diff[1]</a> </dt> <dd> <p>Compare two commit ranges (e.g. two versions of a branch)</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-rebasegit-rebase1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-rebasegit-rebase1a"></a><a href='/docs/git-rebase'>git-rebase[1]</a> </dt> <dd> <p>Reapply commits on top of another base tip</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-resetgit-reset1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-resetgit-reset1a"></a><a href='/docs/git-reset'>git-reset[1]</a> </dt> <dd> <p>Reset current HEAD to the specified state</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-restoregit-restore1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-restoregit-restore1a"></a><a href='/docs/git-restore'>git-restore[1]</a> </dt> <dd> <p>Restore working tree files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-revertgit-revert1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-revertgit-revert1a"></a><a href='/docs/git-revert'>git-revert[1]</a> </dt> <dd> <p>Revert some existing commits</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-rmgit-rm1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-rmgit-rm1a"></a><a href='/docs/git-rm'>git-rm[1]</a> </dt> <dd> <p>Remove files from the working tree and from the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-shortloggit-shortlog1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-shortloggit-shortlog1a"></a><a href='/docs/git-shortlog'>git-shortlog[1]</a> </dt> <dd> <p>Summarize <em>git log</em> output</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-showgit-show1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-showgit-show1a"></a><a href='/docs/git-show'>git-show[1]</a> </dt> <dd> <p>Show various types of objects</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-sparse-checkoutgit-sparse-checkout1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-sparse-checkoutgit-sparse-checkout1a"></a><a href='/docs/git-sparse-checkout'>git-sparse-checkout[1]</a> </dt> <dd> <p>Reduce your working tree to a subset of tracked files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-stashgit-stash1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-stashgit-stash1a"></a><a href='/docs/git-stash'>git-stash[1]</a> </dt> <dd> <p>Stash the changes in a dirty working directory away</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-statusgit-status1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-statusgit-status1a"></a><a href='/docs/git-status'>git-status[1]</a> </dt> <dd> <p>Show the working tree status</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-submodulegit-submodule1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-submodulegit-submodule1a"></a><a href='/docs/git-submodule'>git-submodule[1]</a> </dt> <dd> <p>Initialize, update or inspect submodules</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-switchgit-switch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-switchgit-switch1a"></a><a href='/docs/git-switch'>git-switch[1]</a> </dt> <dd> <p>Switch branches</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-taggit-tag1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-taggit-tag1a"></a><a href='/docs/git-tag'>git-tag[1]</a> </dt> <dd> <p>Create, list, delete or verify a tag object signed with GPG</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-worktreegit-worktree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-worktreegit-worktree1a"></a><a href='/docs/git-worktree'>git-worktree[1]</a> </dt> <dd> <p>Manage multiple working trees</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitkgitk1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitkgitk1a"></a><a href='/docs/gitk'>gitk[1]</a> </dt> <dd> <p>The Git repository browser</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsscalarscalar1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsscalarscalar1a"></a><a href='/docs/scalar'>scalar[1]</a> </dt> <dd> <p>A tool for managing large Git repositories</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_ancillary_commands"><a class="anchor" href="#_ancillary_commands"></a>Ancillary Commands</h3> <div class="paragraph"> <p>Manipulators:</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-configgit-config1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-configgit-config1a"></a><a href='/docs/git-config'>git-config[1]</a> </dt> <dd> <p>Get and set repository or global options</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fast-exportgit-fast-export1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fast-exportgit-fast-export1a"></a><a href='/docs/git-fast-export'>git-fast-export[1]</a> </dt> <dd> <p>Git data exporter</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fast-importgit-fast-import1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fast-importgit-fast-import1a"></a><a href='/docs/git-fast-import'>git-fast-import[1]</a> </dt> <dd> <p>Backend for fast Git data importers</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-filter-branchgit-filter-branch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-filter-branchgit-filter-branch1a"></a><a href='/docs/git-filter-branch'>git-filter-branch[1]</a> </dt> <dd> <p>Rewrite branches</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mergetoolgit-mergetool1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mergetoolgit-mergetool1a"></a><a href='/docs/git-mergetool'>git-mergetool[1]</a> </dt> <dd> <p>Run merge conflict resolution tools to resolve merge conflicts</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-pack-refsgit-pack-refs1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-pack-refsgit-pack-refs1a"></a><a href='/docs/git-pack-refs'>git-pack-refs[1]</a> </dt> <dd> <p>Pack heads and tags for efficient repository access</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-prunegit-prune1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-prunegit-prune1a"></a><a href='/docs/git-prune'>git-prune[1]</a> </dt> <dd> <p>Prune all unreachable objects from the object database</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-refloggit-reflog1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-refloggit-reflog1a"></a><a href='/docs/git-reflog'>git-reflog[1]</a> </dt> <dd> <p>Manage reflog information</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-refsgit-refs1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-refsgit-refs1a"></a><a href='/docs/git-refs'>git-refs[1]</a> </dt> <dd> <p>Low-level access to refs</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-remotegit-remote1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-remotegit-remote1a"></a><a href='/docs/git-remote'>git-remote[1]</a> </dt> <dd> <p>Manage set of tracked repositories</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-repackgit-repack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-repackgit-repack1a"></a><a href='/docs/git-repack'>git-repack[1]</a> </dt> <dd> <p>Pack unpacked objects in a repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-replacegit-replace1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-replacegit-replace1a"></a><a href='/docs/git-replace'>git-replace[1]</a> </dt> <dd> <p>Create, list, delete refs to replace objects</p> </dd> </dl> </div> <div class="paragraph"> <p>Interrogators:</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-annotategit-annotate1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-annotategit-annotate1a"></a><a href='/docs/git-annotate'>git-annotate[1]</a> </dt> <dd> <p>Annotate file lines with commit information</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-blamegit-blame1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-blamegit-blame1a"></a><a href='/docs/git-blame'>git-blame[1]</a> </dt> <dd> <p>Show what revision and author last modified each line of a file</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-bugreportgit-bugreport1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-bugreportgit-bugreport1a"></a><a href='/docs/git-bugreport'>git-bugreport[1]</a> </dt> <dd> <p>Collect information for user to file a bug report</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-count-objectsgit-count-objects1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-count-objectsgit-count-objects1a"></a><a href='/docs/git-count-objects'>git-count-objects[1]</a> </dt> <dd> <p>Count unpacked number of objects and their disk consumption</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-diagnosegit-diagnose1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-diagnosegit-diagnose1a"></a><a href='/docs/git-diagnose'>git-diagnose[1]</a> </dt> <dd> <p>Generate a zip archive of diagnostic information</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-difftoolgit-difftool1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-difftoolgit-difftool1a"></a><a href='/docs/git-difftool'>git-difftool[1]</a> </dt> <dd> <p>Show changes using common diff tools</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fsckgit-fsck1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fsckgit-fsck1a"></a><a href='/docs/git-fsck'>git-fsck[1]</a> </dt> <dd> <p>Verifies the connectivity and validity of the objects in the database</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-helpgit-help1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-helpgit-help1a"></a><a href='/docs/git-help'>git-help[1]</a> </dt> <dd> <p>Display help information about Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-instawebgit-instaweb1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-instawebgit-instaweb1a"></a><a href='/docs/git-instaweb'>git-instaweb[1]</a> </dt> <dd> <p>Instantly browse your working repository in gitweb</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-merge-treegit-merge-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-merge-treegit-merge-tree1a"></a><a href='/docs/git-merge-tree'>git-merge-tree[1]</a> </dt> <dd> <p>Perform merge without touching index or working tree</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-rereregit-rerere1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-rereregit-rerere1a"></a><a href='/docs/git-rerere'>git-rerere[1]</a> </dt> <dd> <p>Reuse recorded resolution of conflicted merges</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-show-branchgit-show-branch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-show-branchgit-show-branch1a"></a><a href='/docs/git-show-branch'>git-show-branch[1]</a> </dt> <dd> <p>Show branches and their commits</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-verify-commitgit-verify-commit1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-verify-commitgit-verify-commit1a"></a><a href='/docs/git-verify-commit'>git-verify-commit[1]</a> </dt> <dd> <p>Check the GPG signature of commits</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-verify-taggit-verify-tag1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-verify-taggit-verify-tag1a"></a><a href='/docs/git-verify-tag'>git-verify-tag[1]</a> </dt> <dd> <p>Check the GPG signature of tags</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-versiongit-version1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-versiongit-version1a"></a><a href='/docs/git-version'>git-version[1]</a> </dt> <dd> <p>Display version information about Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-whatchangedgit-whatchanged1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-whatchangedgit-whatchanged1a"></a><a href='/docs/git-whatchanged'>git-whatchanged[1]</a> </dt> <dd> <p>Show logs with differences each commit introduces</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitwebgitweb1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitwebgitweb1a"></a><a href='/docs/gitweb'>gitweb[1]</a> </dt> <dd> <p>Git web interface (web frontend to Git repositories)</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_interacting_with_others"><a class="anchor" href="#_interacting_with_others"></a>Interacting with Others</h3> <div class="paragraph"> <p>These commands are to interact with foreign SCM and with other people via patch over e-mail.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-archimportgit-archimport1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-archimportgit-archimport1a"></a><a href='/docs/git-archimport'>git-archimport[1]</a> </dt> <dd> <p>Import a GNU Arch repository into Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cvsexportcommitgit-cvsexportcommit1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cvsexportcommitgit-cvsexportcommit1a"></a><a href='/docs/git-cvsexportcommit'>git-cvsexportcommit[1]</a> </dt> <dd> <p>Export a single commit to a CVS checkout</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cvsimportgit-cvsimport1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cvsimportgit-cvsimport1a"></a><a href='/docs/git-cvsimport'>git-cvsimport[1]</a> </dt> <dd> <p>Salvage your data out of another SCM people love to hate</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cvsservergit-cvsserver1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cvsservergit-cvsserver1a"></a><a href='/docs/git-cvsserver'>git-cvsserver[1]</a> </dt> <dd> <p>A CVS server emulator for Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-imap-sendgit-imap-send1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-imap-sendgit-imap-send1a"></a><a href='/docs/git-imap-send'>git-imap-send[1]</a> </dt> <dd> <p>Send a collection of patches from stdin to an IMAP folder</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-p4git-p41a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-p4git-p41a"></a><a href='/docs/git-p4'>git-p4[1]</a> </dt> <dd> <p>Import from and submit to Perforce repositories</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-quiltimportgit-quiltimport1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-quiltimportgit-quiltimport1a"></a><a href='/docs/git-quiltimport'>git-quiltimport[1]</a> </dt> <dd> <p>Applies a quilt patchset onto the current branch</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-request-pullgit-request-pull1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-request-pullgit-request-pull1a"></a><a href='/docs/git-request-pull'>git-request-pull[1]</a> </dt> <dd> <p>Generates a summary of pending changes</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-send-emailgit-send-email1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-send-emailgit-send-email1a"></a><a href='/docs/git-send-email'>git-send-email[1]</a> </dt> <dd> <p>Send a collection of patches as emails</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-svngit-svn1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-svngit-svn1a"></a><a href='/docs/git-svn'>git-svn[1]</a> </dt> <dd> <p>Bidirectional operation between a Subversion repository and Git</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_reset_restore_and_revert"><a class="anchor" href="#_reset_restore_and_revert"></a>Reset, restore and revert</h3> <div class="paragraph"> <p>There are three commands with similar names: <code>git reset</code>, <code>git restore</code> and <code>git revert</code>.</p> </div> <div class="ulist"> <ul> <li> <p><a href='/docs/git-revert'>git-revert[1]</a> is about making a new commit that reverts the changes made by other commits.</p> </li> <li> <p><a href='/docs/git-restore'>git-restore[1]</a> is about restoring files in the working tree from either the index or another commit. This command does not update your branch. The command can also be used to restore files in the index from another commit.</p> </li> <li> <p><a href='/docs/git-reset'>git-reset[1]</a> is about updating your branch, moving the tip in order to add or remove commits from the branch. This operation changes the commit history.</p> <div class="paragraph"> <p><code>git reset</code> can also be used to restore the index, overlapping with <code>git restore</code>.</p> </div> </li> </ul> </div> </div> </div> </div> <div class="sect1"> <h2 id="_low_level_commands_plumbing"><a class="anchor" href="#_low_level_commands_plumbing"></a>Low-level commands (plumbing)</h2> <div class="sectionbody"> <div class="paragraph"> <p>Although Git includes its own porcelain layer, its low-level commands are sufficient to support development of alternative porcelains. Developers of such porcelains might start by reading about <a href='/docs/git-update-index'>git-update-index[1]</a> and <a href='/docs/git-read-tree'>git-read-tree[1]</a>.</p> </div> <div class="paragraph"> <p>The interface (input, output, set of options and the semantics) to these low-level commands are meant to be a lot more stable than Porcelain level commands, because these commands are primarily for scripted use. The interface to Porcelain commands on the other hand are subject to change in order to improve the end user experience.</p> </div> <div class="paragraph"> <p>The following description divides the low-level commands into commands that manipulate objects (in the repository, index, and working tree), commands that interrogate and compare objects, and commands that move objects and references between repositories.</p> </div> <div class="sect2"> <h3 id="_manipulation_commands"><a class="anchor" href="#_manipulation_commands"></a>Manipulation commands</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-applygit-apply1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-applygit-apply1a"></a><a href='/docs/git-apply'>git-apply[1]</a> </dt> <dd> <p>Apply a patch to files and/or to the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-checkout-indexgit-checkout-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-checkout-indexgit-checkout-index1a"></a><a href='/docs/git-checkout-index'>git-checkout-index[1]</a> </dt> <dd> <p>Copy files from the index to the working tree</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-commit-graphgit-commit-graph1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-commit-graphgit-commit-graph1a"></a><a href='/docs/git-commit-graph'>git-commit-graph[1]</a> </dt> <dd> <p>Write and verify Git commit-graph files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-commit-treegit-commit-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-commit-treegit-commit-tree1a"></a><a href='/docs/git-commit-tree'>git-commit-tree[1]</a> </dt> <dd> <p>Create a new commit object</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-hash-objectgit-hash-object1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-hash-objectgit-hash-object1a"></a><a href='/docs/git-hash-object'>git-hash-object[1]</a> </dt> <dd> <p>Compute object ID and optionally create an object from a file</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-index-packgit-index-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-index-packgit-index-pack1a"></a><a href='/docs/git-index-pack'>git-index-pack[1]</a> </dt> <dd> <p>Build pack index file for an existing packed archive</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-merge-filegit-merge-file1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-merge-filegit-merge-file1a"></a><a href='/docs/git-merge-file'>git-merge-file[1]</a> </dt> <dd> <p>Run a three-way file merge</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-merge-indexgit-merge-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-merge-indexgit-merge-index1a"></a><a href='/docs/git-merge-index'>git-merge-index[1]</a> </dt> <dd> <p>Run a merge for files needing merging</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mktaggit-mktag1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mktaggit-mktag1a"></a><a href='/docs/git-mktag'>git-mktag[1]</a> </dt> <dd> <p>Creates a tag object with extra validation</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mktreegit-mktree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mktreegit-mktree1a"></a><a href='/docs/git-mktree'>git-mktree[1]</a> </dt> <dd> <p>Build a tree-object from ls-tree formatted text</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-multi-pack-indexgit-multi-pack-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-multi-pack-indexgit-multi-pack-index1a"></a><a href='/docs/git-multi-pack-index'>git-multi-pack-index[1]</a> </dt> <dd> <p>Write and verify multi-pack-indexes</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-pack-objectsgit-pack-objects1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-pack-objectsgit-pack-objects1a"></a><a href='/docs/git-pack-objects'>git-pack-objects[1]</a> </dt> <dd> <p>Create a packed archive of objects</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-prune-packedgit-prune-packed1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-prune-packedgit-prune-packed1a"></a><a href='/docs/git-prune-packed'>git-prune-packed[1]</a> </dt> <dd> <p>Remove extra objects that are already in pack files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-read-treegit-read-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-read-treegit-read-tree1a"></a><a href='/docs/git-read-tree'>git-read-tree[1]</a> </dt> <dd> <p>Reads tree information into the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-replaygit-replay1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-replaygit-replay1a"></a><a href='/docs/git-replay'>git-replay[1]</a> </dt> <dd> <p>EXPERIMENTAL: Replay commits on a new base, works with bare repos too</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-symbolic-refgit-symbolic-ref1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-symbolic-refgit-symbolic-ref1a"></a><a href='/docs/git-symbolic-ref'>git-symbolic-ref[1]</a> </dt> <dd> <p>Read, modify and delete symbolic refs</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-unpack-objectsgit-unpack-objects1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-unpack-objectsgit-unpack-objects1a"></a><a href='/docs/git-unpack-objects'>git-unpack-objects[1]</a> </dt> <dd> <p>Unpack objects from a packed archive</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-update-indexgit-update-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-update-indexgit-update-index1a"></a><a href='/docs/git-update-index'>git-update-index[1]</a> </dt> <dd> <p>Register file contents in the working tree to the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-update-refgit-update-ref1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-update-refgit-update-ref1a"></a><a href='/docs/git-update-ref'>git-update-ref[1]</a> </dt> <dd> <p>Update the object name stored in a ref safely</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-write-treegit-write-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-write-treegit-write-tree1a"></a><a href='/docs/git-write-tree'>git-write-tree[1]</a> </dt> <dd> <p>Create a tree object from the current index</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_interrogation_commands"><a class="anchor" href="#_interrogation_commands"></a>Interrogation commands</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cat-filegit-cat-file1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cat-filegit-cat-file1a"></a><a href='/docs/git-cat-file'>git-cat-file[1]</a> </dt> <dd> <p>Provide contents or details of repository objects</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-cherrygit-cherry1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-cherrygit-cherry1a"></a><a href='/docs/git-cherry'>git-cherry[1]</a> </dt> <dd> <p>Find commits yet to be applied to upstream</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-diff-filesgit-diff-files1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-diff-filesgit-diff-files1a"></a><a href='/docs/git-diff-files'>git-diff-files[1]</a> </dt> <dd> <p>Compares files in the working tree and the index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-diff-indexgit-diff-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-diff-indexgit-diff-index1a"></a><a href='/docs/git-diff-index'>git-diff-index[1]</a> </dt> <dd> <p>Compare a tree to the working tree or index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-diff-treegit-diff-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-diff-treegit-diff-tree1a"></a><a href='/docs/git-diff-tree'>git-diff-tree[1]</a> </dt> <dd> <p>Compares the content and mode of blobs found via two tree objects</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-for-each-refgit-for-each-ref1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-for-each-refgit-for-each-ref1a"></a><a href='/docs/git-for-each-ref'>git-for-each-ref[1]</a> </dt> <dd> <p>Output information on each ref</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-for-each-repogit-for-each-repo1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-for-each-repogit-for-each-repo1a"></a><a href='/docs/git-for-each-repo'>git-for-each-repo[1]</a> </dt> <dd> <p>Run a Git command on a list of repositories</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-get-tar-commit-idgit-get-tar-commit-id1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-get-tar-commit-idgit-get-tar-commit-id1a"></a><a href='/docs/git-get-tar-commit-id'>git-get-tar-commit-id[1]</a> </dt> <dd> <p>Extract commit ID from an archive created using git-archive</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-ls-filesgit-ls-files1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-ls-filesgit-ls-files1a"></a><a href='/docs/git-ls-files'>git-ls-files[1]</a> </dt> <dd> <p>Show information about files in the index and the working tree</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-ls-remotegit-ls-remote1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-ls-remotegit-ls-remote1a"></a><a href='/docs/git-ls-remote'>git-ls-remote[1]</a> </dt> <dd> <p>List references in a remote repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-ls-treegit-ls-tree1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-ls-treegit-ls-tree1a"></a><a href='/docs/git-ls-tree'>git-ls-tree[1]</a> </dt> <dd> <p>List the contents of a tree object</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-merge-basegit-merge-base1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-merge-basegit-merge-base1a"></a><a href='/docs/git-merge-base'>git-merge-base[1]</a> </dt> <dd> <p>Find as good common ancestors as possible for a merge</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-name-revgit-name-rev1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-name-revgit-name-rev1a"></a><a href='/docs/git-name-rev'>git-name-rev[1]</a> </dt> <dd> <p>Find symbolic names for given revs</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-pack-redundantgit-pack-redundant1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-pack-redundantgit-pack-redundant1a"></a><a href='/docs/git-pack-redundant'>git-pack-redundant[1]</a> </dt> <dd> <p>Find redundant pack files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-rev-listgit-rev-list1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-rev-listgit-rev-list1a"></a><a href='/docs/git-rev-list'>git-rev-list[1]</a> </dt> <dd> <p>Lists commit objects in reverse chronological order</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-rev-parsegit-rev-parse1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-rev-parsegit-rev-parse1a"></a><a href='/docs/git-rev-parse'>git-rev-parse[1]</a> </dt> <dd> <p>Pick out and massage parameters</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-show-indexgit-show-index1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-show-indexgit-show-index1a"></a><a href='/docs/git-show-index'>git-show-index[1]</a> </dt> <dd> <p>Show packed archive index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-show-refgit-show-ref1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-show-refgit-show-ref1a"></a><a href='/docs/git-show-ref'>git-show-ref[1]</a> </dt> <dd> <p>List references in a local repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-unpack-filegit-unpack-file1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-unpack-filegit-unpack-file1a"></a><a href='/docs/git-unpack-file'>git-unpack-file[1]</a> </dt> <dd> <p>Creates a temporary file with a blob&#8217;s contents</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-vargit-var1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-vargit-var1a"></a><a href='/docs/git-var'>git-var[1]</a> </dt> <dd> <p>Show a Git logical variable</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-verify-packgit-verify-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-verify-packgit-verify-pack1a"></a><a href='/docs/git-verify-pack'>git-verify-pack[1]</a> </dt> <dd> <p>Validate packed Git archive files</p> </dd> </dl> </div> <div class="paragraph"> <p>In general, the interrogate commands do not touch the files in the working tree.</p> </div> </div> <div class="sect2"> <h3 id="_syncing_repositories"><a class="anchor" href="#_syncing_repositories"></a>Syncing repositories</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-daemongit-daemon1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-daemongit-daemon1a"></a><a href='/docs/git-daemon'>git-daemon[1]</a> </dt> <dd> <p>A really simple server for Git repositories</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fetch-packgit-fetch-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fetch-packgit-fetch-pack1a"></a><a href='/docs/git-fetch-pack'>git-fetch-pack[1]</a> </dt> <dd> <p>Receive missing objects from another repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-http-backendgit-http-backend1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-http-backendgit-http-backend1a"></a><a href='/docs/git-http-backend'>git-http-backend[1]</a> </dt> <dd> <p>Server side implementation of Git over HTTP</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-send-packgit-send-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-send-packgit-send-pack1a"></a><a href='/docs/git-send-pack'>git-send-pack[1]</a> </dt> <dd> <p>Push objects over Git protocol to another repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-update-server-infogit-update-server-info1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-update-server-infogit-update-server-info1a"></a><a href='/docs/git-update-server-info'>git-update-server-info[1]</a> </dt> <dd> <p>Update auxiliary info file to help dumb servers</p> </dd> </dl> </div> <div class="paragraph"> <p>The following are helper commands used by the above; end users typically do not use them directly.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-http-fetchgit-http-fetch1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-http-fetchgit-http-fetch1a"></a><a href='/docs/git-http-fetch'>git-http-fetch[1]</a> </dt> <dd> <p>Download from a remote Git repository via HTTP</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-http-pushgit-http-push1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-http-pushgit-http-push1a"></a><a href='/docs/git-http-push'>git-http-push[1]</a> </dt> <dd> <p>Push objects over HTTP/DAV to another repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-receive-packgit-receive-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-receive-packgit-receive-pack1a"></a><a href='/docs/git-receive-pack'>git-receive-pack[1]</a> </dt> <dd> <p>Receive what is pushed into the repository</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-shellgit-shell1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-shellgit-shell1a"></a><a href='/docs/git-shell'>git-shell[1]</a> </dt> <dd> <p>Restricted login shell for Git-only SSH access</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-upload-archivegit-upload-archive1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-upload-archivegit-upload-archive1a"></a><a href='/docs/git-upload-archive'>git-upload-archive[1]</a> </dt> <dd> <p>Send archive back to git-archive</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-upload-packgit-upload-pack1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-upload-packgit-upload-pack1a"></a><a href='/docs/git-upload-pack'>git-upload-pack[1]</a> </dt> <dd> <p>Send objects packed back to git-fetch-pack</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_internal_helper_commands"><a class="anchor" href="#_internal_helper_commands"></a>Internal helper commands</h3> <div class="paragraph"> <p>These are internal helper commands used by other commands; end users typically do not use them directly.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-check-attrgit-check-attr1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-check-attrgit-check-attr1a"></a><a href='/docs/git-check-attr'>git-check-attr[1]</a> </dt> <dd> <p>Display gitattributes information</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-check-ignoregit-check-ignore1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-check-ignoregit-check-ignore1a"></a><a href='/docs/git-check-ignore'>git-check-ignore[1]</a> </dt> <dd> <p>Debug gitignore / exclude files</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-check-mailmapgit-check-mailmap1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-check-mailmapgit-check-mailmap1a"></a><a href='/docs/git-check-mailmap'>git-check-mailmap[1]</a> </dt> <dd> <p>Show canonical names and email addresses of contacts</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-check-ref-formatgit-check-ref-format1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-check-ref-formatgit-check-ref-format1a"></a><a href='/docs/git-check-ref-format'>git-check-ref-format[1]</a> </dt> <dd> <p>Ensures that a reference name is well formed</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-columngit-column1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-columngit-column1a"></a><a href='/docs/git-column'>git-column[1]</a> </dt> <dd> <p>Display data in columns</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-credentialgit-credential1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-credentialgit-credential1a"></a><a href='/docs/git-credential'>git-credential[1]</a> </dt> <dd> <p>Retrieve and store user credentials</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-credential-cachegit-credential-cache1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-credential-cachegit-credential-cache1a"></a><a href='/docs/git-credential-cache'>git-credential-cache[1]</a> </dt> <dd> <p>Helper to temporarily store passwords in memory</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-credential-storegit-credential-store1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-credential-storegit-credential-store1a"></a><a href='/docs/git-credential-store'>git-credential-store[1]</a> </dt> <dd> <p>Helper to store credentials on disk</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-fmt-merge-msggit-fmt-merge-msg1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-fmt-merge-msggit-fmt-merge-msg1a"></a><a href='/docs/git-fmt-merge-msg'>git-fmt-merge-msg[1]</a> </dt> <dd> <p>Produce a merge commit message</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-hookgit-hook1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-hookgit-hook1a"></a><a href='/docs/git-hook'>git-hook[1]</a> </dt> <dd> <p>Run git hooks</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-interpret-trailersgit-interpret-trailers1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-interpret-trailersgit-interpret-trailers1a"></a><a href='/docs/git-interpret-trailers'>git-interpret-trailers[1]</a> </dt> <dd> <p>Add or parse structured information in commit messages</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mailinfogit-mailinfo1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mailinfogit-mailinfo1a"></a><a href='/docs/git-mailinfo'>git-mailinfo[1]</a> </dt> <dd> <p>Extracts patch and authorship from a single e-mail message</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-mailsplitgit-mailsplit1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-mailsplitgit-mailsplit1a"></a><a href='/docs/git-mailsplit'>git-mailsplit[1]</a> </dt> <dd> <p>Simple UNIX mbox splitter program</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-merge-one-filegit-merge-one-file1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-merge-one-filegit-merge-one-file1a"></a><a href='/docs/git-merge-one-file'>git-merge-one-file[1]</a> </dt> <dd> <p>The standard helper program to use with git-merge-index</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-patch-idgit-patch-id1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-patch-idgit-patch-id1a"></a><a href='/docs/git-patch-id'>git-patch-id[1]</a> </dt> <dd> <p>Compute unique ID for a patch</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-sh-i18ngit-sh-i18n1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-sh-i18ngit-sh-i18n1a"></a><a href='/docs/git-sh-i18n'>git-sh-i18n[1]</a> </dt> <dd> <p>Git&#8217;s i18n setup code for shell scripts</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-sh-setupgit-sh-setup1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-sh-setupgit-sh-setup1a"></a><a href='/docs/git-sh-setup'>git-sh-setup[1]</a> </dt> <dd> <p>Common Git shell script setup code</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgit-stripspacegit-stripspace1a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgit-stripspacegit-stripspace1a"></a><a href='/docs/git-stripspace'>git-stripspace[1]</a> </dt> <dd> <p>Remove unnecessary whitespace</p> </dd> </dl> </div> </div> </div> </div> <div class="sect1"> <h2 id="_guides"><a class="anchor" href="#_guides"></a>Guides</h2> <div class="sectionbody"> <div class="paragraph"> <p>The following documentation pages are guides about Git concepts.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitcore-tutorialgitcore-tutorial7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitcore-tutorialgitcore-tutorial7a"></a><a href='/docs/gitcore-tutorial'>gitcore-tutorial[7]</a> </dt> <dd> <p>A Git core tutorial for developers</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitcredentialsgitcredentials7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitcredentialsgitcredentials7a"></a><a href='/docs/gitcredentials'>gitcredentials[7]</a> </dt> <dd> <p>Providing usernames and passwords to Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitcvs-migrationgitcvs-migration7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitcvs-migrationgitcvs-migration7a"></a><a href='/docs/gitcvs-migration'>gitcvs-migration[7]</a> </dt> <dd> <p>Git for CVS users</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitdiffcoregitdiffcore7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitdiffcoregitdiffcore7a"></a><a href='/docs/gitdiffcore'>gitdiffcore[7]</a> </dt> <dd> <p>Tweaking diff output</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgiteverydaygiteveryday7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgiteverydaygiteveryday7a"></a><a href='/docs/giteveryday'>giteveryday[7]</a> </dt> <dd> <p>A useful minimum set of commands for Everyday Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitfaqgitfaq7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitfaqgitfaq7a"></a><a href='/docs/gitfaq'>gitfaq[7]</a> </dt> <dd> <p>Frequently asked questions about using Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitglossarygitglossary7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitglossarygitglossary7a"></a><a href='/docs/gitglossary'>gitglossary[7]</a> </dt> <dd> <p>A Git Glossary</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitnamespacesgitnamespaces7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitnamespacesgitnamespaces7a"></a><a href='/docs/gitnamespaces'>gitnamespaces[7]</a> </dt> <dd> <p>Git namespaces</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitremote-helpersgitremote-helpers7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitremote-helpersgitremote-helpers7a"></a><a href='/docs/gitremote-helpers'>gitremote-helpers[7]</a> </dt> <dd> <p>Helper programs to interact with remote repositories</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitsubmodulesgitsubmodules7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitsubmodulesgitsubmodules7a"></a><a href='/docs/gitsubmodules'>gitsubmodules[7]</a> </dt> <dd> <p>Mounting one repository inside another</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgittutorialgittutorial7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgittutorialgittutorial7a"></a><a href='/docs/gittutorial'>gittutorial[7]</a> </dt> <dd> <p>A tutorial introduction to Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgittutorial-2gittutorial-27a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgittutorial-2gittutorial-27a"></a><a href='/docs/gittutorial-2'>gittutorial-2[7]</a> </dt> <dd> <p>A tutorial introduction to Git: part two</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitworkflowsgitworkflows7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitworkflowsgitworkflows7a"></a><a href='/docs/gitworkflows'>gitworkflows[7]</a> </dt> <dd> <p>An overview of recommended workflows with Git</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_repository_command_and_file_interfaces"><a class="anchor" href="#_repository_command_and_file_interfaces"></a>Repository, command and file interfaces</h2> <div class="sectionbody"> <div class="paragraph"> <p>This documentation discusses repository and command interfaces which users are expected to interact with directly. See <code>--user-formats</code> in <a href='/docs/git-help'>git-help[1]</a> for more details on the criteria.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitattributesgitattributes5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitattributesgitattributes5a"></a><a href='/docs/gitattributes'>gitattributes[5]</a> </dt> <dd> <p>Defining attributes per path</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitcligitcli7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitcligitcli7a"></a><a href='/docs/gitcli'>gitcli[7]</a> </dt> <dd> <p>Git command-line interface and conventions</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgithooksgithooks5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgithooksgithooks5a"></a><a href='/docs/githooks'>githooks[5]</a> </dt> <dd> <p>Hooks used by Git</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitignoregitignore5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitignoregitignore5a"></a><a href='/docs/gitignore'>gitignore[5]</a> </dt> <dd> <p>Specifies intentionally untracked files to ignore</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitmailmapgitmailmap5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitmailmapgitmailmap5a"></a><a href='/docs/gitmailmap'>gitmailmap[5]</a> </dt> <dd> <p>Map author/committer names and/or E-Mail addresses</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitmodulesgitmodules5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitmodulesgitmodules5a"></a><a href='/docs/gitmodules'>gitmodules[5]</a> </dt> <dd> <p>Defining submodule properties</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitrepository-layoutgitrepository-layout5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitrepository-layoutgitrepository-layout5a"></a><a href='/docs/gitrepository-layout'>gitrepository-layout[5]</a> </dt> <dd> <p>Git Repository Layout</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitrevisionsgitrevisions7a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitrevisionsgitrevisions7a"></a><a href='/docs/gitrevisions'>gitrevisions[7]</a> </dt> <dd> <p>Specifying revisions and ranges for Git</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_file_formats_protocols_and_other_developer_interfaces"><a class="anchor" href="#_file_formats_protocols_and_other_developer_interfaces"></a>File formats, protocols and other developer interfaces</h2> <div class="sectionbody"> <div class="paragraph"> <p>This documentation discusses file formats, over-the-wire protocols and other git developer interfaces. See <code>--developer-interfaces</code> in <a href='/docs/git-help'>git-help[1]</a>.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-bundlegitformat-bundle5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-bundlegitformat-bundle5a"></a><a href='/docs/gitformat-bundle'>gitformat-bundle[5]</a> </dt> <dd> <p>The bundle file format</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-chunkgitformat-chunk5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-chunkgitformat-chunk5a"></a><a href='/docs/gitformat-chunk'>gitformat-chunk[5]</a> </dt> <dd> <p>Chunk-based file formats</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-commit-graphgitformat-commit-graph5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-commit-graphgitformat-commit-graph5a"></a><a href='/docs/gitformat-commit-graph'>gitformat-commit-graph[5]</a> </dt> <dd> <p>Git commit-graph format</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-indexgitformat-index5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-indexgitformat-index5a"></a><a href='/docs/gitformat-index'>gitformat-index[5]</a> </dt> <dd> <p>Git index format</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-packgitformat-pack5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-packgitformat-pack5a"></a><a href='/docs/gitformat-pack'>gitformat-pack[5]</a> </dt> <dd> <p>Git pack format</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitformat-signaturegitformat-signature5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitformat-signaturegitformat-signature5a"></a><a href='/docs/gitformat-signature'>gitformat-signature[5]</a> </dt> <dd> <p>Git cryptographic signature formats</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitprotocol-capabilitiesgitprotocol-capabilities5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitprotocol-capabilitiesgitprotocol-capabilities5a"></a><a href='/docs/gitprotocol-capabilities'>gitprotocol-capabilities[5]</a> </dt> <dd> <p>Protocol v0 and v1 capabilities</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitprotocol-commongitprotocol-common5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitprotocol-commongitprotocol-common5a"></a><a href='/docs/gitprotocol-common'>gitprotocol-common[5]</a> </dt> <dd> <p>Things common to various protocols</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitprotocol-httpgitprotocol-http5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitprotocol-httpgitprotocol-http5a"></a><a href='/docs/gitprotocol-http'>gitprotocol-http[5]</a> </dt> <dd> <p>Git HTTP-based protocols</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitprotocol-packgitprotocol-pack5a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitprotocol-packgitprotocol-pack5a"></a><a href='/docs/gitprotocol-pack'>gitprotocol-pack[5]</a> </dt> <dd> <p>How packs are transferred over-the-wire</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ahrefrelurldocsgitprotocol-v2gitprotocol-v25a"> <a class="anchor" href="#Documentation/git.txt-ahrefrelurldocsgitprotocol-v2gitprotocol-v25a"></a><a href='/docs/gitprotocol-v2'>gitprotocol-v2[5]</a> </dt> <dd> <p>Git Wire Protocol, Version 2</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_configuration_mechanism"><a class="anchor" href="#_configuration_mechanism"></a>Configuration Mechanism</h2> <div class="sectionbody"> <div class="paragraph"> <p>Git uses a simple text format to store customizations that are per repository and are per user. Such a configuration file may look like this:</p> </div> <div class="listingblock"> <div class="content"> <pre># # A '#' or ';' character indicates a comment. # ; core variables [core] ; Don't trust file modes filemode = false ; user identity [user] name = "Junio C Hamano" email = "gitster@pobox.com"</pre> </div> </div> <div class="paragraph"> <p>Various commands read from the configuration file and adjust their operation accordingly. See <a href='/docs/git-config'>git-config[1]</a> for a list and more details about the configuration mechanism.</p> </div> </div> </div> <div class="sect1"> <h2 id="_identifier_terminology"><a class="anchor" href="#_identifier_terminology"></a>Identifier Terminology</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-ltobjectgt"> <a class="anchor" href="#Documentation/git.txt-ltobjectgt"></a>&lt;object&gt; </dt> <dd> <p>Indicates the object name for any type of object.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltblobgt"> <a class="anchor" href="#Documentation/git.txt-ltblobgt"></a>&lt;blob&gt; </dt> <dd> <p>Indicates a blob object name.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-lttreegt"> <a class="anchor" href="#Documentation/git.txt-lttreegt"></a>&lt;tree&gt; </dt> <dd> <p>Indicates a tree object name.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltcommitgt"> <a class="anchor" href="#Documentation/git.txt-ltcommitgt"></a>&lt;commit&gt; </dt> <dd> <p>Indicates a commit object name.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-lttree-ishgt"> <a class="anchor" href="#Documentation/git.txt-lttree-ishgt"></a>&lt;tree-ish&gt; </dt> <dd> <p>Indicates a tree, commit or tag object name. A command that takes a &lt;tree-ish&gt; argument ultimately wants to operate on a &lt;tree&gt; object but automatically dereferences &lt;commit&gt; and &lt;tag&gt; objects that point at a &lt;tree&gt;.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltcommit-ishgt"> <a class="anchor" href="#Documentation/git.txt-ltcommit-ishgt"></a>&lt;commit-ish&gt; </dt> <dd> <p>Indicates a commit or tag object name. A command that takes a &lt;commit-ish&gt; argument ultimately wants to operate on a &lt;commit&gt; object but automatically dereferences &lt;tag&gt; objects that point at a &lt;commit&gt;.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-lttypegt"> <a class="anchor" href="#Documentation/git.txt-lttypegt"></a>&lt;type&gt; </dt> <dd> <p>Indicates that an object type is required. Currently one of: <code>blob</code>, <code>tree</code>, <code>commit</code>, or <code>tag</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltfilegt"> <a class="anchor" href="#Documentation/git.txt-ltfilegt"></a>&lt;file&gt; </dt> <dd> <p>Indicates a filename - almost always relative to the root of the tree structure <code>GIT_INDEX_FILE</code> describes.</p> </dd> </dl> </div> </div> </div> <div class="sect1"> <h2 id="_symbolic_identifiers"><a class="anchor" href="#_symbolic_identifiers"></a>Symbolic Identifiers</h2> <div class="sectionbody"> <div class="paragraph"> <p>Any Git command accepting any &lt;object&gt; can also use the following symbolic notation:</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-HEAD"> <a class="anchor" href="#Documentation/git.txt-HEAD"></a>HEAD </dt> <dd> <p>indicates the head of the current branch.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-lttaggt"> <a class="anchor" href="#Documentation/git.txt-lttaggt"></a>&lt;tag&gt; </dt> <dd> <p>a valid tag <em>name</em> (i.e. a <code>refs/tags/&lt;tag&gt;</code> reference).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltheadgt"> <a class="anchor" href="#Documentation/git.txt-ltheadgt"></a>&lt;head&gt; </dt> <dd> <p>a valid head <em>name</em> (i.e. a <code>refs/heads/&lt;head&gt;</code> reference).</p> </dd> </dl> </div> <div class="paragraph"> <p>For a more complete list of ways to spell object names, see "SPECIFYING REVISIONS" section in <a href='/docs/gitrevisions'>gitrevisions[7]</a>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_filedirectory_structure"><a class="anchor" href="#_filedirectory_structure"></a>File/Directory Structure</h2> <div class="sectionbody"> <div class="paragraph"> <p>Please see the <a href='/docs/gitrepository-layout'>gitrepository-layout[5]</a> document.</p> </div> <div class="paragraph"> <p>Read <a href='/docs/githooks'>githooks[5]</a> for more details about each hook.</p> </div> <div class="paragraph"> <p>Higher level SCMs may provide and manage additional information in the <code>$GIT_DIR</code>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_terminology"><a class="anchor" href="#_terminology"></a>Terminology</h2> <div class="sectionbody"> <div class="paragraph"> <p>Please see <a href='/docs/gitglossary'>gitglossary[7]</a>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_environment_variables"><a class="anchor" href="#_environment_variables"></a>Environment Variables</h2> <div class="sectionbody"> <div class="paragraph"> <p>Various Git commands pay attention to environment variables and change their behavior. The environment variables marked as "Boolean" take their values the same way as Boolean valued configuration variables, e.g. "true", "yes", "on" and positive numbers are taken as "yes".</p> </div> <div class="paragraph"> <p>Here are the variables:</p> </div> <div class="sect2"> <h3 id="_the_git_repository"><a class="anchor" href="#_the_git_repository"></a>The Git Repository</h3> <div class="paragraph"> <p>These environment variables apply to <em>all</em> core Git commands. Nb: it is worth noting that they may be used/overridden by SCMS sitting above Git so take care if using a foreign front-end.</p> </div> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-codeGITINDEXFILEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITINDEXFILEcode"></a><code>GIT_INDEX_FILE</code> </dt> <dd> <p>This environment variable specifies an alternate index file. If not specified, the default of <code>$GIT_DIR/index</code> is used.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITINDEXVERSIONcode"> <a class="anchor" href="#Documentation/git.txt-codeGITINDEXVERSIONcode"></a><code>GIT_INDEX_VERSION</code> </dt> <dd> <p>This environment variable specifies what index version is used when writing the index file out. It won&#8217;t affect existing index files. By default index file version 2 or 3 is used. See <a href='/docs/git-update-index'>git-update-index[1]</a> for more information.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITOBJECTDIRECTORYcode"> <a class="anchor" href="#Documentation/git.txt-codeGITOBJECTDIRECTORYcode"></a><code>GIT_OBJECT_DIRECTORY</code> </dt> <dd> <p>If the object storage directory is specified via this environment variable then the sha1 directories are created underneath - otherwise the default <code>$GIT_DIR/objects</code> directory is used.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITALTERNATEOBJECTDIRECTORIEScode"> <a class="anchor" href="#Documentation/git.txt-codeGITALTERNATEOBJECTDIRECTORIEScode"></a><code>GIT_ALTERNATE_OBJECT_DIRECTORIES</code> </dt> <dd> <p>Due to the immutable nature of Git objects, old objects can be archived into shared, read-only directories. This variable specifies a ":" separated (on Windows ";" separated) list of Git object directories which can be used to search for Git objects. New objects will not be written to these directories.</p> <div class="paragraph"> <p>Entries that begin with <code>"</code> (double-quote) will be interpreted as C-style quoted paths, removing leading and trailing double-quotes and respecting backslash escapes. E.g., the value <code>"path-with-\"-and-:-in-it":vanilla-path</code> has two paths: <code>path-with-"-and-:-in-it</code> and <code>vanilla-path</code>.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDIRcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDIRcode"></a><code>GIT_DIR</code> </dt> <dd> <p>If the <code>GIT_DIR</code> environment variable is set then it specifies a path to use instead of the default <code>.git</code> for the base of the repository. The <code>--git-dir</code> command-line option also sets this value.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITWORKTREEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITWORKTREEcode"></a><code>GIT_WORK_TREE</code> </dt> <dd> <p>Set the path to the root of the working tree. This can also be controlled by the <code>--work-tree</code> command-line option and the core.worktree configuration variable.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITNAMESPACEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITNAMESPACEcode"></a><code>GIT_NAMESPACE</code> </dt> <dd> <p>Set the Git namespace; see <a href='/docs/gitnamespaces'>gitnamespaces[7]</a> for details. The <code>--namespace</code> command-line option also sets this value.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCEILINGDIRECTORIEScode"> <a class="anchor" href="#Documentation/git.txt-codeGITCEILINGDIRECTORIEScode"></a><code>GIT_CEILING_DIRECTORIES</code> </dt> <dd> <p>This should be a colon-separated list of absolute paths. If set, it is a list of directories that Git should not chdir up into while looking for a repository directory (useful for excluding slow-loading network directories). It will not exclude the current working directory or a GIT_DIR set on the command line or in the environment. Normally, Git has to read the entries in this list and resolve any symlink that might be present in order to compare them with the current directory. However, if even this access is slow, you can add an empty entry to the list to tell Git that the subsequent entries are not symlinks and needn&#8217;t be resolved; e.g., <code>GIT_CEILING_DIRECTORIES=/maybe/symlink::/very/slow/non/symlink</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDISCOVERYACROSSFILESYSTEMcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDISCOVERYACROSSFILESYSTEMcode"></a><code>GIT_DISCOVERY_ACROSS_FILESYSTEM</code> </dt> <dd> <p>When run in a directory that does not have ".git" repository directory, Git tries to find such a directory in the parent directories to find the top of the working tree, but by default it does not cross filesystem boundaries. This Boolean environment variable can be set to true to tell Git not to stop at filesystem boundaries. Like <code>GIT_CEILING_DIRECTORIES</code>, this will not affect an explicit repository directory set via <code>GIT_DIR</code> or on the command line.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCOMMONDIRcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCOMMONDIRcode"></a><code>GIT_COMMON_DIR</code> </dt> <dd> <p>If this variable is set to a path, non-worktree files that are normally in $GIT_DIR will be taken from this path instead. Worktree-specific files such as HEAD or index are taken from $GIT_DIR. See <a href='/docs/gitrepository-layout'>gitrepository-layout[5]</a> and <a href='/docs/git-worktree'>git-worktree[1]</a> for details. This variable has lower precedence than other path variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY&#8230;&#8203;</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDEFAULTHASHcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDEFAULTHASHcode"></a><code>GIT_DEFAULT_HASH</code> </dt> <dd> <p>If this variable is set, the default hash algorithm for new repositories will be set to this value. This value is ignored when cloning and the setting of the remote repository is always used. The default is "sha1". See <code>--object-format</code> in <a href='/docs/git-init'>git-init[1]</a>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDEFAULTREFFORMATcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDEFAULTREFFORMATcode"></a><code>GIT_DEFAULT_REF_FORMAT</code> </dt> <dd> <p>If this variable is set, the default reference backend format for new repositories will be set to this value. The default is "files". See <code>--ref-format</code> in <a href='/docs/git-init'>git-init[1]</a>.</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_git_commits"><a class="anchor" href="#_git_commits"></a>Git Commits</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-codeGITAUTHORNAMEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITAUTHORNAMEcode"></a><code>GIT_AUTHOR_NAME</code> </dt> <dd> <p>The human-readable name used in the author identity when creating commit or tag objects, or when writing reflogs. Overrides the <code>user.name</code> and <code>author.name</code> configuration settings.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITAUTHOREMAILcode"> <a class="anchor" href="#Documentation/git.txt-codeGITAUTHOREMAILcode"></a><code>GIT_AUTHOR_EMAIL</code> </dt> <dd> <p>The email address used in the author identity when creating commit or tag objects, or when writing reflogs. Overrides the <code>user.email</code> and <code>author.email</code> configuration settings.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITAUTHORDATEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITAUTHORDATEcode"></a><code>GIT_AUTHOR_DATE</code> </dt> <dd> <p>The date used for the author identity when creating commit or tag objects, or when writing reflogs. See <a href='/docs/git-commit'>git-commit[1]</a> for valid formats.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCOMMITTERNAMEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCOMMITTERNAMEcode"></a><code>GIT_COMMITTER_NAME</code> </dt> <dd> <p>The human-readable name used in the committer identity when creating commit or tag objects, or when writing reflogs. Overrides the <code>user.name</code> and <code>committer.name</code> configuration settings.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCOMMITTEREMAILcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCOMMITTEREMAILcode"></a><code>GIT_COMMITTER_EMAIL</code> </dt> <dd> <p>The email address used in the author identity when creating commit or tag objects, or when writing reflogs. Overrides the <code>user.email</code> and <code>committer.email</code> configuration settings.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCOMMITTERDATEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCOMMITTERDATEcode"></a><code>GIT_COMMITTER_DATE</code> </dt> <dd> <p>The date used for the committer identity when creating commit or tag objects, or when writing reflogs. See <a href='/docs/git-commit'>git-commit[1]</a> for valid formats.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeEMAILcode"> <a class="anchor" href="#Documentation/git.txt-codeEMAILcode"></a><code>EMAIL</code> </dt> <dd> <p>The email address used in the author and committer identities if no other relevant environment variable or configuration setting has been set.</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_git_diffs"><a class="anchor" href="#_git_diffs"></a>Git Diffs</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-codeGITDIFFOPTScode"> <a class="anchor" href="#Documentation/git.txt-codeGITDIFFOPTScode"></a><code>GIT_DIFF_OPTS</code> </dt> <dd> <p>Only valid setting is "--unified=??" or "-u??" to set the number of context lines shown when a unified diff is created. This takes precedence over any "-U" or "--unified" option value passed on the Git diff command line.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITEXTERNALDIFFcode"> <a class="anchor" href="#Documentation/git.txt-codeGITEXTERNALDIFFcode"></a><code>GIT_EXTERNAL_DIFF</code> </dt> <dd> <p>When the environment variable <code>GIT_EXTERNAL_DIFF</code> is set, the program named by it is called to generate diffs, and Git does not use its builtin diff machinery. For a path that is added, removed, or modified, <code>GIT_EXTERNAL_DIFF</code> is called with 7 parameters:</p> <div class="literalblock"> <div class="content"> <pre>path old-file old-hex old-mode new-file new-hex new-mode</pre> </div> </div> <div class="paragraph"> <p>where:</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltoldnewgt-file"> <a class="anchor" href="#Documentation/git.txt-ltoldnewgt-file"></a>&lt;old|new&gt;-file </dt> <dd> <p>are files GIT_EXTERNAL_DIFF can use to read the contents of &lt;old|new&gt;,</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltoldnewgt-hex"> <a class="anchor" href="#Documentation/git.txt-ltoldnewgt-hex"></a>&lt;old|new&gt;-hex </dt> <dd> <p>are the 40-hexdigit SHA-1 hashes,</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-ltoldnewgt-mode"> <a class="anchor" href="#Documentation/git.txt-ltoldnewgt-mode"></a>&lt;old|new&gt;-mode </dt> <dd> <p>are the octal representation of the file modes.</p> <div class="paragraph"> <p>The file parameters can point at the user&#8217;s working file (e.g. <code>new-file</code> in "git-diff-files"), <code>/dev/null</code> (e.g. <code>old-file</code> when a new file is added), or a temporary file (e.g. <code>old-file</code> in the index). <code>GIT_EXTERNAL_DIFF</code> should not worry about unlinking the temporary file&#8201;&#8212;&#8201;it is removed when <code>GIT_EXTERNAL_DIFF</code> exits.</p> </div> <div class="paragraph"> <p>For a path that is unmerged, <code>GIT_EXTERNAL_DIFF</code> is called with 1 parameter, &lt;path&gt;.</p> </div> <div class="paragraph"> <p>For each path <code>GIT_EXTERNAL_DIFF</code> is called, two environment variables, <code>GIT_DIFF_PATH_COUNTER</code> and <code>GIT_DIFF_PATH_TOTAL</code> are set.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITEXTERNALDIFFTRUSTEXITCODEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITEXTERNALDIFFTRUSTEXITCODEcode"></a><code>GIT_EXTERNAL_DIFF_TRUST_EXIT_CODE</code> </dt> <dd> <p>If this Boolean environment variable is set to true then the <code>GIT_EXTERNAL_DIFF</code> command is expected to return exit code 0 if it considers the input files to be equal or 1 if it considers them to be different, like <code>diff(1)</code>. If it is set to false, which is the default, then the command is expected to return exit code 0 regardless of equality. Any other exit code causes Git to report a fatal error.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDIFFPATHCOUNTERcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDIFFPATHCOUNTERcode"></a><code>GIT_DIFF_PATH_COUNTER</code> </dt> <dd> <p>A 1-based counter incremented by one for every path.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITDIFFPATHTOTALcode"> <a class="anchor" href="#Documentation/git.txt-codeGITDIFFPATHTOTALcode"></a><code>GIT_DIFF_PATH_TOTAL</code> </dt> <dd> <p>The total number of paths.</p> </dd> </dl> </div> </div> <div class="sect2"> <h3 id="_other"><a class="anchor" href="#_other"></a>other</h3> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git.txt-codeGITMERGEVERBOSITYcode"> <a class="anchor" href="#Documentation/git.txt-codeGITMERGEVERBOSITYcode"></a><code>GIT_MERGE_VERBOSITY</code> </dt> <dd> <p>A number controlling the amount of output shown by the recursive merge strategy. Overrides merge.verbosity. See <a href='/docs/git-merge'>git-merge[1]</a></p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITPAGERcode"> <a class="anchor" href="#Documentation/git.txt-codeGITPAGERcode"></a><code>GIT_PAGER</code> </dt> <dd> <p>This environment variable overrides <code>$PAGER</code>. If it is set to an empty string or to the value "cat", Git will not launch a pager. See also the <code>core.pager</code> option in <a href='/docs/git-config'>git-config[1]</a>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITPROGRESSDELAYcode"> <a class="anchor" href="#Documentation/git.txt-codeGITPROGRESSDELAYcode"></a><code>GIT_PROGRESS_DELAY</code> </dt> <dd> <p>A number controlling how many seconds to delay before showing optional progress indicators. Defaults to 2.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITEDITORcode"> <a class="anchor" href="#Documentation/git.txt-codeGITEDITORcode"></a><code>GIT_EDITOR</code> </dt> <dd> <p>This environment variable overrides <code>$EDITOR</code> and <code>$VISUAL</code>. It is used by several Git commands when, on interactive mode, an editor is to be launched. See also <a href='/docs/git-var'>git-var[1]</a> and the <code>core.editor</code> option in <a href='/docs/git-config'>git-config[1]</a>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITSEQUENCEEDITORcode"> <a class="anchor" href="#Documentation/git.txt-codeGITSEQUENCEEDITORcode"></a><code>GIT_SEQUENCE_EDITOR</code> </dt> <dd> <p>This environment variable overrides the configured Git editor when editing the todo list of an interactive rebase. See also <a href='/docs/git-rebase'>git-rebase[1]</a> and the <code>sequence.editor</code> option in <a href='/docs/git-config'>git-config[1]</a>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITSSHcode"> <a class="anchor" href="#Documentation/git.txt-codeGITSSHcode"></a><code>GIT_SSH</code> </dt> <dt class="hdlist1" id="Documentation/git.txt-codeGITSSHCOMMANDcode"> <a class="anchor" href="#Documentation/git.txt-codeGITSSHCOMMANDcode"></a><code>GIT_SSH_COMMAND</code> </dt> <dd> <p>If either of these environment variables is set then <em>git fetch</em> and <em>git push</em> will use the specified command instead of <em>ssh</em> when they need to connect to a remote system. The command-line parameters passed to the configured command are determined by the ssh variant. See <code>ssh.variant</code> option in <a href='/docs/git-config'>git-config[1]</a> for details.</p> <div class="paragraph"> <p><code>$GIT_SSH_COMMAND</code> takes precedence over <code>$GIT_SSH</code>, and is interpreted by the shell, which allows additional arguments to be included. <code>$GIT_SSH</code> on the other hand must be just the path to a program (which can be a wrapper shell script, if additional arguments are needed).</p> </div> <div class="paragraph"> <p>Usually it is easier to configure any desired options through your personal <code>.ssh/config</code> file. Please consult your ssh documentation for further details.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITSSHVARIANTcode"> <a class="anchor" href="#Documentation/git.txt-codeGITSSHVARIANTcode"></a><code>GIT_SSH_VARIANT</code> </dt> <dd> <p>If this environment variable is set, it overrides Git&#8217;s autodetection whether <code>GIT_SSH</code>/<code>GIT_SSH_COMMAND</code>/<code>core.sshCommand</code> refer to OpenSSH, plink or tortoiseplink. This variable overrides the config setting <code>ssh.variant</code> that serves the same purpose.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITSSLNOVERIFYcode"> <a class="anchor" href="#Documentation/git.txt-codeGITSSLNOVERIFYcode"></a><code>GIT_SSL_NO_VERIFY</code> </dt> <dd> <p>Setting and exporting this environment variable to any value tells Git not to verify the SSL certificate when fetching or pushing over HTTPS.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITATTRSOURCEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITATTRSOURCEcode"></a><code>GIT_ATTR_SOURCE</code> </dt> <dd> <p>Sets the treeish that gitattributes will be read from.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITASKPASScode"> <a class="anchor" href="#Documentation/git.txt-codeGITASKPASScode"></a><code>GIT_ASKPASS</code> </dt> <dd> <p>If this environment variable is set, then Git commands which need to acquire passwords or passphrases (e.g. for HTTP or IMAP authentication) will call this program with a suitable prompt as command-line argument and read the password from its STDOUT. See also the <code>core.askPass</code> option in <a href='/docs/git-config'>git-config[1]</a>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTERMINALPROMPTcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTERMINALPROMPTcode"></a><code>GIT_TERMINAL_PROMPT</code> </dt> <dd> <p>If this Boolean environment variable is set to false, git will not prompt on the terminal (e.g., when asking for HTTP authentication).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCONFIGGLOBALcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCONFIGGLOBALcode"></a><code>GIT_CONFIG_GLOBAL</code> </dt> <dt class="hdlist1" id="Documentation/git.txt-codeGITCONFIGSYSTEMcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCONFIGSYSTEMcode"></a><code>GIT_CONFIG_SYSTEM</code> </dt> <dd> <p>Take the configuration from the given files instead from global or system-level configuration files. If <code>GIT_CONFIG_SYSTEM</code> is set, the system config file defined at build time (usually <code>/etc/gitconfig</code>) will not be read. Likewise, if <code>GIT_CONFIG_GLOBAL</code> is set, neither <code>$HOME/.gitconfig</code> nor <code>$XDG_CONFIG_HOME/git/config</code> will be read. Can be set to <code>/dev/null</code> to skip reading configuration files of the respective level.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCONFIGNOSYSTEMcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCONFIGNOSYSTEMcode"></a><code>GIT_CONFIG_NOSYSTEM</code> </dt> <dd> <p>Whether to skip reading settings from the system-wide <code>$(prefix)/etc/gitconfig</code> file. This Boolean environment variable can be used along with <code>$HOME</code> and <code>$XDG_CONFIG_HOME</code> to create a predictable environment for a picky script, or you can set it to true to temporarily avoid using a buggy <code>/etc/gitconfig</code> file while waiting for someone with sufficient permissions to fix it.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITFLUSHcode"> <a class="anchor" href="#Documentation/git.txt-codeGITFLUSHcode"></a><code>GIT_FLUSH</code> </dt> <dd> <p>If this Boolean environment variable is set to true, then commands such as <em>git blame</em> (in incremental mode), <em>git rev-list</em>, <em>git log</em>, <em>git check-attr</em> and <em>git check-ignore</em> will force a flush of the output stream after each record have been flushed. If this variable is set to false, the output of these commands will be done using completely buffered I/O. If this environment variable is not set, Git will choose buffered or record-oriented flushing based on whether stdout appears to be redirected to a file or not.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEcode"></a><code>GIT_TRACE</code> </dt> <dd> <p>Enables general trace messages, e.g. alias expansion, built-in command execution and external command execution.</p> <div class="paragraph"> <p>If this variable is set to "1", "2" or "true" (comparison is case insensitive), trace messages will be printed to stderr.</p> </div> <div class="paragraph"> <p>If the variable is set to an integer value greater than 2 and lower than 10 (strictly) then Git will interpret this value as an open file descriptor and will try to write the trace messages into this file descriptor.</p> </div> <div class="paragraph"> <p>Alternatively, if the variable is set to an absolute path (starting with a <em>/</em> character), Git will interpret this as a file path and will try to append the trace messages to it.</p> </div> <div class="paragraph"> <p>Unsetting the variable, or setting it to empty, "0" or "false" (case insensitive) disables trace messages.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEFSMONITORcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEFSMONITORcode"></a><code>GIT_TRACE_FSMONITOR</code> </dt> <dd> <p>Enables trace messages for the filesystem monitor extension. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEPACKACCESScode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEPACKACCESScode"></a><code>GIT_TRACE_PACK_ACCESS</code> </dt> <dd> <p>Enables trace messages for all accesses to any packs. For each access, the pack file name and an offset in the pack is recorded. This may be helpful for troubleshooting some pack-related performance problems. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEPACKETcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEPACKETcode"></a><code>GIT_TRACE_PACKET</code> </dt> <dd> <p>Enables trace messages for all packets coming in or out of a given program. This can help with debugging object negotiation or other protocol issues. Tracing is turned off at a packet starting with "PACK" (but see <code>GIT_TRACE_PACKFILE</code> below). See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEPACKFILEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEPACKFILEcode"></a><code>GIT_TRACE_PACKFILE</code> </dt> <dd> <p>Enables tracing of packfiles sent or received by a given program. Unlike other trace output, this trace is verbatim: no headers, and no quoting of binary data. You almost certainly want to direct into a file (e.g., <code>GIT_TRACE_PACKFILE=/tmp/my.pack</code>) rather than displaying it on the terminal or mixing it with other trace output.</p> <div class="paragraph"> <p>Note that this is currently only implemented for the client side of clones and fetches.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEPERFORMANCEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEPERFORMANCEcode"></a><code>GIT_TRACE_PERFORMANCE</code> </dt> <dd> <p>Enables performance related trace messages, e.g. total execution time of each Git command. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEREFScode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEREFScode"></a><code>GIT_TRACE_REFS</code> </dt> <dd> <p>Enables trace messages for operations on the ref database. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACESETUPcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACESETUPcode"></a><code>GIT_TRACE_SETUP</code> </dt> <dd> <p>Enables trace messages printing the .git, working tree and current working directory after Git has completed its setup phase. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACESHALLOWcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACESHALLOWcode"></a><code>GIT_TRACE_SHALLOW</code> </dt> <dd> <p>Enables trace messages that can help debugging fetching / cloning of shallow repositories. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACECURLcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACECURLcode"></a><code>GIT_TRACE_CURL</code> </dt> <dd> <p>Enables a curl full trace dump of all incoming and outgoing data, including descriptive information, of the git transport protocol. This is similar to doing curl <code>--trace-ascii</code> on the command line. See <code>GIT_TRACE</code> for available trace output options.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACECURLNODATAcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACECURLNODATAcode"></a><code>GIT_TRACE_CURL_NO_DATA</code> </dt> <dd> <p>When a curl trace is enabled (see <code>GIT_TRACE_CURL</code> above), do not dump data (that is, only dump info lines and headers).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACE2code"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACE2code"></a><code>GIT_TRACE2</code> </dt> <dd> <p>Enables more detailed trace messages from the "trace2" library. Output from <code>GIT_TRACE2</code> is a simple text-based format for human readability.</p> <div class="paragraph"> <p>If this variable is set to "1", "2" or "true" (comparison is case insensitive), trace messages will be printed to stderr.</p> </div> <div class="paragraph"> <p>If the variable is set to an integer value greater than 2 and lower than 10 (strictly) then Git will interpret this value as an open file descriptor and will try to write the trace messages into this file descriptor.</p> </div> <div class="paragraph"> <p>Alternatively, if the variable is set to an absolute path (starting with a <em>/</em> character), Git will interpret this as a file path and will try to append the trace messages to it. If the path already exists and is a directory, the trace messages will be written to files (one per process) in that directory, named according to the last component of the SID and an optional counter (to avoid filename collisions).</p> </div> <div class="paragraph"> <p>In addition, if the variable is set to <code>af_unix:[&lt;socket-type&gt;:]&lt;absolute-pathname&gt;</code>, Git will try to open the path as a Unix Domain Socket. The socket type can be either <code>stream</code> or <code>dgram</code>.</p> </div> <div class="paragraph"> <p>Unsetting the variable, or setting it to empty, "0" or "false" (case insensitive) disables trace messages.</p> </div> <div class="paragraph"> <p>See <a href="/docs/api-trace2">Trace2 documentation</a> for full details.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACE2EVENTcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACE2EVENTcode"></a><code>GIT_TRACE2_EVENT</code> </dt> <dd> <p>This setting writes a JSON-based format that is suited for machine interpretation. See <code>GIT_TRACE2</code> for available trace output options and <a href="/docs/api-trace2">Trace2 documentation</a> for full details.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACE2PERFcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACE2PERFcode"></a><code>GIT_TRACE2_PERF</code> </dt> <dd> <p>In addition to the text-based messages available in <code>GIT_TRACE2</code>, this setting writes a column-based format for understanding nesting regions. See <code>GIT_TRACE2</code> for available trace output options and <a href="/docs/api-trace2">Trace2 documentation</a> for full details.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITTRACEREDACTcode"> <a class="anchor" href="#Documentation/git.txt-codeGITTRACEREDACTcode"></a><code>GIT_TRACE_REDACT</code> </dt> <dd> <p>By default, when tracing is activated, Git redacts the values of cookies, the "Authorization:" header, the "Proxy-Authorization:" header and packfile URIs. Set this Boolean environment variable to false to prevent this redaction.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITNOREPLACEOBJECTScode"> <a class="anchor" href="#Documentation/git.txt-codeGITNOREPLACEOBJECTScode"></a><code>GIT_NO_REPLACE_OBJECTS</code> </dt> <dd> <p>Setting and exporting this environment variable tells Git to ignore replacement refs and do not replace Git objects.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITLITERALPATHSPECScode"> <a class="anchor" href="#Documentation/git.txt-codeGITLITERALPATHSPECScode"></a><code>GIT_LITERAL_PATHSPECS</code> </dt> <dd> <p>Setting this Boolean environment variable to true will cause Git to treat all pathspecs literally, rather than as glob patterns. For example, running <code>GIT_LITERAL_PATHSPECS=1 git log -- '*.c'</code> will search for commits that touch the path <code>*.c</code>, not any paths that the glob <code>*.c</code> matches. You might want this if you are feeding literal paths to Git (e.g., paths previously given to you by <code>git ls-tree</code>, <code>--raw</code> diff output, etc).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITGLOBPATHSPECScode"> <a class="anchor" href="#Documentation/git.txt-codeGITGLOBPATHSPECScode"></a><code>GIT_GLOB_PATHSPECS</code> </dt> <dd> <p>Setting this Boolean environment variable to true will cause Git to treat all pathspecs as glob patterns (aka "glob" magic).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITNOGLOBPATHSPECScode"> <a class="anchor" href="#Documentation/git.txt-codeGITNOGLOBPATHSPECScode"></a><code>GIT_NOGLOB_PATHSPECS</code> </dt> <dd> <p>Setting this Boolean environment variable to true will cause Git to treat all pathspecs as literal (aka "literal" magic).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITICASEPATHSPECScode"> <a class="anchor" href="#Documentation/git.txt-codeGITICASEPATHSPECScode"></a><code>GIT_ICASE_PATHSPECS</code> </dt> <dd> <p>Setting this Boolean environment variable to true will cause Git to treat all pathspecs as case-insensitive.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITNOLAZYFETCHcode"> <a class="anchor" href="#Documentation/git.txt-codeGITNOLAZYFETCHcode"></a><code>GIT_NO_LAZY_FETCH</code> </dt> <dd> <p>Setting this Boolean environment variable to true tells Git not to lazily fetch missing objects from the promisor remote on demand.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITREFLOGACTIONcode"> <a class="anchor" href="#Documentation/git.txt-codeGITREFLOGACTIONcode"></a><code>GIT_REFLOG_ACTION</code> </dt> <dd> <p>When a ref is updated, reflog entries are created to keep track of the reason why the ref was updated (which is typically the name of the high-level command that updated the ref), in addition to the old and new values of the ref. A scripted Porcelain command can use set_reflog_action helper function in <code>git-sh-setup</code> to set its name to this variable when it is invoked as the top level command by the end user, to be recorded in the body of the reflog.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITREFPARANOIAcode"> <a class="anchor" href="#Documentation/git.txt-codeGITREFPARANOIAcode"></a><code>GIT_REF_PARANOIA</code> </dt> <dd> <p>If this Boolean environment variable is set to false, ignore broken or badly named refs when iterating over lists of refs. Normally Git will try to include any such refs, which may cause some operations to fail. This is usually preferable, as potentially destructive operations (e.g., <a href='/docs/git-prune'>git-prune[1]</a>) are better off aborting rather than ignoring broken refs (and thus considering the history they point to as not worth saving). The default value is <code>1</code> (i.e., be paranoid about detecting and aborting all operations). You should not normally need to set this to <code>0</code>, but it may be useful when trying to salvage data from a corrupted repository.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITCOMMITGRAPHPARANOIAcode"> <a class="anchor" href="#Documentation/git.txt-codeGITCOMMITGRAPHPARANOIAcode"></a><code>GIT_COMMIT_GRAPH_PARANOIA</code> </dt> <dd> <p>When loading a commit object from the commit-graph, Git performs an existence check on the object in the object database. This is done to avoid issues with stale commit-graphs that contain references to already-deleted commits, but comes with a performance penalty.</p> <div class="paragraph"> <p>The default is "false", which disables the aforementioned behavior. Setting this to "true" enables the existence check so that stale commits will never be returned from the commit-graph at the cost of performance.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITALLOWPROTOCOLcode"> <a class="anchor" href="#Documentation/git.txt-codeGITALLOWPROTOCOLcode"></a><code>GIT_ALLOW_PROTOCOL</code> </dt> <dd> <p>If set to a colon-separated list of protocols, behave as if <code>protocol.allow</code> is set to <code>never</code>, and each of the listed protocols has <code>protocol.&lt;name&gt;.allow</code> set to <code>always</code> (overriding any existing configuration). See the description of <code>protocol.allow</code> in <a href='/docs/git-config'>git-config[1]</a> for more details.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITPROTOCOLFROMUSERcode"> <a class="anchor" href="#Documentation/git.txt-codeGITPROTOCOLFROMUSERcode"></a><code>GIT_PROTOCOL_FROM_USER</code> </dt> <dd> <p>Set this Boolean environment variable to false to prevent protocols used by fetch/push/clone which are configured to the <code>user</code> state. This is useful to restrict recursive submodule initialization from an untrusted repository or for programs which feed potentially-untrusted URLS to git commands. See <a href='/docs/git-config'>git-config[1]</a> for more details.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITPROTOCOLcode"> <a class="anchor" href="#Documentation/git.txt-codeGITPROTOCOLcode"></a><code>GIT_PROTOCOL</code> </dt> <dd> <p>For internal use only. Used in handshaking the wire protocol. Contains a colon <em>:</em> separated list of keys with optional values <em>&lt;key&gt;[=&lt;value&gt;]</em>. Presence of unknown keys and values must be ignored.</p> <div class="paragraph"> <p>Note that servers may need to be configured to allow this variable to pass over some transports. It will be propagated automatically when accessing local repositories (i.e., <code>file://</code> or a filesystem path), as well as over the <code>git://</code> protocol. For git-over-http, it should work automatically in most configurations, but see the discussion in <a href='/docs/git-http-backend'>git-http-backend[1]</a>. For git-over-ssh, the ssh server may need to be configured to allow clients to pass this variable (e.g., by using <code>AcceptEnv GIT_PROTOCOL</code> with OpenSSH).</p> </div> <div class="paragraph"> <p>This configuration is optional. If the variable is not propagated, then clients will fall back to the original "v0" protocol (but may miss out on some performance improvements or features). This variable currently only affects clones and fetches; it is not yet used for pushes (but may be in the future).</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITOPTIONALLOCKScode"> <a class="anchor" href="#Documentation/git.txt-codeGITOPTIONALLOCKScode"></a><code>GIT_OPTIONAL_LOCKS</code> </dt> <dd> <p>If this Boolean environment variable is set to false, Git will complete any requested operation without performing any optional sub-operations that require taking a lock. For example, this will prevent <code>git status</code> from refreshing the index as a side effect. This is useful for processes running in the background which do not want to cause lock contention with other operations on the repository. Defaults to <code>1</code>.</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITREDIRECTSTDINcode"> <a class="anchor" href="#Documentation/git.txt-codeGITREDIRECTSTDINcode"></a><code>GIT_REDIRECT_STDIN</code> </dt> <dt class="hdlist1" id="Documentation/git.txt-codeGITREDIRECTSTDOUTcode"> <a class="anchor" href="#Documentation/git.txt-codeGITREDIRECTSTDOUTcode"></a><code>GIT_REDIRECT_STDOUT</code> </dt> <dt class="hdlist1" id="Documentation/git.txt-codeGITREDIRECTSTDERRcode"> <a class="anchor" href="#Documentation/git.txt-codeGITREDIRECTSTDERRcode"></a><code>GIT_REDIRECT_STDERR</code> </dt> <dd> <p>Windows-only: allow redirecting the standard input/output/error handles to paths specified by the environment variables. This is particularly useful in multi-threaded applications where the canonical way to pass standard handles via <code>CreateProcess()</code> is not an option because it would require the handles to be marked inheritable (and consequently <strong>every</strong> spawned process would inherit them, possibly blocking regular Git operations). The primary intended use case is to use named pipes for communication (e.g. <code>\\.\pipe\my-git-stdin-123</code>).</p> <div class="paragraph"> <p>Two special values are supported: <code>off</code> will simply close the corresponding standard handle, and if <code>GIT_REDIRECT_STDERR</code> is <code>2&gt;&amp;1</code>, standard error will be redirected to the same handle as standard output.</p> </div> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITPRINTSHA1ELLIPSIScodedeprecated"> <a class="anchor" href="#Documentation/git.txt-codeGITPRINTSHA1ELLIPSIScodedeprecated"></a><code>GIT_PRINT_SHA1_ELLIPSIS</code> (deprecated) </dt> <dd> <p>If set to <code>yes</code>, print an ellipsis following an (abbreviated) SHA-1 value. This affects indications of detached HEADs (<a href='/docs/git-checkout'>git-checkout[1]</a>) and the raw diff output (<a href='/docs/git-diff'>git-diff[1]</a>). Printing an ellipsis in the cases mentioned is no longer considered adequate and support for it is likely to be removed in the foreseeable future (along with the variable).</p> </dd> <dt class="hdlist1" id="Documentation/git.txt-codeGITADVICEcode"> <a class="anchor" href="#Documentation/git.txt-codeGITADVICEcode"></a><code>GIT_ADVICE</code> </dt> <dd> <p>If set to <code>0</code>, then disable all advice messages. These messages are intended to provide hints to human users that may help them get out of problematic situations or take advantage of new features. Users can disable individual messages using the <code>advice.*</code> config keys. These messages may be disruptive to tools that execute Git processes, so this variable is available to disable the messages. (The <code>--no-advice</code> global option is also available, but old Git versions may fail when this option is not understood. The environment variable will be ignored by Git versions that do not understand it.)</p> </dd> </dl> </div> </div> </div> </div> <div class="sect1"> <h2 id="_discussion"><a class="anchor" href="#_discussion"></a>Discussion<a id="Discussion"></a></h2> <div class="sectionbody"> <div class="paragraph"> <p>More detail on the following is available from the <a href="/docs/user-manual#git-concepts">Git concepts chapter of the user-manual</a> and <a href='/docs/gitcore-tutorial'>gitcore-tutorial[7]</a>.</p> </div> <div class="paragraph"> <p>A Git project normally consists of a working directory with a ".git" subdirectory at the top level. The .git directory contains, among other things, a compressed object database representing the complete history of the project, an "index" file which links that history to the current contents of the working tree, and named pointers into that history such as tags and branch heads.</p> </div> <div class="paragraph"> <p>The object database contains objects of three main types: blobs, which hold file data; trees, which point to blobs and other trees to build up directory hierarchies; and commits, which each reference a single tree and some number of parent commits.</p> </div> <div class="paragraph"> <p>The commit, equivalent to what other systems call a "changeset" or "version", represents a step in the project&#8217;s history, and each parent represents an immediately preceding step. Commits with more than one parent represent merges of independent lines of development.</p> </div> <div class="paragraph"> <p>All objects are named by the SHA-1 hash of their contents, normally written as a string of 40 hex digits. Such names are globally unique. The entire history leading up to a commit can be vouched for by signing just that commit. A fourth object type, the tag, is provided for this purpose.</p> </div> <div class="paragraph"> <p>When first created, objects are stored in individual files, but for efficiency may later be compressed together into "pack files".</p> </div> <div class="paragraph"> <p>Named pointers called refs mark interesting points in history. A ref may contain the SHA-1 name of an object or the name of another ref (the latter is called a "symbolic ref"). Refs with names beginning <code>refs/head/</code> contain the SHA-1 name of the most recent commit (or "head") of a branch under development. SHA-1 names of tags of interest are stored under <code>refs/tags/</code>. A symbolic ref named <code>HEAD</code> contains the name of the currently checked-out branch.</p> </div> <div class="paragraph"> <p>The index file is initialized with a list of all paths and, for each path, a blob object and a set of attributes. The blob object represents the contents of the file as of the head of the current branch. The attributes (last modified time, size, etc.) are taken from the corresponding file in the working tree. Subsequent changes to the working tree can be found by comparing these attributes. The index may be updated with new content, and new commits may be created from the content stored in the index.</p> </div> <div class="paragraph"> <p>The index is also capable of storing multiple entries (called "stages") for a given pathname. These stages are used to hold the various unmerged version of a file when a merge is in progress.</p> </div> </div> </div> <div class="sect1"> <h2 id="_security"><a class="anchor" href="#_security"></a>SECURITY</h2> <div class="sectionbody"> <div class="paragraph"> <p>Some configuration options and hook files may cause Git to run arbitrary shell commands. Because configuration and hooks are not copied using <code>git clone</code>, it is generally safe to clone remote repositories with untrusted content, inspect them with <code>git log</code>, and so on.</p> </div> <div class="paragraph"> <p>However, it is not safe to run Git commands in a <code>.git</code> directory (or the working tree that surrounds it) when that <code>.git</code> directory itself comes from an untrusted source. The commands in its config and hooks are executed in the usual way.</p> </div> <div class="paragraph"> <p>By default, Git will refuse to run when the repository is owned by someone other than the user running the command. See the entry for <code>safe.directory</code> in <a href='/docs/git-config'>git-config[1]</a>. While this can help protect you in a multi-user environment, note that you can also acquire untrusted repositories that are owned by you (for example, if you extract a zip file or tarball from an untrusted source). In such cases, you&#8217;d need to "sanitize" the untrusted repository first.</p> </div> <div class="paragraph"> <p>If you have an untrusted <code>.git</code> directory, you should first clone it with <code>git clone --no-local</code> to obtain a clean copy. Git does restrict the set of options and hooks that will be run by <code>upload-pack</code>, which handles the server side of a clone or fetch, but beware that the surface area for attack against <code>upload-pack</code> is large, so this does carry some risk. The safest thing is to serve the repository as an unprivileged user (either via <a href='/docs/git-daemon'>git-daemon[1]</a>, ssh, or using other tools to change user ids). See the discussion in the <code>SECURITY</code> section of <a href='/docs/git-upload-pack'>git-upload-pack[1]</a>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_further_documentation"><a class="anchor" href="#_further_documentation"></a>FURTHER DOCUMENTATION</h2> <div class="sectionbody"> <div class="paragraph"> <p>See the references in the "description" section to get started using Git. The following is probably more detail than necessary for a first-time user.</p> </div> <div class="paragraph"> <p>The <a href="/docs/user-manual#git-concepts">Git concepts chapter of the user-manual</a> and <a href='/docs/gitcore-tutorial'>gitcore-tutorial[7]</a> both provide introductions to the underlying Git architecture.</p> </div> <div class="paragraph"> <p>See <a href='/docs/gitworkflows'>gitworkflows[7]</a> for an overview of recommended workflows.</p> </div> <div class="paragraph"> <p>See also the <a href="/docs/howto-index">howto</a> documents for some useful examples.</p> </div> <div class="paragraph"> <p>The internals are documented in the <a href="/docs/api-index">Git API documentation</a>.</p> </div> <div class="paragraph"> <p>Users migrating from CVS may also want to read <a href='/docs/gitcvs-migration'>gitcvs-migration[7]</a>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_authors"><a class="anchor" href="#_authors"></a>Authors</h2> <div class="sectionbody"> <div class="paragraph"> <p>Git was started by Linus Torvalds, and is currently maintained by Junio C Hamano. Numerous contributions have come from the Git mailing list &lt;<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>&gt;. <a href="https://openhub.net/p/git/contributors/summary" class="bare">https://openhub.net/p/git/contributors/summary</a> gives you a more complete list of contributors.</p> </div> <div class="paragraph"> <p>If you have a clone of git.git itself, the output of <a href='/docs/git-shortlog'>git-shortlog[1]</a> and <a href='/docs/git-blame'>git-blame[1]</a> can show you the authors for specific parts of the project.</p> </div> </div> </div> <div class="sect1"> <h2 id="_reporting_bugs"><a class="anchor" href="#_reporting_bugs"></a>Reporting Bugs</h2> <div class="sectionbody"> <div class="paragraph"> <p>Report bugs to the Git mailing list &lt;<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>&gt; where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there. See the list archive at <a href="https://lore.kernel.org/git" class="bare">https://lore.kernel.org/git</a> for previous bug reports and other discussions.</p> </div> <div class="paragraph"> <p>Issues which are security relevant should be disclosed privately to the Git Security mailing list &lt;<a href="mailto:git-security@googlegroups.com">git-security@googlegroups.com</a>&gt;.</p> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>SEE ALSO</h2> <div class="sectionbody"> <div class="paragraph"> <p><a href='/docs/gittutorial'>gittutorial[7]</a>, <a href='/docs/gittutorial-2'>gittutorial-2[7]</a>, <a href='/docs/giteveryday'>giteveryday[7]</a>, <a href='/docs/gitcvs-migration'>gitcvs-migration[7]</a>, <a href='/docs/gitglossary'>gitglossary[7]</a>, <a href='/docs/gitcore-tutorial'>gitcore-tutorial[7]</a>, <a href='/docs/gitcli'>gitcli[7]</a>, <a href="/docs/user-manual">The Git User&#8217;s Manual</a>, <a href='/docs/gitworkflows'>gitworkflows[7]</a></p> </div> </div> </div> <div class="sect1"> <h2 id="_git"><a class="anchor" href="#_git"></a>GIT</h2> <div class="sectionbody"> <div class="paragraph"> <p>Part of the <a href='/docs/git'>git[1]</a> suite</p> </div> </div> </div> <h3 hidden="true" data-pagefind-weight="10">git</h3> </div> </div> </div> <footer> <div class="site-source"> <a href="/site">About this site</a><br> Patches, suggestions, and comments are welcome. </div> <div class="sfc-member"> Git is a member of <a href="/sfc">Software Freedom Conservancy</a> </div> </footer> <a href="#top" class="no-js scrollToTop" id="scrollToTop" data-label="Scroll to top"> <img src="/images/icons/chevron-up@2x.png" width="20" height="20" alt="scroll-to-top"/> </a> <script src="/js/jquery-1.7.1.min.js"></script> <script src="/js/jquery-ui-1.8.18.custom.min.js"></script> <script src="/js/jquery.defaultvalue.js"></script> <script src="/js/session.min.js"></script> <script src="/js/application.min.js"></script> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10