enigmare/v2-crawler
1889
1{"id":"doc-git_reference-0c5da011","source":"documentation","title":"Git - Reference","url":"http://git-scm.com/docs","text":"About Trademark Learn Book Cheat Sheet Videos External Links Tools Command Line GUIs Hosting Reference Install Community Reference Quick reference Sheet Complete list of all commands Setup and Config git config help bugreport Credential helpers Getting and Creating Projects init clone Basic Snapshotting add status diff commit notes restore reset rm mv Branching and Merging branch checkout switch merge mergetool log stash tag worktree Sharing and Updating Projects fetch pull push remote submodule Inspection and Comparison show log diff difftool range-diff shortlog describe Patching apply cherry-pick diff rebase revert Debugging bisect blame grep Guides gitattributes Command-line interface conventions Everyday Git Frequently Asked Questions (FAQ) Glossary Hooks gitignore gitmodules Revisions Submodules Tutorial Workflows All guides... Email am apply imap-send format-patch send-email request-pull External Systems svn fast-import Administration clean gc fsck reflog filter-branch instaweb archive bundle Server Admin daemon update-server-info Plumbing Commands cat-file check-ignore checkout-index commit-tree count-objects diff-index for-each-ref hash-object ls-files ls-tree merge-base read-tree rev-list rev-parse show-ref symbolic-ref update-index update-ref verify-pack write-tree About this site Patches, suggestions, and comments are welcome. Git is a member of Software Freedom Conservancy\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.043Z","totalSectionsIncluded":1,"totalCodeBlocksIncluded":0,"totalLines":3,"estimatedTokens":356}}2{"id":"doc-git_git_bugreport_documentation-e171a148","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>]\n\t\t[(-s | --suffix) <format> | --no-suffix]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.043Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}3{"id":"doc-git_git_help_documentation-f8ee6456","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<command>|<doc>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.044Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":136}}4{"id":"doc-git_git_rm_documentation-46c3eb54","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.0.5","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.045Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":75}}5{"id":"doc-git_git_rm_documentation-5bb39872","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.26.0","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch]\n\t [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.045Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":23,"estimatedTokens":91}}6{"id":"doc-git_git_rm_documentation-1036a34f","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/pt_BR","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.046Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}7{"id":"doc-git_git_rm_documentation-fd271303","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/sv","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.046Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}8{"id":"doc-git_git_rm_documentation-fcda4693","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.13.7","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.047Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":75}}9{"id":"doc-git_git_rm_documentation-0b18abbd","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.14.6","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.047Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":75}}10{"id":"doc-git_git_rm_documentation-a19a35a9","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.15.4","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.048Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":75}}11{"id":"doc-git_git_rm_documentation-a84e0245","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/ru","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.048Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}12{"id":"doc-git_git_rm_documentation-5af6013b","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/uk","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.048Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}13{"id":"doc-git_git_rm_documentation-51ba23f2","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/zh_HANS-CN","text":"Example:\n```text\ngitrm'-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.049Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}14{"id":"doc-git_git_clone_documentation-74f0e2ff","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.54.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.050Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}15{"id":"doc-git_git_clone_documentation-428b33b4","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/sv","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tinsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/sokvag/till/\n\t\tinsteadOf = arbete:\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tpushInsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../kopia\n$ cd ../kopia\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/annananv/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.052Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":288}}16{"id":"doc-git_git_clone_documentation-14a90416","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/es","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<url-base-actual>\"]\n\t\tinsteadOf = <otra-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/ruta/a/\n\t\tinsteadOf = trabajo:\n```\n\nExample:\n```text\n[url \"<url-base-actual>\"]\n\t\tpushInsteadOf = <otra-url-base>\n```\n\nExample:\n```text\n[url \"ssh://ejemplo.org/\"]\n\t\tpushInsteadOf = git://ejemplo.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git mi-linux\n$ cd mi-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copia\n$ cd ../copia\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmi-linux\n$ cd mi-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otrousuario/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.058Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":287}}17{"id":"doc-git_git_clone_documentation-fc6c29f9","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/fr","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<veritable-base-d-url>\"]\n\t\tinsteadOf = <autre-base-d’URL>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/chemin/vers/\n\t\tinsteadOf = travail:\n```\n\nExample:\n```text\n[url \"<veritable-base-d’URL>\"]\n\t\tpushInsteadOf = <autre-base-d-URL>\n```\n\nExample:\n```text\n[url \"ssh://exemple.org/\"]\n\t\tpushInsteadOf = git://exemple.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git mon-linux\n$ cd mon-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copie\n$ cd ../copie\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmon-linux\n$ cd mon-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.059Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":293}}18{"id":"doc-git_git_clone_documentation-81bccc68","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.51.1","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.061Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}19{"id":"doc-git_git_clone_documentation-fb11ff46","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/zh_HANS-CN","text":"Example:\n```text\n'git clone' [--template=<模板目录>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <名称>] [-b <名称>] [-u <上传包>] [--reference <仓库>]\n\t [--dissociate] [--separate-git-dir <Git 目录>]\n\t [--depth <深度>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<路径规范>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<过滤条件> [--also-filter-submodules]] [--] <仓库>\n\t [<目录>]\n```\n\nExample:\n```text\n[url \"<实际基础网址>\"]\n\t\tinsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url <实际基础网址>\"]\n\t\tpushInsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.062Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":324}}20{"id":"doc-git_git_clone_documentation-b972d171","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/ru","text":"Example:\n```text\ngitclone'--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tinsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tpushInsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.063Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":289}}21{"id":"doc-git_git_clone_documentation-bbe01fc4","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.49.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.064Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}22{"id":"doc-git_git_clone_documentation-6beb264b","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.41.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.065Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":325}}23{"id":"doc-git_git_clone_documentation-fbcee617","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.44.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.066Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":325}}24{"id":"doc-git_git_clone_documentation-476b3fb2","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.52.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.068Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}25{"id":"doc-git_git_clone_documentation-9fdcb178","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.48.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.069Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}26{"id":"doc-git_git_clone_documentation-76a8ca90","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.45.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depthsingle-branch--no-tags--recurse-submodules=shallow-submodulesremote-submodules--jobs--sparsereject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.070Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":58,"estimatedTokens":259}}27{"id":"doc-git_git_clone_documentation-83e05052","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.46.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.072Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":58,"estimatedTokens":264}}28{"id":"doc-git_git_clone_documentation-fb78b2b3","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/uk","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.073Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}29{"id":"doc-git_git_clone_documentation-c7efbc12","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.47.0","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.074Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":58,"estimatedTokens":264}}30{"id":"doc-git_git_clone_documentation-43d2517f","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.43.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.075Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":325}}31{"id":"doc-git_git_clone_documentation-a4df94a4","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.38.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.077Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":325}}32{"id":"doc-git_git_clone_documentation-e21e0dd4","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.36.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter> [--also-filter-submodules]] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.078Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":325}}33{"id":"doc-git_git_clone_documentation-a748b6dd","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.35.0","text":"Example:\n```text\ngit clone [--template=<template-directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git-dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.083Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":318}}34{"id":"doc-git_git_clone_documentation-16c5f7ba","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.29.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.084Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":312}}35{"id":"doc-git_git_clone_documentation-c3f11bf3","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.32.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.085Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":318}}36{"id":"doc-git_git_clone_documentation-cf66c58f","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.30.1","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.086Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":312}}37{"id":"doc-git_git_clone_documentation-10a68ed5","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.23.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.087Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":65,"estimatedTokens":303}}38{"id":"doc-git_git_clone_documentation-237d0a8f","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.18.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.088Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":296}}39{"id":"doc-git_git_clone_documentation-c3209478","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.28.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.089Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":312}}40{"id":"doc-git_git_clone_documentation-2f664bb5","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.30.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.090Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":312}}41{"id":"doc-git_git_clone_documentation-992625e1","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.27.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse]\n\t [--filter=<filter>] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.091Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":312}}42{"id":"doc-git_git_clone_documentation-cc1a4490","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.22.1","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.092Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":296}}43{"id":"doc-git_git_clone_documentation-825ac8a5","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.16.6","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.093Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":296}}44{"id":"doc-git_git_clone_documentation-581a796c","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.25.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.094Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":65,"estimatedTokens":306}}45{"id":"doc-git_git_clone_documentation-d6c1bd56","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.21.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.095Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":296}}46{"id":"doc-git_git_init_documentation-d85d20db","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.29.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.096Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":92}}47{"id":"doc-git_git_bugreport_documentation-61cf23c5","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.44.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.096Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":34}}48{"id":"doc-git_git_bugreport_documentation-f48f390b","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.27.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.096Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":28}}49{"id":"doc-git_git_bugreport_documentation-86ddb542","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.38.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.097Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":34}}50{"id":"doc-git_git_bugreport_documentation-9b2671d8","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.28.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.097Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":28}}51{"id":"doc-git_git_help_documentation-34167dab","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/pt_BR","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<comando>|<guia>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = O_CAMINHO_PARA_O/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.097Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":138}}52{"id":"doc-git_git_help_documentation-c4198fa1","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/fr","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<commande>|<doc>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = UN_CHEMIN_VERS/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.098Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":137}}53{"id":"doc-git_git_help_documentation-e6366fac","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/zh_HANS-CN","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<命令>|<文档>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.098Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":134}}54{"id":"doc-git_git_help_documentation-65587149","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/sv","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<kommando>|<dok>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = EN_SÖKVÄG_TILL/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.099Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":137}}55{"id":"doc-git_git_help_documentation-62e99954","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.36.0","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<command>|<guide>]\ngit help [-g|--guides]\ngit help [-c|--config]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.099Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":121}}56{"id":"doc-git_git_help_documentation-9a57a3b9","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.43.0","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<command>|<doc>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.100Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":136}}57{"id":"doc-git_git_help_documentation-1ebb035a","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.38.0","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<command>|<doc>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.101Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":136}}58{"id":"doc-git_git_help_documentation-0c2d1163","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/uk","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<command>|<doc>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.101Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":136}}59{"id":"doc-git_git_help_documentation-941242b1","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.35.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]]\n\t [[-i|--info] [-m|--man] [-w|--web]] [<command>|<guide>]\ngit help [-g|--guides]\ngit help [-c|--config]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.101Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":108}}60{"id":"doc-git_git_help_documentation-de901262","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.29.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]] [-g|--guides]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.102Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":98}}61{"id":"doc-git_git_help_documentation-44f6e0c3","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/ru","text":"Example:\n```text\ngit help [-a|--all] [--[no-]verbose] [--[no-]external-commands] [--[no-]aliases]\ngit help [[-i|--info] [-m|--man] [-w|--web]] [<команда>|<документ>]\ngit help [-g|--guides]\ngit help [-c|--config]\ngit help [--user-interfaces]\ngit help [--developer-interfaces]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.102Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":33,"estimatedTokens":137}}62{"id":"doc-git_git_help_documentation-08895d2d","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.19.0","text":"Example:\n```text\ngit help [-a|--all [--verbose]] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.103Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":96}}63{"id":"doc-git_git_help_documentation-3abe6a92","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.34.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]]\n\t [[-i|--info] [-m|--man] [-w|--web]] [COMMAND|GUIDE]\ngit help [-g|--guides]\ngit help [-c|--config]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.103Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":31,"estimatedTokens":107}}64{"id":"doc-git_git_help_documentation-1891f643","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.22.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.104Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":98}}65{"id":"doc-git_git_help_documentation-93703c73","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.20.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.104Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":98}}66{"id":"doc-git_git_help_documentation-473aecfa","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.18.0","text":"Example:\n```text\ngit help [-a|--all [--verbose]] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.105Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":96}}67{"id":"doc-git_git_help_documentation-f59a152d","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.21.0","text":"Example:\n```text\ngit help [-a|--all [--[no-]verbose]] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.105Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":98}}68{"id":"doc-git_git_help_documentation-15ce04d2","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.9.5","text":"Example:\n```text\ngit help [-a|--all] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.106Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":93}}69{"id":"doc-git_git_help_documentation-f1a2b99c","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.1.4","text":"Example:\n```text\ngit help [-a|--all] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.107Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":93}}70{"id":"doc-git_git_help_documentation-05e8921d","source":"documentation","title":"Git - git-help Documentation","url":"http://git-scm.com/docs/git-help/2.0.5","text":"Example:\n```text\ngit help [-a|--all] [-g|--guide]\n\t [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konqueror\n\t\tviewer = woman\n```\n\nExample:\n```text\n[man]\n\t\tviewer = konq\n\n\t[man \"konq\"]\n\t\tcmd = A_PATH_TO/konqueror\n```\n\nExample:\n```text\n$ git config --global help.format web\n$ git config --global web.browser firefox\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.107Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":93}}71{"id":"doc-git_git_init_documentation-8b72ab41","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/es","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /ruta/a/mi/código\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.108Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":62}}72{"id":"doc-git_git_init_documentation-e501a421","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/sv","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /sokvag/till/min/kodbas\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.109Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":64}}73{"id":"doc-git_git_init_documentation-5440b18d","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/uk","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.109Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}74{"id":"doc-git_git_init_documentation-07ade0e4","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/ru","text":"Example:\n```text\n'git init' [-q | --quiet] [--bare] [--template=<каталог-шаблонов>]\n\t[--separate-git-dir <каталог-git>] [--object-format=<формат>]\n\t[--ref-format=<формат>]\n\t[-b <ветка> | --initial-branch=<ветка>]\n\t[--shared[=<права-доступа>]] [каталог]\n```\n\nExample:\n```text\n$ cd /путь/к/моей/кодовой/базе\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.110Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":96}}75{"id":"doc-git_git_init_documentation-e187b0c0","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/fr","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /chemin/vers/ma/base/de/code\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.110Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":65}}76{"id":"doc-git_git_init_documentation-e9a6268f","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.54.0","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.111Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}77{"id":"doc-git_git_init_documentation-b77dddbf","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.52.0","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.112Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}78{"id":"doc-git_git_init_documentation-d3676fb3","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.48.0","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.112Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}79{"id":"doc-git_git_init_documentation-d932f0e1","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/zh_HANS-CN","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<模板目录>]\n\t[--separate-git-dir <Git 目录>] [--object-format=<格式>]\n\t[--ref-format=<引用格式>]\n\t[-b <分支名> | --initial-branch=<分支名>]\n\t[--shared[=<许可>]] [<目录>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.113Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":84}}80{"id":"doc-git_git_init_documentation-11584ad8","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.44.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template-directory>]\n\t [--separate-git-dir <git-dir>] [--object-format=<format>]\n\t [--ref-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [<directory>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.113Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":99}}81{"id":"doc-git_git_init_documentation-291f655f","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.45.0","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.114Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}82{"id":"doc-git_git_init_documentation-5a24cb8a","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.38.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template-directory>]\n\t [--separate-git-dir <git-dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [<directory>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.114Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":93}}83{"id":"doc-git_git_init_documentation-81274b9f","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.43.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template-directory>]\n\t [--separate-git-dir <git-dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [<directory>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.115Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":93}}84{"id":"doc-git_git_init_documentation-7d102fd1","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.21.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.115Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":72}}85{"id":"doc-git_git_init_documentation-a43b4fcd","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.28.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.116Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":92}}86{"id":"doc-git_git_init_documentation-01f656be","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.27.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>] [--object-format=<format]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.116Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":78}}87{"id":"doc-git_git_init_documentation-c2302873","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.42.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template-directory>]\n\t [--separate-git-dir <git-dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [<directory>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.117Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":93}}88{"id":"doc-git_git_init_documentation-d9eeca93","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.30.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.117Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":92}}89{"id":"doc-git_git_init_documentation-ad879c95","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.35.0","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template-directory>]\n\t [--separate-git-dir <git-dir>] [--object-format=<format>]\n\t [-b <branch-name> | --initial-branch=<branch-name>]\n\t [--shared[=<permissions>]] [<directory>]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.118Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":93}}90{"id":"doc-git_git_init_documentation-7727b336","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.47.0","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.118Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}91{"id":"doc-git_git_init_documentation-970070d1","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.9.5","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.119Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":72}}92{"id":"doc-git_git_init_documentation-9c74cdda","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.12.5","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.119Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":72}}93{"id":"doc-git_git_restore_documentation-fe91b1e2","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/sv","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.120Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}94{"id":"doc-git_git_init_documentation-6a7abbdc","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.2.3","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.120Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":72}}95{"id":"doc-git_git_restore_documentation-20f5b333","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/zh_HANS-CN","text":"Example:\n```text\n'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\n'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul] 。\n'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.121Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":199}}96{"id":"doc-git_git_init_documentation-1534e4a3","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.4.12","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.121Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":72}}97{"id":"doc-git_git_restore_documentation-cee8891a","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/fr","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.122Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}98{"id":"doc-git_git_restore_documentation-c21c5bda","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/es","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.122Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}99{"id":"doc-git_git_restore_documentation-05d5724b","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/uk","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.123Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}100{"id":"doc-git_git_restore_documentation-0301637e","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.55.0","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.123Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}101{"id":"doc-git_git_restore_documentation-10cf257b","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/ru","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.124Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}102{"id":"doc-git_git_restore_documentation-6a562658","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.51.0","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.124Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}103{"id":"doc-git_git_init_documentation-8d39f657","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init/2.0.5","text":"Example:\n```text\ngit init [-q | --quiet] [--bare] [--template=<template_directory>]\n\t [--separate-git-dir <git dir>]\n\t [--shared[=<permissions>]] [directory]\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.125Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":67}}104{"id":"doc-git_git_restore_documentation-1c2277e7","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.43.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.125Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":197}}105{"id":"doc-git_git_restore_documentation-56e5a87d","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.23.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] <pathspec>…\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.126Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":45,"estimatedTokens":165}}106{"id":"doc-git_git_mv_documentation-dac42b1d","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/pt_BR","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.126Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}107{"id":"doc-git_git_restore_documentation-edf01547","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.27.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.127Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":197}}108{"id":"doc-git_git_restore_documentation-9aea027d","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.54.0","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.127Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}109{"id":"doc-git_git_restore_documentation-65664627","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.49.0","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.128Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}110{"id":"doc-git_git_mv_documentation-396735be","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/es","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.128Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}111{"id":"doc-git_git_mv_documentation-6294bd00","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/fr","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.128Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}112{"id":"doc-git_git_mv_documentation-c39f3a24","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/ru","text":"Example:\n```text\ngitmv'-v-f-n-kgitmv'-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.128Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}113{"id":"doc-git_git_restore_documentation-e1853369","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.30.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.129Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":197}}114{"id":"doc-git_git_restore_documentation-0238f571","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.35.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.130Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":197}}115{"id":"doc-git_git_restore_documentation-dfa13131","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore/2.25.0","text":"Example:\n```text\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>…\ngit restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit restore (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.131Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":197}}116{"id":"doc-git_git_mv_documentation-e9a5c73a","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/zh_HANS-CN","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.131Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}117{"id":"doc-git_git_mv_documentation-e14cad1c","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/uk","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.131Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}118{"id":"doc-git_git_mv_documentation-1dc8cc9f","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.44.0","text":"Example:\n```text\ngit mv [<options>] <source>… <destination>\n```\n\nExample:\n```text\ngit mv [-v] [-f] [-n] [-k] <source> <destination>\ngit mv [-v] [-f] [-n] [-k] <source> ... <destination-directory>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.131Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}119{"id":"doc-git_git_mv_documentation-a0c647e2","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/sv","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.132Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}120{"id":"doc-git_git_mv_documentation-b82439d8","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.50.0","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.132Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}121{"id":"doc-git_git_mv_documentation-806c2137","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.9.5","text":"Example:\n```text\ngit mv <options>… <args>…\n```\n\nExample:\n```text\ngit mv [-v] [-f] [-n] [-k] <source> <destination>\ngit mv [-v] [-f] [-n] [-k] <source> ... <destination directory>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.132Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}122{"id":"doc-git_git_mv_documentation-7fa0f127","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.39.0","text":"Example:\n```text\ngit mv [<options>] <source>… <destination>\n```\n\nExample:\n```text\ngit mv [-v] [-f] [-n] [-k] <source> <destination>\ngit mv [-v] [-f] [-n] [-k] <source> ... <destination directory>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.133Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}123{"id":"doc-git_git_mv_documentation-501b3d29","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.43.0","text":"Example:\n```text\ngit mv [<options>] <source>… <destination>\n```\n\nExample:\n```text\ngit mv [-v] [-f] [-n] [-k] <source> <destination>\ngit mv [-v] [-f] [-n] [-k] <source> ... <destination directory>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.133Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":54}}124{"id":"doc-git_git_mv_documentation-ffc3ca12","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv/2.0.5","text":"Example:\n```text\ngit mv <options>… <args>…\n```\n\nExample:\n```text\ngit mv [-v] [-f] [-n] [-k] <source> <destination>\ngit mv [-v] [-f] [-n] [-k] <source> ... <destination directory>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.133Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}125{"id":"doc-git_git_add_documentation-dbbe8f6c","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/fr","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - indexer cette section\nn - ne pas indexer cette section\nq - quitter ; ne pas indexer cette section ni les autres restantes\na - indexer cette section et toutes les suivantes de ce fichier\nd - ne pas indexer cette section ni les suivantes de ce fichier\ng - sélectionner une section et s'y rendre\n/ - rechercher une section correspondant à une regex donnée\nj - aller à la section non décidée suivante, reboucler à la fin\nJ - aller à la section suivante, reboucler à la fin\nk - aller à la section non décidée précédente, reboucler au début\nK - aller à la section précédente, reboucler au début\ns - découper la section en sections plus petites\ne - éditer manuellement la section actuelle\np - afficher la section actuelle\nP - afficher la section actuelle avec un paginateur\n? - afficher l'aide\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.134Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":432}}126{"id":"doc-git_git_add_documentation-e6da4afa","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/pt_BR","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Comandos ***\n 1: status 2: atualiza 3: reverte 4: adiciona sem monitoramento\n 5: patch 6: diff 7: encerra 8: ajuda\n Agora o quê> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - go to the next undecided hunk, roll over at the bottom\nJ - go to the next hunk, roll over at the bottom\nk - go to the previous undecided hunk, roll over at the top\nK - go to the previous hunk, roll over at the top\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\nP - print the current hunk using the pager\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.136Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":411}}127{"id":"doc-git_git_add_documentation-5df9d283","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.54.0","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - go to the next undecided hunk, roll over at the bottom\nJ - go to the next hunk, roll over at the bottom\nk - go to the previous undecided hunk, roll over at the top\nK - go to the previous hunk, roll over at the top\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\nP - print the current hunk using the pager\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.137Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":405}}128{"id":"doc-git_git_add_documentation-338b57f1","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/ja","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - go to the next undecided hunk, roll over at the bottom\nJ - go to the next hunk, roll over at the bottom\nk - go to the previous undecided hunk, roll over at the top\nK - go to the previous hunk, roll over at the top\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\nP - print the current hunk using the pager\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.137Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":405}}129{"id":"doc-git_git_add_documentation-c4e9d493","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/zh_HANS-CN","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - 暂存此区块\nn - 不暂存此区块\nq - 退出;不暂存包括此块在内的剩余的区块\na - 暂存此块与此文件后面所有的区块\nd - 不暂存此块与此文件后面所有的区块\ng - 选择并跳转至一个区块\n/ - 搜索与给定正则表达式匹配的区块\nj - 暂不决定,转至下一个未决定的区块\nJ - 暂不决定,转至下一个区块\nk - 暂不决定,转至上一个未决定的区块\nK - 暂不决定,转至上一个区块\ns - 将当前的区块分割成多个较小的区块\ne - 手动编辑当前的区块\np - 打印当前差异块\nP - 使用分页器打印当前差异块\n? - 输出帮助\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.138Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":306}}130{"id":"doc-git_git_add_documentation-1302c55c","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.48.0","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.139Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":62,"estimatedTokens":380}}131{"id":"doc-git_git_add_documentation-2a16129b","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.45.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | -A | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.140Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":66,"estimatedTokens":412}}132{"id":"doc-git_git_add_documentation-d1c86ef4","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/es","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentacion/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - presentar éste pedazo\nn - no presentar éste pedazo\nq - salir; no presentar éste pedazo o cualquiera de los restantes\na - presentar éste pedazo y todos los pedazos subsecuentes en el fichero\nd - no presentar éste pedazo ni cualquiera de los pedazos subsecuentes en el fichero\ng - selecciona un pedazo para llevar a\n/ - busca un pedazo que coincida con la expresión regular dada\nj - ir al pedazo indeciso siguiente, dar la vuelta al final\nJ - ir al pedazo siguiente, dar la vuelta al final\nk - ir al pedazo indeciso anterior, dar la vuelta al inicio\nK - ir al pedazo anterior, dar la vuelta al inicio\ns - divide el pedazo actual en pedazos más pequeños\ne - editar manualmente el pedazo actual\np - imprime el pedazo actual\nP - imprime el pedazo actual usando el patinador\n? - mostrar ayuda\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.141Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":432}}133{"id":"doc-git_git_add_documentation-e5fcbfb5","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.43.1","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | -A | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.142Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":405}}134{"id":"doc-git_git_add_documentation-dfdca542","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.38.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.143Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":408}}135{"id":"doc-git_git_add_documentation-c94a29d8","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.52.0","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - go to the next undecided hunk, roll over at the bottom\nJ - go to the next hunk, roll over at the bottom\nk - go to the previous undecided hunk, roll over at the top\nK - go to the previous hunk, roll over at the top\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\nP - print the current hunk using the pager\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.144Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":405}}136{"id":"doc-git_git_add_documentation-20b547bc","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.51.0","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.145Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":62,"estimatedTokens":380}}137{"id":"doc-git_git_add_documentation-ce047b0e","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/sv","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add fil.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nköad ej köad sökväg\n 1: binär ingenting foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nköad ej köad sökväg\n 1: binär ingenting foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUppdatera>> -2\n```\n\nExample:\n```text\ny - köa stycket\nn - köa inte stycket\nq - avsluta; köa inte stycket eller något av de följande\na - köa stycket och alla följande i filen\nd - köa inte stycket eller något av de följande i filen\nj - gå till nästa obestämda stycke, börja om vid slutet\nJ - gå till nästa stycke, börja om vid slutet\nk - gå till föregående obestämda stycke, börja om vid början\nK - gå till föregående styckem, börja om vid början\ng - välj ett stycke att gå till\n/ - sök efter stycke som motsvarar angivet reguljärt uttryck\ns - dela aktuellt stycke i mindre styckens\ne - redigera aktuellt stycke manuellt\np - visa aktuellt stycke\nP - visa aktuellt stycke i bläddrare\n? - visa hjälp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.146Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":400}}138{"id":"doc-git_git_add_documentation-c0beb591","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/ru","text":"Example:\n```text\ngitadd'--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Команды ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n Что теперь> 1\n```\n\nExample:\n```text\nв индексе не в индексе путь\n 1: двоичный ничего foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nв индексе не в индексе путь\n 1: двоичный ничего foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nОбновить>> -2\n```\n\nExample:\n```text\ny — индексировать этот блок\nn — пропустить этот блок\nq — выход; пропустить этот и все оставшиеся блоки\na — индексировать этот и остальные блоки файла\nd — пропустить этот и остальные блоки файла\ng — выбрать блок изменений на который нужно перейти\n/ — поиск блока изменений с помощью регулярного выражения\nj — перейти к следующему нерешённому блоку, с циклическим переходом внизу\nJ — перейти к следующему блоку, с циклическим переходом внизу\nk — перейти к предыдущему нерешённому блоку, с циклическим переходом вверху\nK — перейти к предыдущему блоку, с циклическим переходом вверху\ns — разделить текущий блок на блоки меньшего размера\ne — вручную отредактировать текущий блок\np — вывести текущий блок\nP — вывести текущий блок с помощью пейджера\n? — вывести справку\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.147Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":433}}139{"id":"doc-git_git_add_documentation-6f22adf2","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/uk","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t[--edit | -e] [--[no-]all | -A | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t[--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t[--chmod=(+|-)x] [--pathspec-from-file=<файл> [--pathspec-file-nul]]\n\t[--] [<специфікація шляху>…]\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Команди ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny — додати цей фрагмент в stage\nn — не додавати цей фрагмент в stage\nq — вийти; не додавати цей фрагмент в stage або будь-який інший з решти\na — додати цей фрагмент та всі наступні фрагменти у файлі в stage\nd — не додавати цей фрагмент або будь-який з наступних фрагментів у файлі в stage\ng — вибрати фрагмент для переходу до нього\n/ — знайти фрагмент, що відповідає заданому регулярному виразу\nj — перейти до наступного невизначеного фрагмента, прокрутити вниз\nJ — перейти до наступного фрагмента, прокрутити вниз\nk — перейти до попереднього невизначеного фрагмента, прокрутити вгору\nK — перейти до попереднього фрагмента, прокрутити вгору\ns — розділити поточний фрагмент на менші\ne — вручну редагувати поточний фрагмент\np — вивести поточний фрагмент\nP — вивести поточний фрагмент за допомогою pager\n? — вивести довідку\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.147Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":73,"estimatedTokens":472}}140{"id":"doc-git_git_add_documentation-7e2e6e70","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.25.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.148Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":405}}141{"id":"doc-git_git_add_documentation-23992f4f","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.16.6","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.149Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":391}}142{"id":"doc-git_git_add_documentation-cac79b73","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.7.6","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.150Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":383}}143{"id":"doc-git_git_add_documentation-4e1a4e7f","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.37.3","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.152Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":408}}144{"id":"doc-git_git_add_documentation-b965edfd","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.10.5","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--chmod=(+|-)x] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.152Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":387}}145{"id":"doc-git_git_add_documentation-6df725d9","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.21.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.153Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":391}}146{"id":"doc-git_git_add_documentation-411a3534","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.34.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.154Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":408}}147{"id":"doc-git_git_add_documentation-160dc574","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.40.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]] [--sparse]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.155Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":65,"estimatedTokens":404}}148{"id":"doc-git_git_add_documentation-45818856","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.0.5","text":"Example:\n```text\ngit add [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.156Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":377}}149{"id":"doc-git_git_add_documentation-ecded32a","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.14.6","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--chmod=(+|-)x] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.157Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":387}}150{"id":"doc-git_git_add_documentation-85aebede","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.4.12","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.158Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":383}}151{"id":"doc-git_git_rm_documentation-53513eed","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/es","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.158Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}152{"id":"doc-git_git_rm_documentation-377e94c6","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/fr","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.159Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}153{"id":"doc-git_git_rm_documentation-abc19ccc","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.50.0","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.159Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}154{"id":"doc-git_git_rm_documentation-0e4f05ab","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.32.0","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch]\n\t [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.160Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":23,"estimatedTokens":91}}155{"id":"doc-git_git_rm_documentation-850c0b1b","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.43.0","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch]\n\t [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.160Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":23,"estimatedTokens":91}}156{"id":"doc-git_git_add_documentation-2b816ad1","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.18.0","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize]\n\t [--chmod=(+|-)x] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.161Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":391}}157{"id":"doc-git_git_rm_documentation-07ca4c01","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm/2.34.0","text":"Example:\n```text\ngit rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch]\n\t [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.162Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":23,"estimatedTokens":91}}158{"id":"doc-git_git_add_documentation-b036883b","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add/2.3.10","text":"Example:\n```text\ngit add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n\t [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n\t [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 git-add--interactive.perl\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - leave this hunk undecided, see next undecided hunk\nJ - leave this hunk undecided, see next hunk\nk - leave this hunk undecided, see previous undecided hunk\nK - leave this hunk undecided, see previous hunk\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.163Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":64,"estimatedTokens":383}}159{"id":"doc-git_git_init_documentation-7342c9a3","source":"documentation","title":"Git - git-init Documentation","url":"http://git-scm.com/docs/git-init","text":"Example:\n```text\ngitinit-q--quiet--bare--template=--separate-git-dir--object-format=--ref-format=-b--initial-branch=--shared=\n```\n\nExample:\n```text\n$ cd /path/to/my/codebase\n$ git init (1)\n$ git add . (2)\n$ git commit (3)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.163Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":63}}160{"id":"doc-git_git_restore_documentation-337d0603","source":"documentation","title":"Git - git-restore Documentation","url":"http://git-scm.com/docs/git-restore","text":"Example:\n```text\ngitrestore--source=--staged--worktree--gitrestore--source=--staged--worktree--pathspec-from-file=--pathspec-file-nulgitrestore-p--patch--source=--staged--worktree--\n```\n\nExample:\n```text\n$ git switch master\n$ git restore --source master~2 Makefile (1)\n$ rm -f hello.c\n$ git restore hello.c (2)\n```\n\nExample:\n```text\n$ git restore '*.c'\n```\n\nExample:\n```text\n$ git restore .\n```\n\nExample:\n```text\n$ git restore :/\n```\n\nExample:\n```text\n$ git restore --staged hello.c\n```\n\nExample:\n```text\n$ git restore --source=HEAD --staged --worktree hello.c\n```\n\nExample:\n```text\n$ git restore -s@ -SW hello.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.164Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":44,"estimatedTokens":163}}161{"id":"doc-git_git_mv_documentation-e1305bf6","source":"documentation","title":"Git - git-mv Documentation","url":"http://git-scm.com/docs/git-mv","text":"Example:\n```text\ngitmv-v-f-n-kgitmv-v-f-n-k\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.164Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}162{"id":"doc-git_git_rm_documentation-732b99c8","source":"documentation","title":"Git - git-rm Documentation","url":"http://git-scm.com/docs/git-rm","text":"Example:\n```text\ngitrm-f--force-n-r--cached--ignore-unmatch--quiet--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit ls-files -z | xargs -0 rm -f\n```\n\nExample:\n```text\ngit add -A\n```\n\nExample:\n```text\ngit diff --name-only --diff-filter=D -z | xargs -0 git rm --cached\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.165Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":21,"estimatedTokens":76}}163{"id":"doc-git_git_add_documentation-6f8099f4","source":"documentation","title":"Git - git-add Documentation","url":"http://git-scm.com/docs/git-add","text":"Example:\n```text\ngitadd--verbose-v--dry-run-n--force-f--interactive-i--patch-p--edit-e--no-all-A--no-ignore-removal--update-u--sparse--intent-to-add-N--refresh--ignore-errors--ignore-missing--renormalize--chmod=+-x--pathspec-from-file=--pathspec-file-nul--\n```\n\nExample:\n```text\ngit add file.c\ngit commit\n```\n\nExample:\n```text\n$ git add Documentation/\\*.txt\n```\n\nExample:\n```text\n$ git add git-*.sh\n```\n\nExample:\n```text\n*** Commands ***\n 1: status 2: update 3: revert 4: add untracked\n 5: patch 6: diff 7: quit 8: help\n What now> 1\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nstaged unstaged path\n 1: binary nothing foo.png\n* 2: +403/-35 +1/-1 add-interactive.c\n```\n\nExample:\n```text\nUpdate>> -2\n```\n\nExample:\n```text\ny - stage this hunk\nn - do not stage this hunk\nq - quit; do not stage this hunk or any of the remaining ones\na - stage this hunk and all later hunks in the file\nd - do not stage this hunk or any of the later hunks in the file\ng - select a hunk to go to\n/ - search for a hunk matching the given regex\nj - go to the next undecided hunk, roll over at the bottom\nJ - go to the next hunk, roll over at the bottom\nk - go to the previous undecided hunk, roll over at the top\nK - go to the previous hunk, roll over at the top\ns - split the current hunk into smaller hunks\ne - manually edit the current hunk\np - print the current hunk\nP - print the current hunk using the pager\n? - print help\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.166Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":69,"estimatedTokens":405}}164{"id":"doc-git_git_reset_documentation-16dd7b1b","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.167Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}165{"id":"doc-git_git_clone_documentation-eebfd165","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone","text":"Example:\n```text\ngitclone--template=-l-s--no-hardlinks-q-n--bare--mirror-o-b-u--reference--dissociate--separate-git-dir--depth--no-single-branch--no-tags--recurse-submodules=--no-shallow-submodules--no-remote-submodules--jobs--sparse--no-reject-shallow--filter=--also-filter-submodules--\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\nExample:\n```text\n$ git clone --no-local /home/otheruser/proj.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.168Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":286}}166{"id":"doc-git_git_notes_documentation-dc8498dc","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.169Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":208}}167{"id":"doc-git_git_branch_documentation-3584538d","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.171Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}168{"id":"doc-git_git_status_documentation-6020e322","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <path>\n<xy> <orig-path> -> <path>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.173Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":77}}169{"id":"doc-git_git_remote_documentation-9bce3375","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.173Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":298}}170{"id":"doc-git_git_commit_documentation-0b4a121b","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.175Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}171{"id":"doc-git_git_switch_documentation-8a03efe6","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f _<new-branch>_\n$ git switch _<new-branch>_\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch `new-topic` set up to track remote branch `new-topic` from `origin`\nSwitched to a new branch `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.176Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":279}}172{"id":"doc-git_git_checkout_documentation-9f4b56a2","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nYour local changes are stashed, however applying them\nresulted in conflicts. You can either resolve the conflicts\nand then discard the stash with \"git stash drop\", or, if you\ndo not want to resolve them now, run \"git reset --hard\" and\napply the local changes later by running \"git stash pop\".\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.177Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":724}}173{"id":"doc-git_git_difftool_documentation-b3dd5329","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool","text":"Example:\n```text\ngitdifftool--\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.178Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":12}}174{"id":"doc-git_git_range_diff_documentation-329df53c","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff","text":"Example:\n```text\ngitrange-diff--color=--no-color--no-dual-color--creation-factor=--left-only--right-only--diff-merges=--remerge-diff--no-notes--notes=--\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.178Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":86,"estimatedTokens":327}}175{"id":"doc-git_git_diff_documentation-4ca99533","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.182Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}176{"id":"doc-git_git_documentation-3b55bfa7","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.185Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}177{"id":"doc-git_git_mergetool_documentation-3b90b89a","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.186Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":889}}178{"id":"doc-git_git_merge_documentation-165f534e","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.189Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":532}}179{"id":"doc-git_git_tag_documentation-a266a591","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.190Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":250}}180{"id":"doc-git_git_stash_documentation-69f57072","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.191Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":573}}181{"id":"doc-git_git_worktree_documentation-d7f1bcdf","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.192Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":558}}182{"id":"doc-git_git_submodule_documentation-6e95a19c","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule","text":"Example:\n```text\ngitsubmodule--quiet--cachedgitsubmodule--quietadd--gitsubmodule--quietstatus--cached--recursive--gitsubmodule--quietinit--gitsubmodule--quietdeinit-f--force--all--gitsubmodule--quietupdate--gitsubmodule--quietset-branch--gitsubmodule--quietset-url--gitsubmodule--quietsummary--gitsubmodule--quietforeach--recursivegitsubmodule--quietsync--recursive--gitsubmodule--quietabsorbgitdirs--\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.193Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":125}}183{"id":"doc-git_git_config_documentation-ab4c78b6","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n# Without subsection (ASCII alphanumeric and dash only)\n[alias]\n co = checkout\n st = status\n\n# With subsection (allows any characters, including UTF-8)\n[alias \"hämta\"]\n command = fetch\n[alias \"rätta till\"]\n command = commit --amend\n```\n\nExample:\n```text\n$ git config --global alias.last \"cat-file commit HEAD\"\n# Which is equivalent to\n$ git config --global alias.last.command \"cat-file commit HEAD\"\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[status]\n\tcompareBranches = @{upstream} @{push}\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.217Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":273,"estimatedTokens":1361}}184{"id":"doc-git_git_push_documentation-3df3fd24","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.220Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":615}}185{"id":"doc-git_git_fetch_documentation-d0bba7f4","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.223Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":446}}186{"id":"doc-git_git_pull_documentation-298c7276","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.226Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":260}}187{"id":"doc-git_git_describe_documentation-5cfbfe95","source":"documentation","title":"Git - git-describe Documentation","url":"http://git-scm.com/docs/git-describe","text":"Example:\n```text\ngitdescribe--all--tags--contains--abbrev=gitdescribe--all--tags--contains--abbrev=--dirty=gitdescribe\n```\n\nExample:\n```text\n[torvalds@g5 git]$ git describe parent\nv1.0.4-14-g2414721\n```\n\nExample:\n```text\n[torvalds@g5 git]$ git describe v1.0.4\nv1.0.4\n```\n\nExample:\n```text\n[torvalds@g5 git]$ git describe --all --abbrev=4 v1.0.5^2\ntags/v1.0.0-21-g975b\n```\n\nExample:\n```text\n[torvalds@g5 git]$ git describe --all --abbrev=4 HEAD^\nheads/lt/describe-7-g975b\n```\n\nExample:\n```text\n[torvalds@g5 git]$ git describe --abbrev=0 v1.0.5^2\ntags/v1.0.0\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.227Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":36,"estimatedTokens":144}}188{"id":"doc-git_git_revert_documentation-cf1faff4","source":"documentation","title":"Git - git-revert Documentation","url":"http://git-scm.com/docs/git-revert","text":"Example:\n```text\ngit revert [--[no-]edit] [-n] [-m <parent-number>] [-s] [-S[<keyid>]] <commit>…\ngit revert (--continue | --skip | --abort | --quit)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.227Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":42}}189{"id":"doc-git_git_cherry_pick_documentation-0f7d397f","source":"documentation","title":"Git - git-cherry-pick Documentation","url":"http://git-scm.com/docs/git-cherry-pick","text":"Example:\n```text\ngit cherry-pick [--edit] [-n] [-m <parent-number>] [-s] [-x] [--ff]\n\t\t [-S[<keyid>]] <commit>…\ngit cherry-pick (--continue | --skip | --abort | --quit)\n```\n\nExample:\n```text\n$ git cherry-pick topic^ (1)\n$ git diff (2)\n$ git cherry-pick --abort (3)\n$ git cherry-pick -Xpatience topic^ (4)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.228Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":16,"estimatedTokens":94}}190{"id":"doc-git_git_bisect_documentation-44ae6f92","source":"documentation","title":"Git - git-bisect Documentation","url":"http://git-scm.com/docs/git-bisect","text":"Example:\n```text\ngitbisectstart--term-badnew=--term-goodold=--no-checkout--first-parent--gitbisectbadnewgitbisectgoodoldgitbisectterms--term-goodold--term-badnewgitbisectskipgitbisectnextgitbisectresetgitbisectvisualizeviewgitbisectreplaygitbisectloggitbisectrungitbisecthelp\n```\n\nExample:\n```text\n$ git bisect start\n$ git bisect bad # Current version is bad\n$ git bisect good v2.6.13-rc2 # v2.6.13-rc2 is known to be good\n```\n\nExample:\n```text\nBisecting: 675 revisions left to test after this (roughly 10 steps)\n```\n\nExample:\n```text\n$ git bisect good\n```\n\nExample:\n```text\n$ git bisect bad\n```\n\nExample:\n```text\nBisecting: 337 revisions left to test after this (roughly 9 steps)\n```\n\nExample:\n```text\ngitbisectreset\n```\n\nExample:\n```text\ngitbisectold\n```\n\nExample:\n```text\ngitbisectnew\n```\n\nExample:\n```text\ngitbisectterms\n```\n\nExample:\n```text\ngitbisectstart--term-old--term-new\n```\n\nExample:\n```text\n$ git bisect start --term-old fast --term-new slow\n```\n\nExample:\n```text\n$ git bisect start --term-new fixed --term-old broken\n```\n\nExample:\n```text\n$ git bisect visualize\n```\n\nExample:\n```text\n$ git bisect visualize --stat\n```\n\nExample:\n```text\n$ git bisect log\n```\n\nExample:\n```text\n$ git bisect reset\n$ git bisect replay that-file\n```\n\nExample:\n```text\n$ git bisect good/bad\t\t\t# previous round was good or bad.\nBisecting: 337 revisions left to test after this (roughly 9 steps)\n$ git bisect visualize\t\t\t# oops, that is uninteresting.\n$ git reset --hard HEAD~3\t\t# try 3 revisions before what\n\t\t\t\t\t# was suggested\n```\n\nExample:\n```text\n$ git bisect skip # Current version cannot be tested\n```\n\nExample:\n```text\n$ git bisect skip v2.5..v2.6\n```\n\nExample:\n```text\n$ git bisect skip v2.5 v2.5..v2.6\n```\n\nExample:\n```text\n$ git bisect next\n```\n\nExample:\n```text\n$ git bisect start -- arch/i386 include/asm-i386\n```\n\nExample:\n```text\n$ git bisect start v2.6.20-rc6 v2.6.20-rc4 v2.6.20-rc1 --\n # v2.6.20-rc6 is bad\n # v2.6.20-rc4 and v2.6.20-rc1 are good\n```\n\nExample:\n```text\ngitbisectrun\n```\n\nExample:\n```text\n$ git bisect start HEAD v1.2 -- # HEAD is bad, v1.2 is good\n$ git bisect run make # \"make\" builds the app\n$ git bisect reset # quit the bisect session\n```\n\nExample:\n```text\n$ git bisect start HEAD origin -- # HEAD is bad, origin is good\n$ git bisect run make test # \"make test\" builds and tests\n$ git bisect reset # quit the bisect session\n```\n\nExample:\n```text\n$ cat ~/test.sh\n#!/bin/sh\nmake || exit 125 # this skips broken builds\n~/check_test_case.sh # does the test case pass?\n$ git bisect start HEAD HEAD~10 -- # culprit is among the last 10\n$ git bisect run ~/test.sh\n$ git bisect reset # quit the bisect session\n```\n\nExample:\n```text\n$ cat ~/test.sh\n#!/bin/sh\n\n# tweak the working tree by merging the hot-fix branch\n# and then attempt a build\nif\tgit merge --no-commit --no-ff hot-fix &&\n\tmake\nthen\n\t# run project specific test and report its status\n\t~/check_test_case.sh\n\tstatus=$?\nelse\n\t# tell the caller this is untestable\n\tstatus=125\nfi\n\n# undo the tweak to allow clean flipping to the next commit\ngit reset --hard\n\n# return control\nexit $status\n```\n\nExample:\n```text\n$ git bisect start HEAD HEAD~10 -- # culprit is among the last 10\n$ git bisect run sh -c \"make || exit 125; ~/check_test_case.sh\"\n$ git bisect reset # quit the bisect session\n```\n\nExample:\n```text\n$ git bisect start HEAD <known-good-commit> [ <boundary-commit> ... ] --no-checkout\n$ git bisect run sh -c '\n\tGOOD=$(git for-each-ref \"--format=%(objectname)\" refs/bisect/good-*) &&\n\tgit rev-list --objects BISECT_HEAD --not $GOOD >tmp.$$ &&\n\tgit pack-objects --stdout >/dev/null <tmp.$$\n\trc=$?\n\trm -f tmp.$$\n\ttest $rc = 0'\n\n$ git bisect reset # quit the bisect session\n```\n\nExample:\n```text\n$ git bisect start\n$ git bisect new HEAD # current commit is marked as new\n$ git bisect old HEAD~10 # the tenth commit from now is marked as old\n```\n\nExample:\n```text\n$ git bisect start --term-old broken --term-new fixed\n$ git bisect fixed\n$ git bisect broken HEAD~10\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.229Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":220,"estimatedTokens":1050}}191{"id":"doc-git_git_blame_documentation-d544b5b2","source":"documentation","title":"Git - git-blame Documentation","url":"http://git-scm.com/docs/git-blame","text":"Example:\n```text\ngitblame-c-b-l--root-t-f-n-s-e-p-w--incremental-L-S-M-C-C-C--since=--ignore-rev--ignore-revs-file--color-lines--color-by-age--progress--abbrev=--contents--reverse..--\n```\n\nExample:\n```text\n$ git log --pretty=oneline -S'blame_usage'\n5040f17eba15504bad66b14a645bddd9b015ebb7 blame -S <ancestry-file>\nea4c7f9bf69e781dd0cd88d2bccb2bf5cc15c9a7 git-blame: Make the output\n```\n\nExample:\n```text\n# count the number of lines attributed to each author\ngit blame --line-porcelain file |\nsed -n 's/^author //p' |\nsort | uniq -c | sort -rn\n```\n\nExample:\n```text\ngit blame -L 40,60 foo\ngit blame -L 40,+21 foo\n```\n\nExample:\n```text\ngit blame -L '/^sub hello {/,/^}$/' foo\n```\n\nExample:\n```text\ngit blame v2.6.18.. -- foo\ngit blame --since=3.weeks -- foo\n```\n\nExample:\n```text\ngit log --diff-filter=A --pretty=short -- foo\n```\n\nExample:\n```text\ngit blame -C -C -f $commit^! -- foo\n```\n\nExample:\n```text\n<40-byte-hex-sha1> <sourceline> <resultline> <num-lines>\n```\n\nExample:\n```text\nfilename\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.230Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":58,"estimatedTokens":253}}192{"id":"doc-git_gitignore_documentation-9796ea1c","source":"documentation","title":"Git - gitignore Documentation","url":"http://git-scm.com/docs/gitignore","text":"Example:\n```text\n$ git status\n [...]\n # Untracked files:\n [...]\n # Documentation/foo.html\n # Documentation/gitignore.html\n # file.o\n # lib.a\n # src/internal.o\n [...]\n $ cat .git/info/exclude\n # ignore objects and archives, anywhere in the tree.\n *.[oa]\n $ cat Documentation/.gitignore\n # ignore generated html files,\n *.html\n # except foo.html which is maintained by hand\n !foo.html\n $ git status\n [...]\n # Untracked files:\n [...]\n # Documentation/foo.html\n [...]\n```\n\nExample:\n```text\n$ cat .gitignore\n vmlinux*\n $ ls arch/foo/kernel/vm*\n arch/foo/kernel/vmlinux.lds.S\n $ echo '!/vmlinux*' >arch/foo/kernel/.gitignore\n```\n\nExample:\n```text\n$ cat .gitignore\n # exclude everything except directory foo/bar\n /*\n !/foo\n /foo/*\n !/foo/bar\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.231Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":48,"estimatedTokens":221}}193{"id":"doc-git_git_apply_documentation-efc16213","source":"documentation","title":"Git - git-apply Documentation","url":"http://git-scm.com/docs/git-apply","text":"Example:\n```text\ngitapply--stat--numstat--summary--check--index--intent-to-add--3way--ours--theirs--union--apply--no-add--build-fake-ancestor=-R--reverse--allow-binary-replacement--binary--reject-z-p-C--inaccurate-eof--recount--cached--ignore-space-change--ignore-whitespace--whitespace=nowarnwarnfixerrorerror-all--exclude=--include=--directory=--verbose--quiet--unsafe-paths--allow-empty\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.231Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":102}}194{"id":"doc-git_git_grep_documentation-731330d3","source":"documentation","title":"Git - git-grep Documentation","url":"http://git-scm.com/docs/git-grep","text":"Example:\n```text\ngitgrep-a--text-I--textconv-i--ignore-case-w--word-regexp-v--invert-match-h-H--full-name-E--extended-regexp-G--basic-regexp-P--perl-regexp-F--fixed-strings-n--line-number--column-l--files-with-matches-L--files-without-match-O--open-files-in-pager-z--null-o--only-matching-c--count--all-match-q--quiet--max-depth--no-recursive--color=--no-color--break--heading-p--show-function-A-B-C-W--function-context-m--max-count--threads-f-e--and--or--not-e--recurse-submodules--parent-basename--no-exclude-standard--cached--untracked--no-index--\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.232Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":142}}195{"id":"doc-git_git_show_documentation-1db19dad","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show","text":"Example:\n```text\ngitshow\n```\n\nExample:\n```text\n<hash> <title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n_\n <title-line>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author-date>\nCommit: <committer>\nCommitDate: <committer-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author-date>\nSubject: [PATCH] <title-line>\n_\n<full-commit-message>_\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n%(decorate:prefix=,suffix=,tag=,separator= )\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.235Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":198,"estimatedTokens":713}}196{"id":"doc-git_githooks_documentation-d59dac5c","source":"documentation","title":"Git - githooks Documentation","url":"http://git-scm.com/docs/githooks","text":"Example:\n```text\nlocal_desc=$(git describe)\nforeign_desc=$(unset $(git rev-parse --local-env-vars); git -C ../foreign-repo describe)\n```\n\nExample:\n```text\n<local-ref> SP <local-object-name> SP <remote-ref> SP <remote-object-name> LF\n```\n\nExample:\n```text\nrefs/heads/master 67890 refs/heads/foreign 12345\n```\n\nExample:\n```text\n<old-oid> SP <new-oid> SP <ref-name> LF\n```\n\nExample:\n```text\n# Version and features negotiation.\nS: PKT-LINE(version=1\\0push-options atomic...)\nS: flush-pkt\nH: PKT-LINE(version=1\\0push-options...)\nH: flush-pkt\n```\n\nExample:\n```text\n# Send commands from server to the hook.\nS: PKT-LINE(<old-oid> <new-oid> <ref>)\nS: ... ...\nS: flush-pkt\n# Send push-options only if the 'push-options' feature is enabled.\nS: PKT-LINE(push-option)\nS: ... ...\nS: flush-pkt\n```\n\nExample:\n```text\n# Receive results from the hook.\n# OK, run this command successfully.\nH: PKT-LINE(ok <ref>)\n# NO, I reject it.\nH: PKT-LINE(ng <ref> <reason>)\n# Fall through, let 'receive-pack' execute it.\nH: PKT-LINE(ok <ref>)\nH: PKT-LINE(option fall-through)\n# OK, but has an alternate reference. The alternate reference name\n# and other status can be given in option directives.\nH: PKT-LINE(ok <ref>)\nH: PKT-LINE(option refname <refname>)\nH: PKT-LINE(option old-oid <old-oid>)\nH: PKT-LINE(option new-oid <new-oid>)\nH: PKT-LINE(option forced-update)\nH: ... ...\nH: flush-pkt\n```\n\nExample:\n```text\n<old-value> SP <new-value> SP <ref-name> LF\n```\n\nExample:\n```text\n<old-object-name> SP <new-object-name> [ SP <extra-info> ] LF\n```\n\nExample:\n```text\nFrom: Example <from@example.com>\nTo: to@example.com\nCc: cc@example.com,\n A <author@example.com>,\n One <one@example.com>,\n two@example.com\nSubject: PATCH-STRING\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.237Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":85,"estimatedTokens":428}}197{"id":"doc-git_git_shortlog_documentation-966e94d4","source":"documentation","title":"Git - git-shortlog Documentation","url":"http://git-scm.com/docs/git-shortlog","text":"Example:\n```text\ngitshortlog--gitlog--pretty=shortgitshortlog\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / / /\n\tI B C D E Y\n\t \\ / / / / /\n\t `-------------' X\n```\n\nExample:\n```text\n.-A---N---O\n\t / / /\n\tI---------D\n```\n\nExample:\n```text\nI A B N D O P Q\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / /\n\tI B / D /\n\t \\ / / / /\n\t `-------------'\n```\n\nExample:\n```text\n.-A---M---N---O\n\t / / /\n\tI B D\n\t \\ / /\n\t `---------'\n```\n\nExample:\n```text\nD---E-------F\n\t / \\ \\\n\t B---C---G---H---I---J\n\t / \\\n\tA-------K---------------L--M\n```\n\nExample:\n```text\nE-------F\n\t\t \\ \\\n\t\t G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nE\n\t\t \\\n\t C---G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nK---------------L--M\n```\n\nExample:\n```text\n.-A---M-----C--N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`-Z' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `---Y--'\n```\n\nExample:\n```text\nI---X\n```\n\nExample:\n```text\n.-A---M--------N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`--' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `------'\n```\n\nExample:\n```text\n.-A---M--.\n\t / / \\\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\nI---X---R---N\n```\n\nExample:\n```text\n.-A---M--. N\n\t / / \\ /\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.239Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":127,"estimatedTokens":382}}198{"id":"doc-git_gitcli_documentation-c03b2c06","source":"documentation","title":"Git - gitcli Documentation","url":"http://git-scm.com/docs/gitcli","text":"Example:\n```text\n$ git restore *.c\n$ git restore \\*.c\n```\n\nExample:\n```text\n$ git describe -h\nusage: git describe [<options>] <commit-ish>*\n or: git describe [<options>] --dirty\n\n --contains find the tag that comes after the commit\n --debug debug search strategy on stderr\n --all use any ref\n --tags use any tag, even unannotated\n --long always use long format\n --abbrev[=<n>] use <n> digits to display SHA-1s\n```\n\nExample:\n```text\n$ git foo --long-opt=Arg\n$ git foo --long-opt Arg\n$ git foo -oArg\n$ git foo -o Arg\n```\n\nExample:\n```text\n$ git describe --abbrev HEAD # correct\n$ git describe --abbrev=10 HEAD # correct\n$ git describe --abbrev 10 HEAD # NOT WHAT YOU MEANT\n```\n\nExample:\n```text\ngit commit -F :(optional)COMMIT_EDITMSG\n# if COMMIT_EDITMSG does not exist, the above is equivalent to\ngit commit\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.240Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":43,"estimatedTokens":232}}199{"id":"doc-git_gitfaq_documentation-6136af62","source":"documentation","title":"Git - gitfaq Documentation","url":"http://git-scm.com/docs/gitfaq","text":"Example:\n```text\nexport VISUAL=nano\n```\n\nExample:\n```text\n$ git config credential.helper \\\n\t'!f() { echo username=author; echo \"password=$GIT_TOKEN\"; };f'\n```\n\nExample:\n```text\n$ echo url=https://author@git.example.org | git credential reject\n```\n\nExample:\n```text\n# This is the account for author on git.example.org.\nHost example_author\n\tHostName git.example.org\n\tUser git\n\t# This is the key pair registered for author with git.example.org.\n\tIdentityFile ~/.ssh/id_author\n\tIdentitiesOnly yes\n# This is the account for committer on git.example.org.\nHost example_committer\n\tHostName git.example.org\n\tUser git\n\t# This is the key pair registered for committer with git.example.org.\n\tIdentityFile ~/.ssh/id_committer\n\tIdentitiesOnly yes\n```\n\nExample:\n```text\nHost git.example.org\n User git\n ProxyCommand socat -t 10 - PROXY:proxy.example.org:%h:%p,proxyport=8080\n```\n\nExample:\n```text\n*.c\tworking-tree-encoding=UTF-16LE-BOM\n```\n\nExample:\n```text\n$ git rm --cached AFile.txt\n$ git commit -m 'Remove files conflicting in case'\n$ git checkout .\n```\n\nExample:\n```text\n$ git add --renormalize .\n```\n\nExample:\n```text\n# By default, guess.\n*\ttext=auto\n# Mark all C files as text.\n*.c\ttext\n# Ensure all shell files have LF endings and all batch files have CRLF\n# endings in the working tree and both have LF in the repo.\n*.sh text eol=lf\n*.bat text eol=crlf\n# Mark all JPEG files as binary.\n*.jpg\tbinary\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.242Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":73,"estimatedTokens":354}}200{"id":"doc-git_giteveryday_documentation-a358a652","source":"documentation","title":"Git - giteveryday Documentation","url":"http://git-scm.com/docs/giteveryday","text":"Example:\n```text\n$ tar zxf frotz.tar.gz\n$ cd frotz\n$ git init\n$ git add . (1)\n$ git commit -m \"import of frotz source tree.\"\n$ git tag v2.43 (2)\n```\n\nExample:\n```text\n$ git switch -c alsa-audio (1)\n$ edit/compile/test\n$ git restore curses/ux_audio_oss.c (2)\n$ git add curses/ux_audio_alsa.c (3)\n$ edit/compile/test\n$ git diff HEAD (4)\n$ git commit -a -s (5)\n$ edit/compile/test\n$ git diff HEAD^ (6)\n$ git commit -a --amend (7)\n$ git switch master (8)\n$ git merge alsa-audio (9)\n$ git log --since='3 days ago' (10)\n$ git log v2.43.. curses/ (11)\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../torvalds/linux-2.6 my2.6\n$ cd my2.6\n$ git switch -c mine master (1)\n$ edit/compile/test; git commit -a -s (2)\n$ git format-patch master (3)\n$ git send-email --to=\"person <email@example.com>\" 00*.patch (4)\n$ git switch master (5)\n$ git pull (6)\n$ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 (7)\n$ git ls-remote --heads http://git.kernel.org/.../jgarzik/libata-dev.git (8)\n$ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL (9)\n$ git reset --hard ORIG_HEAD (10)\n$ git gc (11)\n```\n\nExample:\n```text\nsatellite$ git clone mothership:frotz frotz (1)\nsatellite$ cd frotz\nsatellite$ git config --get-regexp '^(remote|branch)\\.' (2)\nremote.origin.url mothership:frotz\nremote.origin.fetch refs/heads/*:refs/remotes/origin/*\nbranch.master.remote origin\nbranch.master.merge refs/heads/master\nsatellite$ git config remote.origin.push \\\n\t +refs/heads/*:refs/remotes/satellite/* (3)\nsatellite$ edit/compile/test/commit\nsatellite$ git push origin (4)\n\nmothership$ cd frotz\nmothership$ git switch master\nmothership$ git merge satellite/master (5)\n```\n\nExample:\n```text\n$ git switch -c private2.6.14 v2.6.14 (1)\n$ edit/compile/test; git commit -a\n$ git checkout master\n$ git cherry-pick v2.6.14..private2.6.14 (2)\n```\n\nExample:\n```text\n$ git status (1)\n$ git branch --no-merged master (2)\n$ mailx (3)\n& s 2 3 4 5 ./+to-apply\n& s 7 8 ./+hold-linus\n& q\n$ git switch -c topic/one master\n$ git am -3 -i -s ./+to-apply (4)\n$ compile/test\n$ git switch -c hold/linus && git am -3 -i -s ./+hold-linus (5)\n$ git switch topic/one && git rebase master (6)\n$ git switch -C seen next (7)\n$ git merge topic/one topic/two && git merge hold/linus (8)\n$ git switch maint\n$ git cherry-pick master~4 (9)\n$ compile/test\n$ git tag -s -m \"GIT 0.99.9x\" v0.99.9x (10)\n$ git fetch ko && for branch in master maint next seen (11)\n do\n\tgit show-branch ko/$branch $branch (12)\n done\n$ git push --follow-tags ko (13)\n```\n\nExample:\n```text\n(in .git/config)\n[remote \"ko\"]\n\turl = kernel.org:/pub/scm/git/git.git\n\tfetch = refs/heads/*:refs/remotes/ko/*\n\tpush = refs/heads/master\n\tpush = refs/heads/next\n\tpush = +refs/heads/seen\n\tpush = refs/heads/maint\n```\n\nExample:\n```text\n$ grep 9418 /etc/services\ngit\t\t9418/tcp\t\t# Git Version Control System\n```\n\nExample:\n```text\n$ grep git /etc/inetd.conf\ngit\tstream\ttcp\tnowait\tnobody \\\n /usr/bin/git-daemon git-daemon --inetd --export-all /pub/scm\n```\n\nExample:\n```text\n$ cat /etc/xinetd.d/git-daemon\n# default: off\n# description: The Git server offers access to Git repositories\nservice git\n{\n\tdisable = no\n\ttype = UNLISTED\n\tport = 9418\n\tsocket_type = stream\n\twait = no\n\tuser = nobody\n\tserver = /usr/bin/git-daemon\n\tserver_args = --inetd --export-all --base-path=/pub/scm\n\tlog_on_failure += USERID\n}\n```\n\nExample:\n```text\n$ grep git /etc/passwd (1)\nalice:x:1000:1000::/home/alice:/usr/bin/git-shell\nbob:x:1001:1001::/home/bob:/usr/bin/git-shell\ncindy:x:1002:1002::/home/cindy:/usr/bin/git-shell\ndavid:x:1003:1003::/home/david:/usr/bin/git-shell\n$ grep git /etc/shells (2)\n/usr/bin/git-shell\n```\n\nExample:\n```text\n$ grep git /etc/group (1)\ngit:x:9418:alice,bob,cindy,david\n$ cd /home/devo.git\n$ ls -l (2)\n lrwxrwxrwx 1 david git 17 Dec 4 22:40 HEAD -> refs/heads/master\n drwxrwsr-x 2 david git 4096 Dec 4 22:40 branches\n -rw-rw-r-- 1 david git 84 Dec 4 22:40 config\n -rw-rw-r-- 1 david git 58 Dec 4 22:40 description\n drwxrwsr-x 2 david git 4096 Dec 4 22:40 hooks\n -rw-rw-r-- 1 david git 37504 Dec 4 22:40 index\n drwxrwsr-x 2 david git 4096 Dec 4 22:40 info\n drwxrwsr-x 4 david git 4096 Dec 4 22:40 objects\n drwxrwsr-x 4 david git 4096 Nov 7 14:58 refs\n drwxrwsr-x 2 david git 4096 Dec 4 22:40 remotes\n$ ls -l hooks/update (3)\n -r-xr-xr-x 1 david git 3536 Dec 4 22:40 update\n$ cat info/allowed-users (4)\nrefs/heads/master\talice\\|cindy\nrefs/heads/doc-update\tbob\nrefs/tags/v[0-9]*\tdavid\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.243Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":178,"estimatedTokens":1139}}201{"id":"doc-git_gittutorial_documentation-42eaae39","source":"documentation","title":"Git - gittutorial Documentation","url":"http://git-scm.com/docs/gittutorial","text":"Example:\n```text\ngit *\n```\n\nExample:\n```text\n$ man git-log\n```\n\nExample:\n```text\n$ git help log\n```\n\nExample:\n```text\n$ git config --global user.name \"Your Name Comes Here\"\n$ git config --global user.email you@yourdomain.example.com\n```\n\nExample:\n```text\n$ tar xzf project.tar.gz\n$ cd project\n$ git init\n```\n\nExample:\n```text\nInitialized empty Git repository in .git/\n```\n\nExample:\n```text\n$ git add .\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git add file1 file2 file3\n```\n\nExample:\n```text\n$ git diff --cached\n```\n\nExample:\n```text\n$ git status\nOn branch master\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\n\tmodified: file1\n\tmodified: file2\n\tmodified: file3\n```\n\nExample:\n```text\n$ git commit -a\n```\n\nExample:\n```text\n$ git log\n```\n\nExample:\n```text\n$ git log -p\n```\n\nExample:\n```text\n$ git log --stat --summary\n```\n\nExample:\n```text\n$ git branch experimental\n```\n\nExample:\n```text\n$ git branch\n```\n\nExample:\n```text\nexperimental\n* master\n```\n\nExample:\n```text\n$ git switch experimental\n```\n\nExample:\n```text\n(edit file)\n$ git commit -a\n$ git switch master\n```\n\nExample:\n```text\n(edit file)\n$ git commit -a\n```\n\nExample:\n```text\n$ git merge experimental\n```\n\nExample:\n```text\n$ git diff\n```\n\nExample:\n```text\n$ gitk\n```\n\nExample:\n```text\n$ git branch -d experimental\n```\n\nExample:\n```text\n$ git branch -D crazy-idea\n```\n\nExample:\n```text\nbob$ git clone /home/alice/project myrepo\n```\n\nExample:\n```text\n(edit files)\nbob$ git commit -a\n(repeat as necessary)\n```\n\nExample:\n```text\nalice$ cd /home/alice/project\nalice$ git pull /home/bob/myrepo master\n```\n\nExample:\n```text\nalice$ git fetch /home/bob/myrepo master\nalice$ git log -p HEAD..FETCH_HEAD\n```\n\nExample:\n```text\n$ gitk HEAD..FETCH_HEAD\n```\n\nExample:\n```text\n$ gitk HEAD...FETCH_HEAD\n```\n\nExample:\n```text\nalice$ git remote add bob /home/bob/myrepo\n```\n\nExample:\n```text\nalice$ git fetch bob\n```\n\nExample:\n```text\nalice$ git log -p master..bob/master\n```\n\nExample:\n```text\nalice$ git merge bob/master\n```\n\nExample:\n```text\nalice$ git pull . remotes/bob/master\n```\n\nExample:\n```text\nbob$ git pull\n```\n\nExample:\n```text\nbob$ git config --get remote.origin.url\n/home/alice/project\n```\n\nExample:\n```text\nbob$ git branch -r\n origin/master\n```\n\nExample:\n```text\nbob$ git clone alice.org:/home/alice/project myrepo\n```\n\nExample:\n```text\n$ git log\ncommit c82a22c39cbc32576f64f5c6b3f24b99ea8149c7\nAuthor: Junio C Hamano <junkio@cox.net>\nDate: Tue May 16 17:18:22 2006 -0700\n\n merge-base: Clarify the comments on post processing.\n```\n\nExample:\n```text\n$ git show c82a22c39cbc32576f64f5c6b3f24b99ea8149c7\n```\n\nExample:\n```text\n$ git show c82a22c39c\t# the first few characters of the name are\n\t\t\t# usually enough\n$ git show HEAD\t\t# the tip of the current branch\n$ git show experimental\t# the tip of the \"experimental\" branch\n```\n\nExample:\n```text\n$ git show HEAD^ # to see the parent of HEAD\n$ git show HEAD^^ # to see the grandparent of HEAD\n$ git show HEAD~4 # to see the great-great grandparent of HEAD\n```\n\nExample:\n```text\n$ git show HEAD^1 # show the first parent of HEAD (same as HEAD^)\n$ git show HEAD^2 # show the second parent of HEAD\n```\n\nExample:\n```text\n$ git tag v2.5 1b2e1d63ff\n```\n\nExample:\n```text\n$ git diff v2.5 HEAD\t # compare the current HEAD to v2.5\n$ git branch stable v2.5 # start a new branch named \"stable\" based\n\t\t\t # at v2.5\n$ git reset --hard HEAD^ # reset your current branch and working\n\t\t\t # directory to its state at HEAD^\n```\n\nExample:\n```text\n$ git grep \"hello\" v2.5\n```\n\nExample:\n```text\n$ git grep \"hello\"\n```\n\nExample:\n```text\n$ git log v2.5..v2.6 # commits between v2.5 and v2.6\n$ git log v2.5.. # commits since v2.5\n$ git log --since=\"2 weeks ago\" # commits from the last 2 weeks\n$ git log v2.5.. Makefile # commits since v2.5 which modify\n\t\t\t\t# Makefile\n```\n\nExample:\n```text\n$ git log stable..master\n```\n\nExample:\n```text\n$ git log master..stable\n```\n\nExample:\n```text\n$ gitk --since=\"2 weeks ago\" drivers/\n```\n\nExample:\n```text\n$ git diff v2.5:Makefile HEAD:Makefile.in\n```\n\nExample:\n```text\n$ git show v2.5:Makefile\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.244Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":56,"totalLines":320,"estimatedTokens":1030}}202{"id":"doc-git_gitattributes_documentation-4e1c525c","source":"documentation","title":"Git - gitattributes Documentation","url":"http://git-scm.com/docs/gitattributes","text":"Example:\n```text\npattern attr1 attr2 ...\n```\n\nExample:\n```text\ncrlf\t\ttext\n-crlf\t\t-text\ncrlf=input\teol=lf\n```\n\nExample:\n```text\n[core]\n\tautocrlf = true\n```\n\nExample:\n```text\n*\ttext=auto\n```\n\nExample:\n```text\n* text=auto\n*.txt\t\ttext\n*.vcproj\ttext eol=crlf\n*.sh\t\ttext eol=lf\n*.jpg\t\t-text\n```\n\nExample:\n```text\n$ echo \"* text=auto\" >.gitattributes\n$ git add --renormalize .\n$ git status # Show files that will be normalized\n$ git commit -m \"Introduce end-of-line normalization\"\n```\n\nExample:\n```text\nmanual.pdf\t-text\n```\n\nExample:\n```text\nweirdchars.txt\ttext\n```\n\nExample:\n```text\n*.ps1\t\ttext working-tree-encoding=UTF-16\n```\n\nExample:\n```text\n*.ps1\t\ttext working-tree-encoding=UTF-16LE eol=crlf\n```\n\nExample:\n```text\niconv --list\n```\n\nExample:\n```text\nfile foo.ps1\n```\n\nExample:\n```text\n*.c\tfilter=indent\n```\n\nExample:\n```text\n[filter \"indent\"]\n\tclean = indent\n\tsmudge = cat\n```\n\nExample:\n```text\n[filter \"crypt\"]\n\tclean = openssl enc ...\n\tsmudge = openssl enc -d ...\n\trequired\n```\n\nExample:\n```text\n[filter \"p4\"]\n\tclean = git-p4-filter --clean %f\n\tsmudge = git-p4-filter --smudge %f\n```\n\nExample:\n```text\npacket: git> command=smudge\npacket: git> pathname=path/testfile.dat\npacket: git> 0000\npacket: git> CONTENT\npacket: git> 0000\n```\n\nExample:\n```text\npacket: git< status=success\npacket: git< 0000\npacket: git< SMUDGED_CONTENT\npacket: git< 0000\npacket: git< 0000 # empty list, keep \"status=success\" unchanged!\n```\n\nExample:\n```text\npacket: git< status=success\npacket: git< 0000\npacket: git< 0000 # empty content!\npacket: git< 0000 # empty list, keep \"status=success\" unchanged!\n```\n\nExample:\n```text\npacket: git< status=error\npacket: git< 0000\n```\n\nExample:\n```text\npacket: git< status=success\npacket: git< 0000\npacket: git< HALF_WRITTEN_ERRONEOUS_CONTENT\npacket: git< 0000\npacket: git< status=error\npacket: git< 0000\n```\n\nExample:\n```text\npacket: git< status=abort\npacket: git< 0000\n```\n\nExample:\n```text\npacket: git> command=smudge\npacket: git> pathname=path/testfile.dat\npacket: git> can-delay=1\npacket: git> 0000\npacket: git> CONTENT\npacket: git> 0000\npacket: git< status=delayed\npacket: git< 0000\n```\n\nExample:\n```text\npacket: git> command=list_available_blobs\npacket: git> 0000\npacket: git< pathname=path/testfile.dat\npacket: git< pathname=path/otherfile.dat\npacket: git< 0000\npacket: git< status=success\npacket: git< 0000\n```\n\nExample:\n```text\npacket: git> command=smudge\npacket: git> pathname=path/testfile.dat\npacket: git> 0000\npacket: git> 0000 # empty content!\npacket: git< status=success\npacket: git< 0000\npacket: git< SMUDGED_CONTENT\npacket: git< 0000\npacket: git< 0000 # empty list, keep \"status=success\" unchanged!\n```\n\nExample:\n```text\n[diff \"jcdiff\"]\n\tcommand = j-c-diff\n```\n\nExample:\n```text\n*.json diff=<name>\n```\n\nExample:\n```text\n[diff \"<name>\"]\n algorithm = histogram\n```\n\nExample:\n```text\n@@ -k,l +n,m @@ TEXT\n```\n\nExample:\n```text\n*.tex\tdiff=tex\n```\n\nExample:\n```text\n[diff \"tex\"]\n\txfuncname = \"^(\\\\\\\\(sub)*section\\\\{.*)$\"\n```\n\nExample:\n```text\n[diff \"tex\"]\n\twordRegex = \"\\\\\\\\[a-zA-Z]+|[{}]|\\\\\\\\.|[^\\\\{}[:space:]]+\"\n```\n\nExample:\n```text\n[diff \"jpg\"]\n\ttextconv = exif\n```\n\nExample:\n```text\n[diff \"jpg\"]\n\ttextconv = exif\n\tcachetextconv = true\n```\n\nExample:\n```text\n*.ps -diff\n```\n\nExample:\n```text\n[diff \"ps\"]\n textconv = ps2ascii\n binary = true\n```\n\nExample:\n```text\n[merge \"filfre\"]\n\tname = feel-free merge driver\n\tdriver = filfre %O %A %B %L %P\n\trecursive = binary\n```\n\nExample:\n```text\nDocumentation/git-merge.adoc\tconflict-marker-size=32\n```\n\nExample:\n```text\n*.jpg -text -diff\n```\n\nExample:\n```text\n*.jpg binary\n```\n\nExample:\n```text\n[attr]binary -diff -merge -text\n```\n\nExample:\n```text\n(in $GIT_DIR/info/attributes)\n\na*\tfoo !bar -baz\n\n(in .gitattributes)\nabc\tfoo bar baz\n\n(in t/.gitattributes)\nab*\tmerge=filfre\nabc\t-foo -bar\n*.c\tfrotz\n```\n\nExample:\n```text\nfoo\tset to true\nbar\tunspecified\nbaz\tset to false\nmerge\tset to string value \"filfre\"\nfrotz\tunspecified\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.250Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":43,"totalLines":298,"estimatedTokens":1092}}203{"id":"doc-git_git_rebase_documentation-fb46b90e","source":"documentation","title":"Git - git-rebase Documentation","url":"http://git-scm.com/docs/git-rebase","text":"Example:\n```text\ngit rebase [-i | --interactive] [<options>] [--exec <cmd>]\n\t[--onto <newbase> | --keep-base] [<upstream> [<branch>]]\ngit rebase [-i | --interactive] [<options>] [--exec <cmd>] [--onto <newbase>]\n\t--root [<branch>]\ngit rebase (--continue|--skip|--abort|--quit|--edit-todo|--show-current-patch)\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA'--B'--C' topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\ngit rebase --continue\n```\n\nExample:\n```text\ngit rebase --abort\n```\n\nExample:\n```text\ngit rebase --skip\n```\n\nExample:\n```text\no---o---o---o---o master\n \\\n o---o---o---o---o next\n \\\n o---o---o topic\n```\n\nExample:\n```text\no---o---o---o---o master\n | \\\n | o'--o'--o' topic\n \\\n o---o---o---o---o next\n```\n\nExample:\n```text\ngit rebase --onto master next topic\n```\n\nExample:\n```text\nH---I---J topicB\n /\n E---F---G topicA\n /\n A---B---C---D master\n```\n\nExample:\n```text\ngit rebase --onto master topicA topicB\n```\n\nExample:\n```text\nH'--I'--J' topicB\n /\n | E---F---G topicA\n |/\n A---B---C---D master\n```\n\nExample:\n```text\nE---F---G---H---I---J topicA\n```\n\nExample:\n```text\ngit rebase --onto topicA~5 topicA~3 topicA\n```\n\nExample:\n```text\nE---H'---I'---J' topicA\n```\n\nExample:\n```text\ngit rebase -i --exec \"cmd1 && cmd2 && ...\"\n```\n\nExample:\n```text\ngit rebase -i --exec \"cmd1\" --exec \"cmd2\" --exec ...\n```\n\nExample:\n```text\ngit rebase -i <after-this-commit>\n```\n\nExample:\n```text\npick deadbee The oneline of this commit\npick fa1afe1 The oneline of the next commit\n...\n```\n\nExample:\n```text\n$ git rebase -i HEAD~5\n```\n\nExample:\n```text\nX\n \\\n A---M---B\n /\n---o---O---P---Q\n```\n\nExample:\n```text\n$ git rebase -i -r --onto Q O\n```\n\nExample:\n```text\npick deadbee Implement feature XXX\nfixup f1a5c00 Fix to feature XXX\nexec make\npick c0ffeee The oneline of the next commit\nedit deadbab The oneline of the commit after\nexec cd subdir; make test\n...\n```\n\nExample:\n```text\n$ git rebase -i --exec \"make test\"\n```\n\nExample:\n```text\npick 5928aea one\nexec make test\npick 04d0fda two\nexec make test\npick ba46169 three\nexec make test\npick f4593f9 four\nexec make test\n```\n\nExample:\n```text\no---o---o---o---o---o---o---o master\n\t \\\n\t o---o---o---o---o subsystem\n\t\t\t \\\n\t\t\t *---*---* topic\n```\n\nExample:\n```text\no---o---o---o---o---o---o---o master\n\t \\\t\t\t \\\n\t o---o---o---o---o\t o'--o'--o'--o'--o' subsystem\n\t\t\t \\\n\t\t\t *---*---* topic\n```\n\nExample:\n```text\no---o---o---o---o---o---o---o master\n\t \\\t\t\t \\\n\t o---o---o---o---o\t o'--o'--o'--o'--o'--M\t subsystem\n\t\t\t \\\t\t\t /\n\t\t\t *---*---*-..........-*--* topic\n```\n\nExample:\n```text\n$ git rebase subsystem\n```\n\nExample:\n```text\no---o---o---o---o---o---o---o master\n\t\t\t\t \\\n\t\t\t\t o'--o'--o'--o'--o' subsystem\n\t\t\t\t\t\t \\\n\t\t\t\t\t\t *---*---* topic\n```\n\nExample:\n```text\n$ git rebase --onto subsystem subsystem@{1}\n```\n\nExample:\n```text\n* Merge branch 'report-a-bug'\n|\\\n| * Add the feedback button\n* | Merge branch 'refactor-button'\n|\\ \\\n| |/\n| * Use the Button class for all buttons\n| * Extract a generic Button class from the DownloadButton one\n```\n\nExample:\n```text\nlabel onto\n\n# Branch: refactor-button\nreset onto\npick 123456 Extract a generic Button class from the DownloadButton one\npick 654321 Use the Button class for all buttons\nlabel refactor-button\n\n# Branch: report-a-bug\nreset refactor-button # Use the Button class for all buttons\npick abcdef Add the feedback button\nlabel report-a-bug\n\nreset onto\nmerge -C a1b2c3 refactor-button # Merge 'refactor-button'\nmerge -C 6f5e4d report-a-bug # Merge 'report-a-bug'\n```\n\nExample:\n```text\npick 192837 Switch from GNU Makefiles to CMake\npick 5a6c7e Document the switch to CMake\npick 918273 Fix detection of OpenSSL in CMake\npick afbecd http: add support for TLS v1.3\npick fdbaec Fix detection of cURL in CMake on Windows\n```\n\nExample:\n```text\nlabel onto\n\npick afbecd http: add support for TLS v1.3\nlabel tlsv1.3\n\nreset onto\npick 192837 Switch from GNU Makefiles to CMake\npick 918273 Fix detection of OpenSSL in CMake\npick fdbaec Fix detection of cURL in CMake on Windows\npick 5a6c7e Document the switch to CMake\nlabel cmake\n\nreset onto\nmerge tlsv1.3\nmerge cmake\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.253Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":37,"totalLines":289,"estimatedTokens":1164}}204{"id":"doc-git_gitrevisions_documentation-f9262148","source":"documentation","title":"Git - gitrevisions Documentation","url":"http://git-scm.com/docs/gitrevisions","text":"Example:\n```text\n$ git config push.default current\n$ git config remote.pushdefault myfork\n$ git switch -c mybranch origin/master\n\n$ git rev-parse --symbolic-full-name @{upstream}\nrefs/remotes/origin/master\n\n$ git rev-parse --symbolic-full-name @{push}\nrefs/remotes/myfork/mybranch\n```\n\nExample:\n```text\nG H I J\n \\ / \\ /\n D E F\n \\ | / \\\n \\ | / |\n \\|/ |\n B C\n \\ /\n \\ /\n A\n```\n\nExample:\n```text\nA = = A^0\nB = A^ = A^1 = A~1\nC = = A^2\nD = A^^ = A^1^1 = A~2\nE = B^2 = A^^2\nF = B^3 = A^^3\nG = A^^^ = A^1^1^1 = A~3\nH = D^2 = B^^2 = A^^^2 = A~2^2\nI = F^ = B^3^ = A^^3^\nJ = F^2 = B^3^2 = A^^3^2\n```\n\nExample:\n```text\n$ git log A..B C..D\n```\n\nExample:\n```text\n---A---B---o---o---C---D\n```\n\nExample:\n```text\nArgs Expanded arguments Selected commits\n D G H D\n D F G H I J D F\n ^G D H D\n ^D B E I J F B\n ^D B C E I J F B C\n C I J F C\n B..C = ^B C C\n B...C = B ^F C G H D E B C\n B^- = B^..B\n\t = ^B^1 B E I J F B\n C^@ = C^1\n\t = F I J F\n B^@ = B^1 B^2 B^3\n\t = D E F D G H E F I J\n C^! = C ^C^@\n\t = C ^C^1\n\t = C ^F C\n B^! = B ^B^@\n\t = B ^B^1 ^B^2 ^B^3\n\t = B ^D ^E ^F B\n F^! D = F ^I ^J D G H D F\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.254Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":78,"estimatedTokens":377}}205{"id":"doc-git_git_reflog_documentation-5d538006","source":"documentation","title":"Git - git-reflog Documentation","url":"http://git-scm.com/docs/git-reflog","text":"Example:\n```text\ngitreflogshowgitrefloglistgitreflogexistsgitreflogwritegitreflogdelete--rewrite--updateref--dry-run-n--verbose@{}...gitreflogdrop--all--single-worktreegitreflogexpire--expire=--expire-unreachable=--rewrite--updateref--stale-fix--dry-run-n--verbose--all--single-worktree\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.254Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":76}}206{"id":"doc-git_git_log_documentation-48b55098","source":"documentation","title":"Git - git-log Documentation","url":"http://git-scm.com/docs/git-log","text":"Example:\n```text\ngitlog--\n```\n\nExample:\n```text\n$ git log foo bar ^baz\n```\n\nExample:\n```text\n$ git log origin..HEAD\n$ git log HEAD ^origin\n```\n\nExample:\n```text\n$ git log A B --not $(git merge-base --all A B)\n$ git log A...B\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / / /\n\tI B C D E Y\n\t \\ / / / / /\n\t `-------------' X\n```\n\nExample:\n```text\n.-A---N---O\n\t / / /\n\tI---------D\n```\n\nExample:\n```text\nI A B N D O P Q\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / /\n\tI B / D /\n\t \\ / / / /\n\t `-------------'\n```\n\nExample:\n```text\n.-A---M---N---O\n\t / / /\n\tI B D\n\t \\ / /\n\t `---------'\n```\n\nExample:\n```text\nD---E-------F\n\t / \\ \\\n\t B---C---G---H---I---J\n\t / \\\n\tA-------K---------------L--M\n```\n\nExample:\n```text\nE-------F\n\t\t \\ \\\n\t\t G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nE\n\t\t \\\n\t C---G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nK---------------L--M\n```\n\nExample:\n```text\n.-A---M-----C--N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`-Z' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `---Y--'\n```\n\nExample:\n```text\nI---X\n```\n\nExample:\n```text\n.-A---M--------N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`--' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `------'\n```\n\nExample:\n```text\n.-A---M--.\n\t / / \\\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\nI---X---R---N\n```\n\nExample:\n```text\n.-A---M--. N\n\t / / \\ /\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\n---1----2----4----7\n\t\\\t \\\n\t 3----5----6----8---\n```\n\nExample:\n```text\ny---b---b branch B\n\t / \\ /\n\t / .\n\t / / \\\n\t o---x---a---a branch A\n```\n\nExample:\n```text\n$ git rev-list --left-right --boundary --pretty=oneline A...B\n\n\t>bbbbbbb... 3rd on b\n\t>bbbbbbb... 2nd on b\n\t<aaaaaaa... 3rd on a\n\t<aaaaaaa... 2nd on a\n\t-yyyyyyy... 1st on b\n\t-xxxxxxx... 1st on a\n```\n\nExample:\n```text\n<hash> <title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n_\n <title-line>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author-date>\nCommit: <committer>\nCommitDate: <committer-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author-date>\nSubject: [PATCH] <title-line>\n_\n<full-commit-message>_\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n%(decorate:prefix=,suffix=,tag=,separator= )\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.263Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":45,"totalLines":364,"estimatedTokens":1223}}207{"id":"doc-git_git_svn_documentation-7c2e4fa6","source":"documentation","title":"Git - git-svn Documentation","url":"http://git-scm.com/docs/git-svn","text":"Example:\n```text\ngit svn <command> [<options>] [<arguments>]\n```\n\nExample:\n```text\nconfig key: svn-remote.<name>.ignore-refs\n```\n\nExample:\n```text\nconfig key: svn-remote.<name>.ignore-paths\n```\n\nExample:\n```text\n--ignore-paths=\"^doc\"\n```\n\nExample:\n```text\n--ignore-paths=\"^[^/]+/(?:branches|tags)\"\n```\n\nExample:\n```text\nconfig key: svn-remote.<name>.include-paths\n```\n\nExample:\n```text\nconfig key: svn-remote.<name>.commiturl\nconfig key: svn.commiturl (overwrites all svn-remote.<name>.commiturl options)\n```\n\nExample:\n```text\nconfig key: svn.pushmergeinfo\n```\n\nExample:\n```text\ngit config --get-all svn-remote.<name>.branches\ngit config --get-all svn-remote.<name>.tags\n```\n\nExample:\n```text\ngit config --get-all svn-remote.<name>.commiturl\n```\n\nExample:\n```text\ngit svn propset svn:keywords \"FreeBSD=%H\" devel/py-tipper/Makefile\n```\n\nExample:\n```text\nr1---r2---r3 remotes/git-svn\n \\\n A---B master\n```\n\nExample:\n```text\ngit svn reset -r2 -p\ngit svn fetch\n```\n\nExample:\n```text\nr1---r2'--r3' remotes/git-svn\n \\\n r2---r3---A---B master\n```\n\nExample:\n```text\ngit rebase --onto remotes/git-svn A^ master\n```\n\nExample:\n```text\nr1---r2'--r3' remotes/git-svn\n \\\n A'--B' master\n```\n\nExample:\n```text\nconfig key: svn.rmdir\n```\n\nExample:\n```text\nconfig key: svn.edit\n```\n\nExample:\n```text\nconfig key: svn.l\nconfig key: svn.findcopiesharder\n```\n\nExample:\n```text\nloginname = Joe User <user@example.com>\n```\n\nExample:\n```text\nconfig key: svn.authorsfile\n```\n\nExample:\n```text\nconfig key: svn.authorsProg\n```\n\nExample:\n```text\nconfig key: svn.useLogAuthor\n```\n\nExample:\n```text\nconfig key: svn.addAuthorFrom\n```\n\nExample:\n```text\nconfig key: svn.followparent\n```\n\nExample:\n```text\n# Clone a repo (like git clone):\n\tgit svn clone http://svn.example.com/project/trunk\n# Enter the newly cloned directory:\n\tcd trunk\n# You should be on master branch, double-check with 'git branch'\n\tgit branch\n# Do some work and commit locally to Git:\n\tgit commit ...\n# Something is committed to SVN, rebase your local changes against the\n# latest changes in SVN:\n\tgit svn rebase\n# Now commit your changes (that were committed previously using Git) to SVN,\n# as well as automatically updating your working HEAD:\n\tgit svn dcommit\n# Append svn:ignore and svn:global-ignores settings to the default Git exclude file:\n\tgit svn show-ignore >> .git/info/exclude\n```\n\nExample:\n```text\n# Clone a repo with standard SVN directory layout (like git clone):\n\tgit svn clone http://svn.example.com/project --stdlayout --prefix svn/\n# Or, if the repo uses a non-standard directory layout:\n\tgit svn clone http://svn.example.com/project -T tr -b branch -t tag --prefix svn/\n# View all branches and tags you have cloned:\n\tgit branch -r\n# Create a new branch in SVN\n\tgit svn branch waldo\n# Reset your master to trunk (or any other branch, replacing 'trunk'\n# with the appropriate name):\n\tgit reset --hard svn/trunk\n# You may only dcommit to one branch/tag/trunk at a time. The usage\n# of dcommit/rebase/show-ignore should be the same as above.\n```\n\nExample:\n```text\n# Do the initial import on a server\n\tssh server \"cd /pub && git svn clone http://svn.example.com/project [options...]\"\n# Clone locally - make sure the refs/remotes/ space matches the server\n\tmkdir project\n\tcd project\n\tgit init\n\tgit remote add origin server:/pub/project\n\tgit config --replace-all remote.origin.fetch '+refs/remotes/*:refs/remotes/*'\n\tgit fetch\n# Prevent fetch/pull from remote Git server in the future,\n# we only want to use git svn for future updates\n\tgit config --remove-section remote.origin\n# Create a local branch from one of the branches just fetched\n\tgit checkout -b master FETCH_HEAD\n# Initialize 'git svn' locally (be sure to use the same URL and\n# --stdlayout/-T/-b/-t/--prefix options as were used on server)\n\tgit svn init http://svn.example.com/project [options...]\n# Pull the latest changes from Subversion\n\tgit svn rebase\n```\n\nExample:\n```text\ngit log --grep=^git-svn-id: --first-parent -1\n```\n\nExample:\n```text\nbranches = stable/*:refs/remotes/svn/stable/*\nbranches = debug/*:refs/remotes/svn/debug/*\n```\n\nExample:\n```text\n[svn-remote \"project-a\"]\n\turl = http://server.org/svn\n\tfetch = trunk/project-a:refs/remotes/project-a/trunk\n\tbranches = branches/*/project-a:refs/remotes/project-a/branches/*\n\tbranches = branches/release_*:refs/remotes/project-a/branches/release_*\n\tbranches = branches/re*se:refs/remotes/project-a/branches/*\n\ttags = tags/*/project-a:refs/remotes/project-a/tags/*\n```\n\nExample:\n```text\nbranches = branches/re*se:refs/remotes/project-a/branches/*\n```\n\nExample:\n```text\nbranches = branches/re*s*e:refs/remotes/project-a/branches/*\n```\n\nExample:\n```text\n[svn-remote \"huge-project\"]\n\turl = http://server.org/svn\n\tfetch = trunk/src:refs/remotes/trunk\n\tbranches = branches/{red,green}/src:refs/remotes/project-a/branches/*\n\ttags = tags/{1.0,2.0}/src:refs/remotes/project-a/tags/*\n```\n\nExample:\n```text\n[svn-remote \"messy-repo\"]\n\turl = http://server.org/svn\n\tfetch = trunk/project-a:refs/remotes/project-a/trunk\n\tfetch = branches/demos/june-project-a-demo:refs/remotes/project-a/demos/june-demo\n\tbranches = branches/server/*:refs/remotes/project-a/branches/*\n\tbranches = branches/demos/2011/*:refs/remotes/project-a/2011-demos/*\n\ttags = tags/server/*:refs/remotes/project-a/tags/*\n```\n\nExample:\n```text\n$ git svn branch -d branches/server release-2-3-0\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.266Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":36,"totalLines":253,"estimatedTokens":1352}}208{"id":"doc-git_git_bugreport_documentation-94f1d3f3","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.33.1","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.266Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":28}}209{"id":"doc-git_git_bugreport_documentation-c5b5fd47","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.43.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.266Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":34}}210{"id":"doc-git_git_bugreport_documentation-3089f3be","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/2.45.0","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>]\n\t\t[(-s | --suffix) <format> | --no-suffix]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.267Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}211{"id":"doc-git_git_request_pull_documentation-f0d19359","source":"documentation","title":"Git - git-request-pull Documentation","url":"http://git-scm.com/docs/git-request-pull","text":"Example:\n```text\ngit request-pull [-p] <start> <URL> [<end>]\n```\n\nExample:\n```text\ngit push https://git.ko.xz/project master\n```\n\nExample:\n```text\ngit request-pull v1.0 https://git.ko.xz/project master\n```\n\nExample:\n```text\ngit push https://git.ko.xz/project master:for-linus\n```\n\nExample:\n```text\ngit request-pull v1.0 https://git.ko.xz/project master:for-linus\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.267Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":26,"estimatedTokens":95}}212{"id":"doc-git_gitmodules_documentation-fd2a105b","source":"documentation","title":"Git - gitmodules Documentation","url":"http://git-scm.com/docs/gitmodules","text":"Example:\n```text\n[submodule \"libfoo\"]\n\tpath = include/foo\n\turl = git://foo.com/git/lib.git\n\n[submodule \"libbar\"]\n\tpath = include/bar\n\turl = git://bar.com/git/lib.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.267Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":12,"estimatedTokens":46}}213{"id":"doc-git_git_imap_send_documentation-acf8e780","source":"documentation","title":"Git - git-imap-send Documentation","url":"http://git-scm.com/docs/git-imap-send","text":"Example:\n```text\ngitimap-send-v-q--no-curl--folder-fgitimap-send--list\n```\n\nExample:\n```text\n$ git format-patch --signoff --stdout --attach origin | git imap-send\n```\n\nExample:\n```text\n* LIST (\\HasNoChildren) \"/\" \"INBOX\"\n* LIST (\\HasChildren \\Noselect) \"/\" \"[Gmail]\"\n* LIST (\\All \\HasNoChildren) \"/\" \"[Gmail]/All Mail\"\n* LIST (\\Drafts \\HasNoChildren) \"/\" \"[Gmail]/Drafts\"\n* LIST (\\HasNoChildren \\Important) \"/\" \"[Gmail]/Important\"\n* LIST (\\HasNoChildren \\Sent) \"/\" \"[Gmail]/Sent Mail\"\n* LIST (\\HasNoChildren \\Junk) \"/\" \"[Gmail]/Spam\"\n* LIST (\\Flagged \\HasNoChildren) \"/\" \"[Gmail]/Starred\"\n* LIST (\\HasNoChildren \\Trash) \"/\" \"[Gmail]/Trash\"\n```\n\nExample:\n```text\n[imap]\n folder = \"INBOX.Drafts\"\n tunnel = \"ssh -q -C user@example.com /usr/bin/imapd ./Maildir 2> /dev/null\"\n```\n\nExample:\n```text\n[imap]\n folder = \"INBOX.Drafts\"\n host = imap://imap.example.com\n user = bob\n pass = p4ssw0rd\n```\n\nExample:\n```text\n[imap]\n folder = \"INBOX.Drafts\"\n host = imaps://imap.example.com\n user = bob\n pass = p4ssw0rd\n port = 123\n ; sslVerify = false\n```\n\nExample:\n```text\n[imap]\n folder = \"[Gmail]/Drafts\"\n host = imaps://imap.gmail.com\n user = user@gmail.com\n port = 993\n```\n\nExample:\n```text\n[imap]\n folder = \"[Gmail]/Drafts\"\n host = imaps://imap.gmail.com\n user = user@gmail.com\n port = 993\n authmethod = OAUTHBEARER\n```\n\nExample:\n```text\n[imap]\n folder = \"Drafts\"\n host = imaps://outlook.office365.com\n user = user@outlook.com\n port = 993\n authmethod = XOAUTH2\n```\n\nExample:\n```text\n$ git format-patch --cover-letter -M --stdout origin/master | git imap-send\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.268Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":85,"estimatedTokens":411}}214{"id":"doc-git_git_clean_documentation-7ad82721","source":"documentation","title":"Git - git-clean Documentation","url":"http://git-scm.com/docs/git-clean","text":"Example:\n```text\ngit clean [-d] [-f] [-i] [-n] [-q] [-e <pattern>] [-x | -X] [--] [<pathspec>…]\n```\n\nExample:\n```text\n*** Commands ***\n\t1: clean 2: filter by pattern 3: select by numbers\n\t4: ask each 5: quit 6: help\n What now> 1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.268Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":14,"estimatedTokens":74}}215{"id":"doc-git_gitsubmodules_documentation-8673ff66","source":"documentation","title":"Git - gitsubmodules Documentation","url":"http://git-scm.com/docs/gitsubmodules","text":"Example:\n```text\n.gitmodules, $GIT_DIR/config\n```\n\nExample:\n```text\ngit submodule\ngit <command> --recurse-submodules\n```\n\nExample:\n```text\n[submodule \"foo\"]\n active = false\n url = https://example.org/foo\n[submodule \"bar\"]\n active = true\n url = https://example.org/bar\n[submodule \"baz\"]\n url = https://example.org/baz\n```\n\nExample:\n```text\n[submodule \"foo\"]\n active = true\n url = https://example.org/foo\n[submodule \"bar\"]\n url = https://example.org/bar\n[submodule \"baz\"]\n url = https://example.org/baz\n[submodule \"bob\"]\n ignore = true\n[submodule]\n active = b*\n active = :(exclude) baz\n```\n\nExample:\n```text\n# Add a submodule\ngit submodule add <URL> <path>\n```\n\nExample:\n```text\n# Occasionally update the submodule to a new version:\ngit -C <path> checkout <new-version>\ngit add <path>\ngit commit -m \"update submodule to new version\"\n```\n\nExample:\n```text\n# See the list of submodules in a superproject\ngit submodule status\n```\n\nExample:\n```text\n# See FORMS on removing submodules\n```\n\nExample:\n```text\n# Enable recursion for relevant commands, such that\n# regular commands recurse into submodules by default\ngit config --global submodule.recurse true\n```\n\nExample:\n```text\n# Unlike most other commands below, clone still needs\n# its own recurse flag:\ngit clone --recurse <URL> <directory>\ncd <directory>\n```\n\nExample:\n```text\n# Get to know the code:\ngit grep foo\ngit ls-files --recurse-submodules\n```\n\nExample:\n```text\n# Get new code\ngit fetch\ngit pull --rebase\n```\n\nExample:\n```text\n# Change worktree\ngit checkout\ngit reset\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.269Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":101,"estimatedTokens":388}}216{"id":"doc-git_git_am_documentation-1ea5cc88","source":"documentation","title":"Git - git-am Documentation","url":"http://git-scm.com/docs/git-am","text":"Example:\n```text\ngitam--signoff--keep--no-keep-cr--no-utf8--no-verify--no-3way--interactive--committer-date-is-author-date--ignore-date--ignore-space-change--ignore-whitespace--whitespace=-C-p--directory=--exclude=--include=--reject-q--quiet--no-scissors-S--patch-format=--quoted-cr=--empty=stopdropkeepgitam--continue--skip--abort--quit--retry--show-current-patch=diffraw--allow-empty\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.270Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":101}}217{"id":"doc-git_git_gc_documentation-2e54bade","source":"documentation","title":"Git - git-gc Documentation","url":"http://git-scm.com/docs/git-gc","text":"Example:\n```text\ngit gc [--aggressive] [--auto] [--[no-]detach] [--quiet] [--prune=<date> | --no-prune] [--force] [--keep-largest-pack]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.271Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":39}}218{"id":"doc-git_git_send_email_documentation-9fca1a6d","source":"documentation","title":"Git - git-send-email Documentation","url":"http://git-scm.com/docs/git-send-email","text":"Example:\n```text\ngit send-email [<options>] (<file>|<directory>)…\ngit send-email [<options>] <format-patch-options>\ngit send-email --dump-aliases\ngit send-email --translate-aliases\n```\n\nExample:\n```text\n[PATCH 0/2] Here is what I did...\n [PATCH 1/2] Clean up and tests\n [PATCH 2/2] Implementation\n [PATCH v2 0/3] Here is a reroll\n [PATCH v2 1/3] Clean up\n [PATCH v2 2/3] New tests\n [PATCH v2 3/3] Implementation\n```\n\nExample:\n```text\n$ git send-email --smtp-auth=\"PLAIN LOGIN GSSAPI\" ...\n```\n\nExample:\n```text\n[sendemail]\n\tsmtpEncryption = ssl\n\tsmtpServer = smtp.gmail.com\n\tsmtpUser = yourname@gmail.com\n\tsmtpServerPort = 465\n```\n\nExample:\n```text\n[sendemail]\n\tsmtpEncryption = ssl\n\tsmtpServer = smtp.gmail.com\n\tsmtpUser = yourname@gmail.com\n\tsmtpServerPort = 465\n\tsmtpAuth = OAUTHBEARER\n```\n\nExample:\n```text\n[sendemail]\n\tsmtpEncryption = tls\n\tsmtpServer = smtp.office365.com\n\tsmtpUser = yourname@outlook.com\n\tsmtpServerPort = 587\n\tsmtpAuth = XOAUTH2\n```\n\nExample:\n```text\n$ git format-patch --cover-letter -M origin/master -o outgoing/\n$ edit outgoing/0000-*\n$ git send-email outgoing/*\n```\n\nExample:\n```text\n[sendemail]\n\tsendmailCmd = /usr/bin/msmtp # Change this to the path where msmtp is installed\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.273Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":67,"estimatedTokens":309}}219{"id":"doc-git_git_count_objects_documentation-7f706829","source":"documentation","title":"Git - git-count-objects Documentation","url":"http://git-scm.com/docs/git-count-objects","text":"Example:\n```text\ngit count-objects [-v] [-H | --human-readable]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.273Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":21}}220{"id":"doc-git_git_checkout_index_documentation-a30ad116","source":"documentation","title":"Git - git-checkout-index Documentation","url":"http://git-scm.com/docs/git-checkout-index","text":"Example:\n```text\ngit checkout-index [-u] [-q] [-a] [-f] [-n] [--prefix=<string>]\n\t\t [--stage=<number>|all]\n\t\t [--temp]\n\t\t [--ignore-skip-worktree-bits]\n\t\t [-z] [--stdin]\n\t\t [--] [<file>…]\n```\n\nExample:\n```text\n$ find . -name '*.h' -print0 | xargs -0 git checkout-index -f --\n```\n\nExample:\n```text\n$ find . -name '*.h' -print0 | git checkout-index -f -z --stdin\n```\n\nExample:\n```text\n$ git checkout-index -n -f -a && git update-index --ignore-missing --refresh\n```\n\nExample:\n```text\n$ git checkout-index --prefix=git-export-dir/ -a\n```\n\nExample:\n```text\n$ git checkout-index --prefix=.merged- Makefile\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.273Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":36,"estimatedTokens":158}}221{"id":"doc-git_git_ls_tree_documentation-9acc7921","source":"documentation","title":"Git - git-ls-tree Documentation","url":"http://git-scm.com/docs/git-ls-tree","text":"Example:\n```text\ngit ls-tree [-d] [-r] [-t] [-l] [-z]\n\t [--name-only] [--name-status] [--object-only] [--full-name] [--full-tree] [--abbrev[=<n>]] [--format=<format>]\n\t <tree-ish> [<path>…]\n```\n\nExample:\n```text\n%(objectmode) %(objecttype) %(objectname)%x09%(path)\n```\n\nExample:\n```text\n%(objectmode) %(objecttype) %(objectname) %(objectsize:padded)%x09%(path)\n```\n\nExample:\n```text\ngit ls-tree --format='%(objectname) %(path)' <tree-ish>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.274Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":23,"estimatedTokens":116}}222{"id":"doc-git_git_check_ignore_documentation-e8415743","source":"documentation","title":"Git - git-check-ignore Documentation","url":"http://git-scm.com/docs/git-check-ignore","text":"Example:\n```text\ngit check-ignore [<options>] <pathname>…\ngit check-ignore [<options>] --stdin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.274Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":29}}223{"id":"doc-git_gitworkflows_documentation-c2081c11","source":"documentation","title":"Git - gitworkflows Documentation","url":"http://git-scm.com/docs/gitworkflows","text":"Example:\n```text\ngit *\n```\n\nExample:\n```text\nPlease pull from\n <URL> <branch>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.275Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":25}}224{"id":"doc-git_git_commit_tree_documentation-85ae12e3","source":"documentation","title":"Git - git-commit-tree Documentation","url":"http://git-scm.com/docs/git-commit-tree","text":"Example:\n```text\ngit commit-tree <tree> [(-p <parent>)…]\ngit commit-tree [(-p <parent>)…] [-S[<keyid>]] [(-m <message>)…]\n\t\t [(-F <file>)…] <tree>\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.276Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":20,"estimatedTokens":72}}225{"id":"doc-git_git_bundle_documentation-2806b75f","source":"documentation","title":"Git - git-bundle Documentation","url":"http://git-scm.com/docs/git-bundle","text":"Example:\n```text\ngit bundle create [-q | --quiet | --progress]\n\t\t [--version=<version>] <file> <git-rev-list-args>\ngit bundle verify [-q | --quiet] <file>\ngit bundle list-heads <file> [<refname>…]\ngit bundle unbundle [--progress] <file> [<refname>…]\n```\n\nExample:\n```text\n$ git bundle create master.bundle master\n$ echo master | git bundle create master.bundle --stdin\n$ git bundle create master-and-next.bundle master next\n$ (echo master; echo next) | git bundle create master-and-next.bundle --stdin\n```\n\nExample:\n```text\n$ git bundle create recent-master.bundle master~10..master\n$ git bundle create recent-updates.bundle master~10..master next~5..next\n```\n\nExample:\n```text\n$ git bundle create HEAD.bundle $(git rev-parse HEAD)\nfatal: Refusing to create empty bundle.\n$ git bundle create master-yesterday.bundle master~10..master~5\nfatal: Refusing to create empty bundle.\n```\n\nExample:\n```text\n$ git bundle create full.bundle new\n```\n\nExample:\n```text\n$ git bundle create full.bundle old..new\n```\n\nExample:\n```text\n$ git bundle create backup.bundle --all\n```\n\nExample:\n```text\n$ git clone backup.bundle <new directory>\n```\n\nExample:\n```text\nmachineA$ cd R1\nmachineA$ git bundle create file.bundle master\nmachineA$ git tag -f lastR2bundle master\n```\n\nExample:\n```text\nmachineB$ git clone -b master /home/me/tmp/file.bundle R2\n```\n\nExample:\n```text\n[remote \"origin\"]\n url = /home/me/tmp/file.bundle\n fetch = refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\nmachineA$ cd R1\nmachineA$ git bundle create file.bundle lastR2bundle..master\nmachineA$ git tag -f lastR2bundle master\n```\n\nExample:\n```text\nmachineB$ cd R2\nmachineB$ git pull\n```\n\nExample:\n```text\n$ git bundle create mybundle v1.0.0..master\n```\n\nExample:\n```text\n$ git bundle create mybundle --since=10.days master\n```\n\nExample:\n```text\n$ git bundle create mybundle -10 master\n```\n\nExample:\n```text\n$ git bundle verify mybundle\n```\n\nExample:\n```text\n$ git fetch mybundle master:localRef\n```\n\nExample:\n```text\n$ git ls-remote mybundle\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.276Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":114,"estimatedTokens":508}}226{"id":"doc-git_git_fsck_documentation-5bba9d3a","source":"documentation","title":"Git - git-fsck Documentation","url":"http://git-scm.com/docs/git-fsck","text":"Example:\n```text\ngit fsck [--tags] [--root] [--unreachable] [--cache] [--no-reflogs]\n\t [--[no-]full] [--strict] [--verbose] [--lost-found]\n\t [--[no-]dangling] [--[no-]progress] [--connectivity-only]\n\t [--[no-]name-objects] [--[no-]references] [<object>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.277Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":9,"estimatedTokens":69}}227{"id":"doc-git_git_format_patch_documentation-e6fb65ef","source":"documentation","title":"Git - git-format-patch Documentation","url":"http://git-scm.com/docs/git-format-patch","text":"Example:\n```text\ngit format-patch [-k] [(-o|--output-directory) <dir> | --stdout]\n\t\t [--no-thread | --thread[=<style>]]\n\t\t [(--attach|--inline)[=<boundary>] | --no-attach]\n\t\t [-s | --signoff]\n\t\t [--signature=<signature> | --no-signature]\n\t\t [--signature-file=<file>]\n\t\t [-n | --numbered | -N | --no-numbered]\n\t\t [--start-number <n>] [--numbered-files]\n\t\t [--in-reply-to=<message-id>] [--suffix=.<sfx>]\n\t\t [--ignore-if-in-upstream] [--always]\n\t\t [--cover-from-description=<mode>]\n\t\t [--rfc[=<rfc>]] [--subject-prefix=<subject-prefix>]\n\t\t [(--reroll-count|-v) <n>]\n\t\t [--to=<email>] [--cc=<email>]\n\t\t [--[no-]cover-letter] [--quiet]\n\t\t [--commit-list-format=<format-spec>]\n\t\t [--[no-]encode-email-headers]\n\t\t [--no-notes | --notes[=<ref>]]\n\t\t [--interdiff=<previous>]\n\t\t [--range-diff=<previous> [--creation-factor=<percent>]]\n\t\t [--filename-max-length=<n>]\n\t\t [--progress]\n\t\t [<common-diff-options>]\n\t\t [ <since> | <revision-range> ]\n```\n\nExample:\n```text\n[format]\n\theaders = \"Organization: git-foo\\n\"\n\tsubjectPrefix = CHANGE\n\tsuffix = .txt\n\tnumbered = auto\n\tto = <email>\n\tcc = <email>\n\tattach [ = mime-boundary-string ]\n\tsignOff = true\n\toutputDirectory = <directory>\n\tcoverLetter = auto\n\tcommitListFormat = shortlog\n\tcoverFromDescription = auto\n```\n\nExample:\n```text\nFrom 8f72bad1baf19a53459661343e21d6491c3908d3 Mon Sep 17 00:00:00 2001\nFrom: Tony Luck <tony.luck@intel.com>\nDate: Tue, 13 Jul 2010 11:42:54 -0700\nSubject: [PATCH] =?UTF-8?q?[IA64]=20Put=20ia64=20config=20files=20on=20the=20?=\n =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20diet?=\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\n\narch/arm config files were slimmed down using a python script\n(See commit c2330e286f68f1c408b4aa6515ba49d57f05beae comment)\n\nDo the same for ia64 so we can have sleek & trim looking\n...\n```\n\nExample:\n```text\n...\n> So we should do such-and-such.\n\nMakes sense to me. How about this patch?\n\n-- >8 --\nSubject: [IA64] Put ia64 config files on the Uwe Kleine-König diet\n\narch/arm config files were slimmed down using a python script\n...\n```\n\nExample:\n```text\n$ git fetch <project> master:test-apply\n$ git switch test-apply\n$ git restore --source=HEAD --staged --worktree :/\n$ git am a.patch\n```\n\nExample:\n```text\nmailnews.send_plaintext_flowed => false\n\tmailnews.wraplength => 0\n```\n\nExample:\n```text\nmail.html_compose => false\n\tmail.identity.default.compose_html => false\n\tmail.identity.id?.compose_html => false\n```\n\nExample:\n```text\n---P---X---Y---Z---A---B---C\n```\n\nExample:\n```text\nbase-commit: P\nprerequisite-patch-id: X\nprerequisite-patch-id: Y\nprerequisite-patch-id: Z\n```\n\nExample:\n```text\n---P---X---A---M---C\n \\ /\n Y---Z---B\n```\n\nExample:\n```text\n$ git format-patch -k --stdout R1..R2 | git am -3 -k\n```\n\nExample:\n```text\n$ git format-patch origin\n```\n\nExample:\n```text\n$ git format-patch --root origin\n```\n\nExample:\n```text\n$ git format-patch -M -B origin\n```\n\nExample:\n```text\n$ git format-patch -3\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.284Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":144,"estimatedTokens":766}}228{"id":"doc-git_git_update_server_info_documentation-59889e96","source":"documentation","title":"Git - git-update-server-info Documentation","url":"http://git-scm.com/docs/git-update-server-info","text":"Example:\n```text\ngit update-server-info [-f | --force]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.284Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":18}}229{"id":"doc-git_git_instaweb_documentation-56e09db6","source":"documentation","title":"Git - git-instaweb Documentation","url":"http://git-scm.com/docs/git-instaweb","text":"Example:\n```text\ngit instaweb [--local] [--httpd=<httpd>] [--port=<port>]\n [--browser=<browser>]\ngit instaweb [--start] [--stop] [--restart]\n```\n\nExample:\n```text\n[instaweb]\n\tlocal = true\n\thttpd = apache2 -f\n\tport = 4321\n\tbrowser = konqueror\n\tmodulePath = /usr/lib/apache2/modules\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.284Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":78}}230{"id":"doc-git_git_archive_documentation-89388046","source":"documentation","title":"Git - git-archive Documentation","url":"http://git-scm.com/docs/git-archive","text":"Example:\n```text\ngit archive [--format=<fmt>] [--list] [--prefix=<prefix>/] [<extra>]\n\t [-o <file> | --output=<file>] [--worktree-attributes]\n\t [--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish>\n\t [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.285Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":9,"estimatedTokens":62}}231{"id":"doc-git_git_filter_branch_documentation-2ec92d99","source":"documentation","title":"Git - git-filter-branch Documentation","url":"http://git-scm.com/docs/git-filter-branch","text":"Example:\n```text\ngit filter-branch [--setup <command>] [--subdirectory-filter <directory>]\n\t[--env-filter <command>] [--tree-filter <command>]\n\t[--index-filter <command>] [--parent-filter <command>]\n\t[--msg-filter <command>] [--commit-filter <command>]\n\t[--tag-name-filter <command>] [--prune-empty]\n\t[--original <namespace>] [-d <directory>] [-f | --force]\n\t[--state-branch <branch>] [--] [<rev-list-options>…]\n```\n\nExample:\n```text\ngit filter-branch --tree-filter 'rm filename' HEAD\n```\n\nExample:\n```text\ngit filter-branch --index-filter 'git rm --cached --ignore-unmatch filename' HEAD\n```\n\nExample:\n```text\ngit filter-branch --subdirectory-filter foodir -- --all\n```\n\nExample:\n```text\ngit filter-branch --parent-filter 'sed \"s/^\\$/-p <graft-id>/\"' HEAD\n```\n\nExample:\n```text\ngit filter-branch --parent-filter \\\n\t'test $GIT_COMMIT = <commit-id> && echo \"-p <graft-id>\" || cat' HEAD\n```\n\nExample:\n```text\ngit replace --graft $commit-id $graft-id\ngit filter-branch $graft-id..HEAD\n```\n\nExample:\n```text\ngit filter-branch --commit-filter '\n\tif [ \"$GIT_AUTHOR_NAME\" = \"Darl McBribe\" ];\n\tthen\n\t\tskip_commit \"$@\";\n\telse\n\t\tgit commit-tree \"$@\";\n\tfi' HEAD\n```\n\nExample:\n```text\nskip_commit()\n{\n\tshift;\n\twhile [ -n \"$1\" ];\n\tdo\n\t\tshift;\n\t\tmap \"$1\";\n\t\tshift;\n\tdone;\n}\n```\n\nExample:\n```text\ngit filter-branch --msg-filter '\n\tsed -e \"/^git-svn-id:/d\"\n'\n```\n\nExample:\n```text\ngit filter-branch --msg-filter '\n\tcat &&\n\techo \"Acked-by: Bugs Bunny <bunny@bugzilla.org>\"\n' HEAD~10..HEAD\n```\n\nExample:\n```text\ngit filter-branch --env-filter '\n\tif test \"$GIT_AUTHOR_EMAIL\" = \"root@localhost\"\n\tthen\n\t\tGIT_AUTHOR_EMAIL=john@example.com\n\tfi\n\tif test \"$GIT_COMMITTER_EMAIL\" = \"root@localhost\"\n\tthen\n\t\tGIT_COMMITTER_EMAIL=john@example.com\n\tfi\n' -- --all\n```\n\nExample:\n```text\nD--E--F--G--H\n / /\nA--B-----C\n```\n\nExample:\n```text\ngit filter-branch ... C..H\n```\n\nExample:\n```text\ngit filter-branch ... C..H --not D\ngit filter-branch ... D..H --not C\n```\n\nExample:\n```text\ngit filter-branch --index-filter \\\n\t'git ls-files -s | sed \"s-\\t\\\"*-&newsubdir/-\" |\n\t\tGIT_INDEX_FILE=$GIT_INDEX_FILE.new \\\n\t\t\tgit update-index --index-info &&\n\t mv \"$GIT_INDEX_FILE.new\" \"$GIT_INDEX_FILE\"' HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.287Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":125,"estimatedTokens":546}}232{"id":"doc-git_git_fast_import_documentation-802d38ac","source":"documentation","title":"Git - git-fast-import Documentation","url":"http://git-scm.com/docs/git-fast-import","text":"Example:\n```text\nfrontend | git fast-import [<options>]\n```\n\nExample:\n```text\n'commit' SP <ref> LF\n\tmark?\n\toriginal-oid?\n\t('author' (SP <name>)? SP LT <email> GT SP <when> LF)?\n\t'committer' (SP <name>)? SP LT <email> GT SP <when> LF\n\t('gpgsig' SP <algo> SP <format> LF data)?\n\t('encoding' SP <encoding> LF)?\n\tdata\n\t('from' SP <commit-ish> LF)?\n\t('merge' SP <commit-ish> LF)*\n\t(filemodify | filedelete | filecopy | filerename | filedeleteall | notemodify)*\n\tLF?\n```\n\nExample:\n```text\n'gpgsig' SP <git-hash-algo> SP <signature-format> LF data\n```\n\nExample:\n```text\nfrom refs/heads/branch^0\n```\n\nExample:\n```text\n'M' SP <mode> SP <dataref> SP <path> LF\n```\n\nExample:\n```text\n'M' SP <mode> SP 'inline' SP <path> LF\n\tdata\n```\n\nExample:\n```text\n'D' SP <path> LF\n```\n\nExample:\n```text\n'C' SP <path> SP <path> LF\n```\n\nExample:\n```text\n'R' SP <path> SP <path> LF\n```\n\nExample:\n```text\n'deleteall' LF\n```\n\nExample:\n```text\n'N' SP <dataref> SP <commit-ish> LF\n```\n\nExample:\n```text\n'N' SP 'inline' SP <commit-ish> LF\n\tdata\n```\n\nExample:\n```text\n'mark' SP ':' <idnum> LF\n```\n\nExample:\n```text\n'original-oid' SP <object-identifier> LF\n```\n\nExample:\n```text\n'tag' SP <name> LF\n\tmark?\n\t'from' SP <commit-ish> LF\n\toriginal-oid?\n\t'tagger' (SP <name>)? SP LT <email> GT SP <when> LF\n\tdata\n```\n\nExample:\n```text\n'reset' SP <ref> LF\n\t('from' SP <commit-ish> LF)?\n\tLF?\n```\n\nExample:\n```text\nreset refs/tags/938\nfrom :938\n```\n\nExample:\n```text\n'blob' LF\n\tmark?\n\toriginal-oid?\n\tdata\n```\n\nExample:\n```text\n'data' SP <count> LF\n\t<raw> LF?\n```\n\nExample:\n```text\n'data' SP '<<' <delim> LF\n\t<raw> LF\n\t<delim> LF\n\tLF?\n```\n\nExample:\n```text\n'alias' LF\n\tmark\n\t'to' SP <commit-ish> LF\n\tLF?\n```\n\nExample:\n```text\n'checkpoint' LF\n\tLF?\n```\n\nExample:\n```text\n'progress' SP <any> LF\n\tLF?\n```\n\nExample:\n```text\nfrontend | git fast-import | sed 's/^progress //'\n```\n\nExample:\n```text\n'get-mark' SP ':' <idnum> LF\n```\n\nExample:\n```text\n'cat-blob' SP <dataref> LF\n```\n\nExample:\n```text\n<sha1> SP 'blob' SP <size> LF\n<contents> LF\n```\n\nExample:\n```text\n'ls' SP <path> LF\n```\n\nExample:\n```text\n'ls' SP <dataref> SP <path> LF\n```\n\nExample:\n```text\n<mode> SP ('blob' | 'tree' | 'commit') SP <dataref> HT <path> LF\n```\n\nExample:\n```text\nmissing SP <path> LF\n```\n\nExample:\n```text\n'feature' SP <feature> ('=' <argument>)? LF\n```\n\nExample:\n```text\n'option' SP <option> LF\n```\n\nExample:\n```text\nmkfifo fast-import-output\nfrontend <fast-import-output |\ngit fast-import >fast-import-output\n```\n\nExample:\n```text\n$ cat >in <<END_OF_INPUT\n# my very first test commit\ncommit refs/heads/master\ncommitter Shawn O. Pearce <spearce> 19283 -0400\n# who is that guy anyway?\ndata <<EOF\nthis is my commit\nEOF\nM 644 inline .gitignore\ndata <<EOF\n.gitignore\nEOF\nM 777 inline bob\nEND_OF_INPUT\n```\n\nExample:\n```text\n$ git fast-import <in\nfatal: Corrupt mode: M 777 inline bob\nfast-import: dumping crash report to .git/fast_import_crash_8434\n```\n\nExample:\n```text\n$ cat .git/fast_import_crash_8434\nfast-import crash report:\n fast-import process: 8434\n parent process : 1391\n at Sat Sep 1 00:58:12 2007\n```\n\nExample:\n```text\nfatal: Corrupt mode: M 777 inline bob\n```\n\nExample:\n```text\nMost Recent Commands Before Crash\n---------------------------------\n # my very first test commit\n commit refs/heads/master\n committer Shawn O. Pearce <spearce> 19283 -0400\n # who is that guy anyway?\n data <<EOF\n M 644 inline .gitignore\n data <<EOF\n* M 777 inline bob\n```\n\nExample:\n```text\nActive Branch LRU\n-----------------\n active_branches = 1 cur, 5 max\n```\n\nExample:\n```text\npos clock name\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 1) 0 refs/heads/master\n```\n\nExample:\n```text\nInactive Branches\n-----------------\nrefs/heads/master:\n status : active loaded dirty\n tip commit : 0000000000000000000000000000000000000000\n old tree : 0000000000000000000000000000000000000000\n cur tree : 0000000000000000000000000000000000000000\n commit clock: 0\n last pack :\n```\n\nExample:\n```text\n-------------------\nEND OF CRASH REPORT\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.290Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":43,"totalLines":293,"estimatedTokens":1002}}233{"id":"doc-git_git_hash_object_documentation-fcf8f3e0","source":"documentation","title":"Git - git-hash-object Documentation","url":"http://git-scm.com/docs/git-hash-object","text":"Example:\n```text\ngit hash-object [-t <type>] [-w] [--path=<file> | --no-filters]\n\t\t[--stdin [--literally]] [--] <file>…\ngit hash-object [-t <type>] [-w] --stdin-paths [--no-filters]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.291Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":50}}234{"id":"doc-git_git_daemon_documentation-3c416901","source":"documentation","title":"Git - git-daemon Documentation","url":"http://git-scm.com/docs/git-daemon","text":"Example:\n```text\ngitdaemon--verbose--syslog--export-all--timeout=--init-timeout=--max-connections=--strict-paths--base-path=--base-path-relaxed--user-path--user-path=--interpolated-path=--reuseaddr--detach--pid-file=--enable=--disable=--allow-override=--forbid-override=--access-hook=--no-informative-errors--inetd--listen=--port=--user=--group=--log-destination=stderrsyslognone\n```\n\nExample:\n```text\n$ grep 9418 /etc/services\ngit\t\t9418/tcp\t\t# Git Version Control System\n```\n\nExample:\n```text\ngit stream tcp nowait nobody /usr/bin/git\n\t\tgit daemon --inetd --verbose --export-all\n\t\t/pub/foo /pub/bar\n```\n\nExample:\n```text\ngit stream tcp nowait nobody /usr/bin/git\n\t\tgit daemon --inetd --verbose --export-all\n\t\t--interpolated-path=/pub/%H%D\n\t\t/pub/www.example.org/software\n\t\t/pub/www.example.com/software\n\t\t/software\n```\n\nExample:\n```text\ngit daemon --verbose --export-all\n\t\t--interpolated-path=/pub/%IP/%D\n\t\t/pub/192.168.1.200/software\n\t\t/pub/10.10.220.23/software\n```\n\nExample:\n```text\n[daemon]\n\t\tuploadpack = false\n\t\tuploadarch = true\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.291Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":44,"estimatedTokens":264}}235{"id":"doc-git_git_ls_files_documentation-6e4c43bb","source":"documentation","title":"Git - git-ls-files Documentation","url":"http://git-scm.com/docs/git-ls-files","text":"Example:\n```text\ngit ls-files [-z] [-t] [-v] [-f]\n\t\t[-c|--cached] [-d|--deleted] [-o|--others] [-i|--ignored]\n\t\t[-s|--stage] [-u|--unmerged] [-k|--killed] [-m|--modified]\n\t\t[--resolve-undo]\n\t\t[--directory [--no-empty-directory]] [--eol]\n\t\t[--deduplicate]\n\t\t[-x <pattern>|--exclude=<pattern>]\n\t\t[-X <file>|--exclude-from=<file>]\n\t\t[--exclude-per-directory=<file>]\n\t\t[--exclude-standard]\n\t\t[--error-unmatch] [--with-tree=<tree-ish>]\n\t\t[--full-name] [--recurse-submodules]\n\t\t[--abbrev[=<n>]] [--format=<format>] [--] [<file>…]\n```\n\nExample:\n```text\n[<tag> ]<mode> <object> <stage> <file>\n```\n\nExample:\n```text\ngit ls-files --format='%(objectname) %(path)'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.292Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":28,"estimatedTokens":168}}236{"id":"doc-git_git_for_each_ref_documentation-8b3e8102","source":"documentation","title":"Git - git-for-each-ref Documentation","url":"http://git-scm.com/docs/git-for-each-ref","text":"Example:\n```text\ngitfor-each-ref--count=--shell--perl--python--tcl--sort=--format=--include-root-refs--points-at=--merged=--no-merged=--contains=--no-contains=--exclude=--start-after=--stdin\n```\n\nExample:\n```text\n*--*--*--*--*--* refs/heads/A\n\\\n \\\n *--*--*--* refs/heads/B\n \\ \\\n \\ \\\n * * refs/heads/C\n \\\n \\\n\t*--* refs/heads/D\n```\n\nExample:\n```text\nrefs/heads/A:\nrefs/heads/B:(D)\nrefs/heads/C:\n```\n\nExample:\n```text\n#!/bin/sh\n\ngit for-each-ref --count=3 --sort='-*authordate' \\\n`--format='From: %(*authorname) %(*authoremail)\nSubject: %(*subject)\nDate: %(*authordate)\nRef: %(*refname)\n\n%(*body)\n' 'refs/tags'\n```\n\nExample:\n```text\n#!/bin/sh\n\ngit for-each-ref --shell --format=\"ref=%(refname)\" refs/heads | \\\nwhile read entry\ndo\n\teval \"$entry\"\n\techo `dirname $ref`\ndone\n```\n\nExample:\n```text\n#!/bin/sh\n\nfmt='\n\tr=%(refname)\n\tt=%(*objecttype)\n\tT=${r#refs/tags/}\n\n\to=%(*objectname)\n\tn=%(*authorname)\n\te=%(*authoremail)\n\ts=%(*subject)\n\td=%(*authordate)\n\tb=%(*body)\n\n\tkind=Tag\n\tif test \"z$t\" = z\n\tthen\n\t\t# could be a lightweight tag\n\t\tt=%(objecttype)\n\t\tkind=\"Lightweight tag\"\n\t\to=%(objectname)\n\t\tn=%(authorname)\n\t\te=%(authoremail)\n\t\ts=%(subject)\n\t\td=%(authordate)\n\t\tb=%(body)\n\tfi\n\techo \"$kind $T points at a $t object $o\"\n\tif test \"z$t\" = zcommit\n\tthen\n\t\techo \"The commit was authored by $n $e\nat $d, and titled\n\n $s\n\nIts message reads as:\n\"\n\t\techo \"$b\" | sed -e \"s/^/ /\"\n\t\techo\n\tfi\n'\n\neval=`git for-each-ref --shell --format=\"$fmt\" \\\n\t--sort='*objecttype' \\\n\t--sort=-taggerdate \\\n\trefs/tags`\neval \"$eval\"\n```\n\nExample:\n```text\ngit for-each-ref --format=\"%(if)%(HEAD)%(then)* %(else) %(end)%(refname:short)\" refs/heads/\n```\n\nExample:\n```text\ngit for-each-ref --format=\"%(refname)%(if)%(authorname)%(then) Authored by: %(authorname)%(end)\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.294Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":114,"estimatedTokens":448}}237{"id":"doc-git_git_cat_file_documentation-02f4f3fe","source":"documentation","title":"Git - git-cat-file Documentation","url":"http://git-scm.com/docs/git-cat-file","text":"Example:\n```text\ngit cat-file <type> <object>\ngit cat-file (-e | -p | -t | -s) <object>\ngit cat-file (--textconv | --filters)\n\t [<rev>:<path|tree-ish> | --path=<path|tree-ish> <rev>]\ngit cat-file (--batch | --batch-check | --batch-command) [--batch-all-objects]\n\t [--buffer] [--follow-symlinks] [--unordered]\n\t [--textconv | --filters] [-Z]\n```\n\nExample:\n```text\nf: a file containing \"hello\\n\"\nlink: a symlink to f\ndir/link: a symlink to ../f\nplink: a symlink to ../f\nalink: a symlink to /etc/passwd\n```\n\nExample:\n```text\nce013625030ba8dba906f756967f9e9ca394464a blob 6\n```\n\nExample:\n```text\n4d1ae35ba2c8ec712fa2a379db44ad639ca277bd blob 1\n```\n\nExample:\n```text\nsymlink 4\n../f\n```\n\nExample:\n```text\nsymlink 11\n/etc/passwd\n```\n\nExample:\n```text\n<oid> SP <type> SP <size> LF\n<contents> LF\n```\n\nExample:\n```text\n<oid> SP <type> LF\n```\n\nExample:\n```text\n<object> SP missing LF\n```\n\nExample:\n```text\n<object> SP excluded LF\n```\n\nExample:\n```text\n<object> SP ambiguous LF\n```\n\nExample:\n```text\n<oid> SP submodule LF\n```\n\nExample:\n```text\nsymlink SP <size> LF\n<symlink> LF\n```\n\nExample:\n```text\ndangling SP <size> LF\n<object> LF\n```\n\nExample:\n```text\nloop SP <size> LF\n<object> LF\n```\n\nExample:\n```text\nnotdir SP <size> LF\n<object> LF\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.295Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":98,"estimatedTokens":315}}238{"id":"doc-git_git_write_tree_documentation-2aa43e31","source":"documentation","title":"Git - git-write-tree Documentation","url":"http://git-scm.com/docs/git-write-tree","text":"Example:\n```text\ngitwrite-tree--missing-ok--prefix=/\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.295Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":18}}239{"id":"doc-git_git_bugreport_documentation-539ecff3","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/zh_HANS-CN","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>]\n\t\t[(-s | --suffix) <格式> | --no-suffix]\n\t\t[--diagnose[=<模式>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.295Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":36}}240{"id":"doc-git_git_bugreport_documentation-f39fecb4","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/fr","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <chemin>]\n\t\t [(-s | --suffix) <format>] | --no-suffix]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.295Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":39}}241{"id":"doc-git_git_bugreport_documentation-d048913c","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/sv","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <sökväg>]\n\t\t[(-s | --suffix) <format> | --no-suffix]\n\t\t[--diagnose[=<läge>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.296Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}242{"id":"doc-git_git_verify_pack_documentation-795aab49","source":"documentation","title":"Git - git-verify-pack Documentation","url":"http://git-scm.com/docs/git-verify-pack","text":"Example:\n```text\ngitverify-pack-v--verbose-s--stat-only--.idx...\n```\n\nExample:\n```text\nobject-name type size size-in-packfile offset-in-packfile\n```\n\nExample:\n```text\nobject-name type size size-in-packfile offset-in-packfile depth base-object-name\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.296Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":16,"estimatedTokens":67}}243{"id":"doc-git_git_show_ref_documentation-8f691158","source":"documentation","title":"Git - git-show-ref Documentation","url":"http://git-scm.com/docs/git-show-ref","text":"Example:\n```text\ngit show-ref [--head] [-d | --dereference]\n\t [-s | --hash[=<n>]] [--abbrev[=<n>]] [--branches] [--tags]\n\t [--] [<pattern>…]\ngit show-ref --verify [-q | --quiet] [-d | --dereference]\n\t [-s | --hash[=<n>]] [--abbrev[=<n>]]\n\t [--] [<ref>…]\ngit show-ref --exclude-existing[=<pattern>]\ngit show-ref --exists <ref>\n```\n\nExample:\n```text\n<oid> SP <ref> LF\n```\n\nExample:\n```text\n$ git show-ref --head --dereference\n832e76a9899f560a90ffd62ae2ce83bbeff58f54 HEAD\n832e76a9899f560a90ffd62ae2ce83bbeff58f54 refs/heads/master\n832e76a9899f560a90ffd62ae2ce83bbeff58f54 refs/heads/origin\n3521017556c5de4159da4615a39fa4d5d2c279b5 refs/tags/v0.99.9c\n6ddc0964034342519a87fe013781abf31c6db6ad refs/tags/v0.99.9c^{}\n055e4ae3ae6eb344cbabf2a5256a49ea66040131 refs/tags/v1.0rc4\n423325a2d24638ddcc82ce47be5e40be550f4507 refs/tags/v1.0rc4^{}\n...\n```\n\nExample:\n```text\n<oid> LF\n```\n\nExample:\n```text\n$ git show-ref --branches --hash\n2e3ba0114a1f52b47df29743d6915d056be13278\n185008ae97960c8d551adcd9e23565194651b5d1\n03adf42c988195b50e1a1935ba5fcbc39b2b029b\n...\n```\n\nExample:\n```text\ngit show-ref master\n```\n\nExample:\n```text\ngit show-ref --verify refs/heads/master\n```\n\nExample:\n```text\ngit show-ref --quiet --verify -- \"refs/heads/$headname\" ||\n\t\techo \"$headname is not a valid branch\"\n```\n\nExample:\n```text\ngit show-ref --tags --dereference\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.297Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":342}}244{"id":"doc-git_git_update_ref_documentation-4e894bd7","source":"documentation","title":"Git - git-update-ref Documentation","url":"http://git-scm.com/docs/git-update-ref","text":"Example:\n```text\ngitupdate-ref-m--no-deref-dgitupdate-ref-m--no-deref--create-refloggitupdate-ref-m--no-deref--stdin-z--batch-updates\n```\n\nExample:\n```text\nupdate SP <ref> SP <new-oid> [SP <old-oid>] LF\ncreate SP <ref> SP <new-oid> LF\ndelete SP <ref> [SP <old-oid>] LF\nverify SP <ref> [SP <old-oid>] LF\nsymref-update SP <ref> SP <new-target> [SP (ref SP <old-target> | oid SP <old-oid>)] LF\nsymref-create SP <ref> SP <new-target> LF\nsymref-delete SP <ref> [SP <old-target>] LF\nsymref-verify SP <ref> [SP <old-target>] LF\noption SP <opt> LF\nstart LF\nprepare LF\ncommit LF\nabort LF\n```\n\nExample:\n```text\nrejected SP (<old-oid> | <old-target>) SP (<new-oid> | <new-target>) SP <rejection-reason> LF\n```\n\nExample:\n```text\nupdate SP <ref> NUL <new-oid> NUL [<old-oid>] NUL\ncreate SP <ref> NUL <new-oid> NUL\ndelete SP <ref> NUL [<old-oid>] NUL\nverify SP <ref> NUL [<old-oid>] NUL\nsymref-update SP <ref> NUL <new-target> [NUL (ref NUL <old-target> | oid NUL <old-oid>)] NUL\nsymref-create SP <ref> NUL <new-target> NUL\nsymref-delete SP <ref> [NUL <old-target>] NUL\nsymref-verify SP <ref> [NUL <old-target>] NUL\noption SP <opt> NUL\nstart NUL\nprepare NUL\ncommit NUL\nabort NUL\n```\n\nExample:\n```text\noldsha1 SP newsha1 SP committer LF\n```\n\nExample:\n```text\noldsha1 SP newsha1 SP committer TAB message LF\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.297Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":55,"estimatedTokens":327}}245{"id":"doc-git_git_bugreport_documentation-cd622299","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/uk","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>]\n\t\t[(-s | --suffix) <format> | --no-suffix]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.297Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}246{"id":"doc-git_git_merge_base_documentation-2303528d","source":"documentation","title":"Git - git-merge-base Documentation","url":"http://git-scm.com/docs/git-merge-base","text":"Example:\n```text\ngit merge-base [-a | --all] <commit> <commit>…\ngit merge-base [-a | --all] --octopus <commit>…\ngit merge-base --is-ancestor <commit> <commit>\ngit merge-base --independent <commit>…\ngit merge-base --fork-point <ref> [<commit>]\n```\n\nExample:\n```text\no---o---o---B\n\t/\n---o---1---o---o---o---A\n```\n\nExample:\n```text\no---o---o---o---C\n /\n / o---o---o---B\n / /\n---2---1---o---o---o---A\n```\n\nExample:\n```text\no---o---o---o---o\n / \\\n / o---o---o---o---M\n / /\n---2---1---o---o---o---A\n```\n\nExample:\n```text\n---1---o---A\n \\ /\n X\n / \\\n---2---o---o---B\n```\n\nExample:\n```text\nA=$(git rev-parse --verify A)\nif test \"$A\" = \"$(git merge-base A B)\"\nthen\n\t... A is an ancestor of B ...\nfi\n```\n\nExample:\n```text\nif git merge-base --is-ancestor A B\nthen\n\t... A is an ancestor of B ...\nfi\n```\n\nExample:\n```text\no---B2\n\t\t/\n---o---o---B1--o---o---o---B (origin/master)\n\t\\\n\t B0\n\t \\\n\t D0---D1---D (topic)\n```\n\nExample:\n```text\n$ fork_point=$(git merge-base --fork-point origin/master topic)\n```\n\nExample:\n```text\n$ git rebase --onto origin/master $fork_point topic\n```\n\nExample:\n```text\no---B2\n\t\t/\n---o---o---B1--o---o---o---B (origin/master)\n\t\\ \\\n\t B0 D0'--D1'--D' (topic - updated)\n\t \\\n\t D0---D1---D (topic - old)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.298Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":93,"estimatedTokens":332}}247{"id":"doc-git_git_bugreport_documentation-3ee0dea4","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/pt_BR","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <path>]\n\t\t[(-s | --suffix) <format> | --no-suffix]\n\t\t[--diagnose[=<mode>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.298Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}248{"id":"doc-git_git_symbolic_ref_documentation-158a73cb","source":"documentation","title":"Git - git-symbolic-ref Documentation","url":"http://git-scm.com/docs/git-symbolic-ref","text":"Example:\n```text\ngit symbolic-ref [-m <reason>] <name> <ref>\ngit symbolic-ref [-q] [--short] [--no-recurse] <name>\ngit symbolic-ref --delete [-q] <name>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.299Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":43}}249{"id":"doc-git_git_read_tree_documentation-e699c4c0","source":"documentation","title":"Git - git-read-tree Documentation","url":"http://git-scm.com/docs/git-read-tree","text":"Example:\n```text\ngit read-tree [(-m [--trivial] [--aggressive] | --reset | --prefix=<prefix>)\n\t\t[-u | -i]] [--index-output=<file>] [--no-sparse-checkout]\n\t\t(--empty | <tree-ish1> [<tree-ish2> [<tree-ish3>]])\n```\n\nExample:\n```text\nI H M Result\n -------------------------------------------------------\n 0 nothing nothing nothing (does not happen)\n 1 nothing nothing exists use M\n 2 nothing exists nothing remove path from index\n 3 nothing exists exists, use M if \"initial checkout\",\n\t\t\t\t H == M keep index otherwise\n\t\t\t\t exists, fail\n\t\t\t\t H != M\n\n clean I==H I==M\n ------------------\n 4 yes N/A N/A nothing nothing keep index\n 5 no N/A N/A nothing nothing keep index\n\n 6 yes N/A yes nothing exists keep index\n 7 no N/A yes nothing exists keep index\n 8 yes N/A no nothing exists fail\n 9 no N/A no nothing exists fail\n\n 10 yes yes N/A exists nothing remove path from index\n 11 no yes N/A exists nothing fail\n 12 yes no N/A exists nothing fail\n 13 no no N/A exists nothing fail\n\n\tclean (H==M)\n ------\n 14 yes exists exists keep index\n 15 no exists exists keep index\n\n clean I==H I==M (H!=M)\n ------------------\n 16 yes no no exists exists fail\n 17 no no no exists exists fail\n 18 yes no yes exists exists keep index\n 19 no no yes exists exists keep index\n 20 yes yes no exists exists use M\n 21 no yes no exists exists fail\n```\n\nExample:\n```text\n$ git read-tree -m <tree1> <tree2> <tree3>\n```\n\nExample:\n```text\n$ JC=`git rev-parse --verify \"HEAD^0\"`\n$ git checkout-index -f -u -a $JC\n```\n\nExample:\n```text\n$ git fetch git://.... linus\n$ LT=`git rev-parse FETCH_HEAD`\n```\n\nExample:\n```text\n$ git read-tree -m -u `git merge-base $JC $LT` $JC $LT\n$ git merge-index git-merge-one-file -a\n$ echo \"Merge with Linus\" | \\\n git commit-tree `git write-tree` -p $JC -p $LT\n```\n\nExample:\n```text\n/*\n!unwanted\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.300Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":81,"estimatedTokens":574}}250{"id":"doc-git_git_bugreport_documentation-2fc76108","source":"documentation","title":"Git - git-bugreport Documentation","url":"http://git-scm.com/docs/git-bugreport/ru","text":"Example:\n```text\ngit bugreport [(-o | --output-directory) <путь>]\n\t\t[(-s | --suffix) <формат> | --no-suffix]\n\t\t[--diagnose[=<режим>]]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.300Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":38}}251{"id":"doc-git_git_diff_index_documentation-d94b5d7e","source":"documentation","title":"Git - git-diff-index Documentation","url":"http://git-scm.com/docs/git-diff-index","text":"Example:\n```text\ngit diff-index [-m] [--cached] [--merge-base] [<common-diff-options>] <tree-ish> [<path>…]\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\nshow me the differences between HEAD and the current index\ncontents (the ones I'd write using 'git write-tree')\n```\n\nExample:\n```text\ngit diff-index --cached HEAD\n```\n\nExample:\n```text\ntorvalds@ppc970:~/git> git diff-index --cached HEAD\n:100644 000000 4161aecc6700a2eb579e842af0b7f22b98443f74 0000000000000000000000000000000000000000 D\tcommit.c\n:000000 100644 0000000000000000000000000000000000000000 4161aecc6700a2eb579e842af0b7f22b98443f74 A\tgit-commit.c\n```\n\nExample:\n```text\nshow me the differences between HEAD and the currently checked out\ntree - index contents _and_ files that aren't up to date\n```\n\nExample:\n```text\ntorvalds@ppc970:~/v2.6/linux> git diff-index --abbrev HEAD\n:100644 100644 7476bb5ba 000000000 M\tkernel/sched.c\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.303Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":174,"estimatedTokens":850}}252{"id":"doc-git_git_rev_parse_documentation-c674c32e","source":"documentation","title":"Git - git-rev-parse Documentation","url":"http://git-scm.com/docs/git-rev-parse","text":"Example:\n```text\ngit rev-parse [<options>] <arg>…\n```\n\nExample:\n```text\nprefix=$(git rev-parse --show-prefix)\ncd \"$(git rev-parse --show-toplevel)\"\n# rev-parse provides the -- needed for 'set'\neval \"set $(git rev-parse --sq --prefix \"$prefix\" -- \"$@\")\"\n```\n\nExample:\n```text\n$ git config push.default current\n$ git config remote.pushdefault myfork\n$ git switch -c mybranch origin/master\n\n$ git rev-parse --symbolic-full-name @{upstream}\nrefs/remotes/origin/master\n\n$ git rev-parse --symbolic-full-name @{push}\nrefs/remotes/myfork/mybranch\n```\n\nExample:\n```text\nG H I J\n \\ / \\ /\n D E F\n \\ | / \\\n \\ | / |\n \\|/ |\n B C\n \\ /\n \\ /\n A\n```\n\nExample:\n```text\nA = = A^0\nB = A^ = A^1 = A~1\nC = = A^2\nD = A^^ = A^1^1 = A~2\nE = B^2 = A^^2\nF = B^3 = A^^3\nG = A^^^ = A^1^1^1 = A~3\nH = D^2 = B^^2 = A^^^2 = A~2^2\nI = F^ = B^3^ = A^^3^\nJ = F^2 = B^3^2 = A^^3^2\n```\n\nExample:\n```text\n$ git log A..B C..D\n```\n\nExample:\n```text\n---A---B---o---o---C---D\n```\n\nExample:\n```text\nArgs Expanded arguments Selected commits\n D G H D\n D F G H I J D F\n ^G D H D\n ^D B E I J F B\n ^D B C E I J F B C\n C I J F C\n B..C = ^B C C\n B...C = B ^F C G H D E B C\n B^- = B^..B\n\t = ^B^1 B E I J F B\n C^@ = C^1\n\t = F I J F\n B^@ = B^1 B^2 B^3\n\t = D E F D G H E F I J\n C^! = C ^C^@\n\t = C ^C^1\n\t = C ^F C\n B^! = B ^B^@\n\t = B ^B^1 ^B^2 ^B^3\n\t = B ^D ^E ^F B\n F^! D = F ^I ^J D G H D F\n```\n\nExample:\n```text\n<opt-spec><flags>*<arg-hint>? SP+ help LF\n```\n\nExample:\n```text\nOPTS_SPEC=\"\\\nsome-command [<options>] <args>...\n\nsome-command does foo and bar!\n--\nh,help! show the help\n\nfoo some nifty option --foo\nbar= some cool option --bar with an argument\nbaz=arg another cool option --baz with a named argument\nqux?path qux may take a path argument but has meaning by itself\n\n An option group Header\nC? option C with an optional argument\"\n\neval \"$(echo \"$OPTS_SPEC\" | git rev-parse --parseopt -- \"$@\" || echo exit $?)\"\n```\n\nExample:\n```text\nusage: some-command [<options>] <args>...\n\n some-command does foo and bar!\n\n -h, --help show the help\n --[no-]foo some nifty option --foo\n --[no-]bar ... some cool option --bar with an argument\n --[no-]baz <arg> another cool option --baz with a named argument\n --[no-]qux[=<path>] qux may take a path argument but has meaning by itself\n\nAn option group Header\n -C[...] option C with an optional argument\n```\n\nExample:\n```text\n$ cat >your-git-script.sh <<\\EOF\n#!/bin/sh\nargs=$(git rev-parse --sq-quote \"$@\") # quote user-supplied arguments\ncommand=\"git frotz -n24 $args\" # and use it inside a handcrafted\n\t\t\t\t\t# command line\neval \"$command\"\nEOF\n\n$ sh your-git-script.sh \"a b'c\"\n```\n\nExample:\n```text\n$ git rev-parse --verify HEAD\n```\n\nExample:\n```text\n$ git rev-parse --verify --end-of-options $REV^{commit}\n```\n\nExample:\n```text\n$ git rev-parse --default master --verify --end-of-options $REV\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.305Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":160,"estimatedTokens":830}}253{"id":"doc-git_git_update_index_documentation-27894ef7","source":"documentation","title":"Git - git-update-index Documentation","url":"http://git-scm.com/docs/git-update-index","text":"Example:\n```text\ngit update-index\n\t [--add] [--remove | --force-remove] [--replace]\n\t [--refresh] [-q] [--unmerged] [--ignore-missing]\n\t [(--cacheinfo <mode>,<object>,<file>)…]\n\t [--chmod=(+|-)x]\n\t [--[no-]assume-unchanged]\n\t [--[no-]skip-worktree]\n\t [--[no-]ignore-skip-worktree-entries]\n\t [--[no-]fsmonitor-valid]\n\t [--ignore-submodules]\n\t [--[no-]split-index]\n\t [--[no-|test-|force-]untracked-cache]\n\t [--[no-]fsmonitor]\n\t [--really-refresh] [--unresolve] [--again | -g]\n\t [--info-only] [--index-info]\n\t [-z] [--stdin] [--index-version <n>]\n\t [--show-index-version]\n\t [--verbose]\n\t [--] [<file>…]\n```\n\nExample:\n```text\n$ git update-index --add --cacheinfo <mode>,<sha1>,<path>\n```\n\nExample:\n```text\n$ git ls-files -s\n100644 8a1218a1024a212bb3db30becd860315f9f3ac52 0 frotz\n```\n\nExample:\n```text\n$ git update-index --index-info\n0 0000000000000000000000000000000000000000\tfrotz\n100644 8a1218a1024a212bb3db30becd860315f9f3ac52 1\tfrotz\n100755 8a1218a1024a212bb3db30becd860315f9f3ac52 2\tfrotz\n```\n\nExample:\n```text\n$ git ls-files -s\n100644 8a1218a1024a212bb3db30becd860315f9f3ac52 1\tfrotz\n100755 8a1218a1024a212bb3db30becd860315f9f3ac52 2\tfrotz\n```\n\nExample:\n```text\n$ git checkout-index -n -f -a && git update-index --ignore-missing --refresh\n```\n\nExample:\n```text\n$ git update-index --really-refresh (1)\n$ git update-index --no-assume-unchanged foo.c (2)\n$ git diff --name-only (3)\n$ edit foo.c\n$ git diff --name-only (4)\nM foo.c\n$ git update-index foo.c (5)\n$ git diff --name-only (6)\n$ edit foo.c\n$ git diff --name-only (7)\n$ git update-index --no-assume-unchanged foo.c (8)\n$ git diff --name-only (9)\nM foo.c\n```\n\nExample:\n```text\n$ git -c core.untrackedCache=false status\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.306Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":77,"estimatedTokens":486}}254{"id":"doc-git_git_rev_list_documentation-aa3ea9a4","source":"documentation","title":"Git - git-rev-list Documentation","url":"http://git-scm.com/docs/git-rev-list","text":"Example:\n```text\ngit rev-list [<options>] <commit>… [--] [<path>…]\n```\n\nExample:\n```text\n$ git rev-list foo bar ^baz\n```\n\nExample:\n```text\n$ git rev-list origin..HEAD\n$ git rev-list HEAD ^origin\n```\n\nExample:\n```text\n$ git rev-list A B --not $(git merge-base --all A B)\n$ git rev-list A...B\n```\n\nExample:\n```text\n<OID> NUL [<token>=<value> NUL]...\n```\n\nExample:\n```text\n<OID> NUL\n<OID> NUL path=<path> NUL\n<OID> NUL boundary=yes NUL\n<OID> NUL missing=yes NUL [<token>=<value> NUL]...\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / / /\n\tI B C D E Y\n\t \\ / / / / /\n\t `-------------' X\n```\n\nExample:\n```text\n.-A---N---O\n\t / / /\n\tI---------D\n```\n\nExample:\n```text\nI A B N D O P Q\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / /\n\tI B / D /\n\t \\ / / / /\n\t `-------------'\n```\n\nExample:\n```text\n.-A---M---N---O\n\t / / /\n\tI B D\n\t \\ / /\n\t `---------'\n```\n\nExample:\n```text\nD---E-------F\n\t / \\ \\\n\t B---C---G---H---I---J\n\t / \\\n\tA-------K---------------L--M\n```\n\nExample:\n```text\nE-------F\n\t\t \\ \\\n\t\t G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nE\n\t\t \\\n\t C---G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nK---------------L--M\n```\n\nExample:\n```text\n.-A---M-----C--N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`-Z' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `---Y--'\n```\n\nExample:\n```text\nI---X\n```\n\nExample:\n```text\n.-A---M--------N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`--' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `------'\n```\n\nExample:\n```text\n.-A---M--.\n\t / / \\\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\nI---X---R---N\n```\n\nExample:\n```text\n.-A---M--. N\n\t / / \\ /\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\n$ git rev-list --bisect foo ^bar ^baz\n```\n\nExample:\n```text\n$ git rev-list foo ^midpoint\n\t$ git rev-list midpoint ^bar ^baz\n```\n\nExample:\n```text\n---1----2----4----7\n\t\\\t \\\n\t 3----5----6----8---\n```\n\nExample:\n```text\ny---b---b branch B\n\t / \\ /\n\t / .\n\t / / \\\n\t o---x---a---a branch A\n```\n\nExample:\n```text\n$ git rev-list --left-right --boundary --pretty=oneline A...B\n\n\t>bbbbbbb... 3rd on b\n\t>bbbbbbb... 2nd on b\n\t<aaaaaaa... 3rd on a\n\t<aaaaaaa... 2nd on a\n\t-yyyyyyy... 1st on b\n\t-xxxxxxx... 1st on a\n```\n\nExample:\n```text\n<hash> <title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n_\n <title-line>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author-date>\nCommit: <committer>\nCommitDate: <committer-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author-date>\nSubject: [PATCH] <title-line>\n_\n<full-commit-message>_\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n%(decorate:prefix=,suffix=,tag=,separator= )\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\ngit rev-list HEAD\n```\n\nExample:\n```text\ngit rev-list @{upstream}..HEAD\n```\n\nExample:\n```text\ngit rev-list --format=medium HEAD\n```\n\nExample:\n```text\ngit rev-list HEAD |\ngit diff-tree --stdin --format=medium -p\n```\n\nExample:\n```text\ngit rev-list HEAD -- Documentation/\n```\n\nExample:\n```text\ngit rev-list --author=you@example.com --since=1.year.ago --all\n```\n\nExample:\n```text\ngit rev-list --objects HEAD\n```\n\nExample:\n```text\n# reachable objects\ngit rev-list --disk-usage --objects --all\n# plus reflogs\ngit rev-list --disk-usage --objects --all --reflog\n# total disk size used\ndu -c .git/objects/pack/*.pack .git/objects/??/*\n# alternative to du: add up \"size\" and \"size-pack\" fields\ngit count-objects -v\n```\n\nExample:\n```text\ngit for-each-ref --format='%(refname)' |\nwhile read branch\ndo\n\tsize=$(git rev-list --disk-usage --objects HEAD..$branch)\n\techo \"$size $branch\"\ndone |\nsort -n\n```\n\nExample:\n```text\ngit rev-list --disk-usage --objects --remotes=$suspect --not --remotes=origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.310Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":46,"totalLines":348,"estimatedTokens":1187}}255{"id":"doc-git_git_clone_documentation-01c6f998","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.22.0","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.312Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":296}}256{"id":"doc-git_git_clone_documentation-89c4038a","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.13.7","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recurse-submodules] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.313Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":290}}257{"id":"doc-git_git_clone_documentation-41889f26","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.14.6","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch] [--no-tags]\n\t [--recurse-submodules] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.314Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":293}}258{"id":"doc-git_git_clone_documentation-7184a800","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.9.5","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.315Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":293}}259{"id":"doc-git_git_clone_documentation-1a6f8c42","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.3.10","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.316Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":283}}260{"id":"doc-git_git_clone_documentation-b9f33f5c","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.11.4","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--[no-]shallow-submodules]\n\t [--jobs <n>] [--] <repository> [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.317Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":293}}261{"id":"doc-git_git_clone_documentation-d1af53ba","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.7.6","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.318Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":283}}262{"id":"doc-git_git_status_documentation-185d9910","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/pt_BR","text":"Example:\n```text\ngit status [<opções>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Significado\n-------------------------------------------------\n\t [AMD] não atualizado\nM [MTD] atualizado no índice\nT [MTD] tipo alterado no índice\nA [MTD] adicionado ao índice\nD excluído do índice\nR [MTD] renomeado no índice\nC [MTD] copiado no índice\n[MTARC] o índice e a árvore de trabalho coincidem\n[MTARC] M a árvore de trabalho foi alterada desde o índice\n[MTARC] T tipo alterado na árvore de trabalho desde o índice\n[MTARC] D excluído na árvore de trabalho\n\t R renomeado na árvore de trabalho\n\t C copiado na árvore de trabalho\n-------------------------------------------------\nD D não mesclado, ambos excluídos\nA U não mesclado, adicionado por nós\nU D não mesclado, excluídos por eles\nU A não mesclado, adicionados por eles\nD U não mesclado, excluídos por nós\nA A não mesclado, ambos foram adicionados\nU U não mesclado, ambos foram alterados\n-------------------------------------------------\n? ? não rastreado\n! ! ignorado\n-------------------------------------------------\n```\n\nExample:\n```text\n## info de rastreio do nome do ramo\n```\n\nExample:\n```text\nLinha Notas\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Commit atual.\n# branch.head <branch> | (detached) Ramo atual.\n# branch.upstream <ramo-do-topo> se o topo for definido.\n# branch.ab +<ahead> -<behind> se o topo for definido e\n\t\t\t\t\t o commit estiver presente.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <caminho>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <caminho><sep><caminho original>\n```\n\nExample:\n```text\nCampo Significado\n--------------------------------------------------------\n<XY> Um campo com 2 characteres contendo valores XY\n\t montados e não montados descrito em um formato curto,\n\t sem modificações indicadas por um \".\" em vez de\n\t um espaço.\n<sub> Um campo com 4 caracteres descrevendo a condição do submódulo.\n\t \"N...\" quando a entrada não for um submódulo.\n\t \"S<c><m><u>\" quando a entrada for um submódulo.\n\t <c> is \"C\" caso o commit seja modificado; senão \".\".\n\t <m> is \"M\" caso haja mudanças rastreadas; senão \".\".\n\t <u> is \"U\" caso não haja mudanças rastreadas; senão \".\".\n<mH> O modo de um arquivo octal no HEAD.\n<mI> O modo de um arquivo octal no índice.\n<mW> O modo de um arquivo octal na árvore de trabalho.\n<hH> O nome do objeto no HEAD.\n<hI> O nome do objeto no índice.\n<X><score> O renomeamento ou a cópia do score \"placar\"(denota a porcentagem\n\t ou a similaridade entre a fonte e o destino da ação de\n\t mover ou copiar. Por exemplo, \"R100\" ou \"C75\".\n<caminho> O `pathname` \"nome do caminho\". Em um lançamento de renomeação/cópia,\n\t este é o caminho de destino.\n<sep> Quando a opção `-z` for utilizada, os 2 `pathnames` são separados\n\t com um byte `NUL` (ASCII 0x00); senão um byte tab (ASCII 0x09)\n\t que os separam.\n<origPath> O `pathname` dentro do commit localizado no HEAD ou no índice.\n\t Só está presente no caso de um lançamento de renomeação ou cópia\n\t assim como informa de onde a renomeação ou cópia vieram.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <caminho>\n```\n\nExample:\n```text\nCampo Significado\n--------------------------------------------------------\n<XY> Um campo com 2 caracteres descrevendo o tipo de conflito\n\t como descrito em um formato curto.\n<sub> Um campo com 4 caracteres descrevendo a condição do submódulo\n\t como descrito abaixo.\n<m1> O modo de um arquivo octal no estágio 1.\n<m2> O modo de um arquivo octal no estágio 2.\n<m3> O modo de um arquivo octal no estágio 3.\n<mW> O modo de um arquivo octal na árvore de trabalho.\n<h1> O nome do objeto no estágio 1.\n<h1> O nome do objeto no estágio 2.\n<h1> O nome do objeto no estágio 3.\n<caminho> O `pathname` \"nome do caminho\".\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <caminho>\n```\n\nExample:\n```text\n! <caminho>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.319Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1156}}263{"id":"doc-git_git_clone_documentation-0715ca8b","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.8.6","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--dissociate] [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.320Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":283}}264{"id":"doc-git_git_status_documentation-b529e604","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/sv","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <sökväg>\n<xy> <urspr.-sökväg> -> <sökväg>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><poäng> <sökväg><sep><urspr.Sökväg>\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <sökväg>\n```\n\nExample:\n```text\n! <sökväg>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.321Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":99}}265{"id":"doc-git_git_clone_documentation-49aa631e","source":"documentation","title":"Git - git-clone Documentation","url":"http://git-scm.com/docs/git-clone/2.0.5","text":"Example:\n```text\ngit clone [--template=<template_directory>]\n\t [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]\n\t [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]\n\t [--separate-git-dir <git dir>]\n\t [--depth <depth>] [--[no-]single-branch]\n\t [--recursive | --recurse-submodules] [--] <repository>\n\t [<directory>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux.git my-linux\n$ cd my-linux\n$ make\n```\n\nExample:\n```text\n$ git clone -l -s -n . ../copy\n$ cd ../copy\n$ git show-branch\n```\n\nExample:\n```text\n$ git clone --reference /git/linux.git \\\n\tgit://git.kernel.org/pub/scm/.../linux.git \\\n\tmy-linux\n$ cd my-linux\n```\n\nExample:\n```text\n$ git clone --bare -l /home/proj/.git /pub/scm/proj.git\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.322Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":64,"estimatedTokens":279}}266{"id":"doc-git_git_status_documentation-eecb81c4","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/fr","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <chemin>\n<xy> <chemin-orig> -> <chemin>\n```\n\nExample:\n```text\n{empty}##informationdesuividebranche\n```\n\nExample:\n```text\n# remisage <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <chemin>\n```\n\nExample:\n```text\n! <chemin>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.324Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":87}}267{"id":"doc-git_git_status_documentation-6b8192d4","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/ru","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <путь>\n<xy> <исходный-путь> -> <путь>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <путь>\n```\n\nExample:\n```text\n! <путь>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.325Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":78}}268{"id":"doc-git_git_status_documentation-a699479c","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/uk","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <path>\n<xy> <orig-path> -> <path>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.325Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":77}}269{"id":"doc-git_git_status_documentation-547f7291","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.40.0","text":"Example:\n```text\ngit status [<options>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.327Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}270{"id":"doc-git_git_status_documentation-09bd07f9","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/zh_HANS-CN","text":"Example:\n```text\ngitstatus'--\n```\n\nExample:\n```text\n<xy> <path>\n<xy> <orig-path> -> <path>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# 暂存 <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n?<路径>\n```\n\nExample:\n```text\n!<路径>的情况下\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.327Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":76}}271{"id":"doc-git_git_status_documentation-6ccbf663","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.53.0","text":"Example:\n```text\ngitstatus--\n```\n\nExample:\n```text\n<xy> <path>\n<xy> <orig-path> -> <path>\n```\n\nExample:\n```text\n{empty}##\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1\n```\n\nExample:\n```text\n2\n```\n\nExample:\n```text\nu\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.328Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":47,"estimatedTokens":77}}272{"id":"doc-git_git_status_documentation-bf719c73","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.45.0","text":"Example:\n```text\ngit status [<options>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream-branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.330Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}273{"id":"doc-git_git_status_documentation-872c357b","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.44.0","text":"Example:\n```text\ngit status [<options>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream-branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.331Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}274{"id":"doc-git_git_status_documentation-528be3b5","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.35.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.332Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}275{"id":"doc-git_git_status_documentation-a26f5bdb","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.39.0","text":"Example:\n```text\ngit status [<options>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.333Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}276{"id":"doc-git_git_status_documentation-f1f2634b","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.43.0","text":"Example:\n```text\ngit status [<options>] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n# stash <N>\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.335Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":142,"estimatedTokens":1044}}277{"id":"doc-git_git_reset_documentation-52166bd1","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.14.6","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C D --soft A B D\n--mixed A D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C C --soft A B C\n--mixed A C C\n--hard C C C\n--merge (disallowed)\n--keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C D --soft B B D\n--mixed B D D\n--hard D D D\n--merge D D D\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C C --soft B B C\n--mixed B C C\n--hard C C C\n--merge C C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C D --soft B C D\n--mixed B D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C C --soft B C C\n--mixed B C C\n--hard C C C\n--merge B C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A B --soft (disallowed)\n--mixed X B B\n--hard B B B\n--merge B B B\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A A --soft (disallowed)\n--mixed X A A\n--hard A A A\n--merge A A A\n--keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.336Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1194}}278{"id":"doc-git_git_status_documentation-14adcca7","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.31.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.337Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1016}}279{"id":"doc-git_git_status_documentation-736dc575","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.30.1","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.338Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1016}}280{"id":"doc-git_git_status_documentation-a18a2cfa","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.21.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.339Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1016}}281{"id":"doc-git_git_status_documentation-5dbd670c","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.34.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MTD] updated in index\nT [ MTD] type changed in index\nA [ MTD] added to index\nD deleted from index\nR [ MTD] renamed in index\nC [ MTD] copied in index\n[MTARC] index and work tree matches\n[ MTARC] M work tree changed since index\n[ MTARC] T type changed in work tree since index\n[ MTARC] D deleted in work tree\n\t R renamed in work tree\n\t C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <XY> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.340Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":137,"estimatedTokens":1036}}282{"id":"doc-git_git_status_documentation-57c7bee1","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.24.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.341Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1016}}283{"id":"doc-git_git_status_documentation-2cebc446","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.14.6","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the path in the index and in the working tree.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD. This is only\npresent in a renamed/copied entry, and tells\nwhere the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.342Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":132,"estimatedTokens":991}}284{"id":"doc-git_git_status_documentation-17463425","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.22.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n\t [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t\t\t\t\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field containing the staged and\n\t unstaged XY values described in the short format,\n\t with unchanged indicated by a \".\" rather than\n\t a space.\n<sub> A 4 character field describing the submodule state.\n\t \"N...\" when the entry is not a submodule.\n\t \"S<c><m><u>\" when the entry is a submodule.\n\t <c> is \"C\" if the commit changed; otherwise \".\".\n\t <m> is \"M\" if it has tracked changes; otherwise \".\".\n\t <u> is \"U\" if there are untracked changes; otherwise \".\".\n<mH> The octal file mode in HEAD.\n<mI> The octal file mode in the index.\n<mW> The octal file mode in the worktree.\n<hH> The object name in HEAD.\n<hI> The object name in the index.\n<X><score> The rename or copy score (denoting the percentage\n\t of similarity between the source and target of the\n\t move or copy). For example \"R100\" or \"C75\".\n<path> The pathname. In a renamed/copied entry, this\n\t is the target path.\n<sep> When the `-z` option is used, the 2 pathnames are separated\n\t with a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\n\t byte separates them.\n<origPath> The pathname in the commit at HEAD or in the index.\n\t This is only present in a renamed/copied entry, and\n\t tells where the renamed/copied contents came from.\n--------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n--------------------------------------------------------\n<XY> A 2 character field describing the conflict type\n\t as described in the short format.\n<sub> A 4 character field describing the submodule state\n\t as described above.\n<m1> The octal file mode in stage 1.\n<m2> The octal file mode in stage 2.\n<m3> The octal file mode in stage 3.\n<mW> The octal file mode in the worktree.\n<h1> The object name in stage 1.\n<h2> The object name in stage 2.\n<h3> The object name in stage 3.\n<path> The pathname.\n--------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.343Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1016}}285{"id":"doc-git_git_status_documentation-02d7874e","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.18.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the target path.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD or in the index.\nThis is only present in a renamed/copied entry, and\ntells where the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.344Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1007}}286{"id":"doc-git_git_status_documentation-c3fe081c","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.16.6","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the target path.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD or in the index.\nThis is only present in a renamed/copied entry, and\ntells where the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.345Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1007}}287{"id":"doc-git_git_status_documentation-e62282fc","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.17.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the target path.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD or in the index.\nThis is only present in a renamed/copied entry, and\ntells where the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.346Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1007}}288{"id":"doc-git_git_status_documentation-79d14a84","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.0.5","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.347Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":258}}289{"id":"doc-git_git_status_documentation-b4ea9859","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.2.3","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.347Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":258}}290{"id":"doc-git_git_status_documentation-8d7d1e8e","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.11.4","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the path in the index and in the working tree.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD. This is only\npresent in a renamed/copied entry, and tells\nwhere the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.348Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":132,"estimatedTokens":991}}291{"id":"doc-git_git_status_documentation-327f43e9","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.19.0","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH\nXY ORIG_PATH -> PATH\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [AMD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n[ D] R renamed in work tree\n[ D] C copied in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the target path.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD or in the index.\nThis is only present in a renamed/copied entry, and\ntells where the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.349Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":135,"estimatedTokens":1007}}292{"id":"doc-git_git_status_documentation-7ac9d24d","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.6.7","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.350Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":258}}293{"id":"doc-git_git_status_documentation-0b154817","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.13.7","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\nExample:\n```text\n## branchname tracking info\n```\n\nExample:\n```text\nLine Notes\n------------------------------------------------------------\n# branch.oid <commit> | (initial) Current commit.\n# branch.head <branch> | (detached) Current branch.\n# branch.upstream <upstream_branch> If upstream is set.\n# branch.ab +<ahead> -<behind> If upstream is set and\n\t the commit is present.\n------------------------------------------------------------\n```\n\nExample:\n```text\n1 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <path>\n```\n\nExample:\n```text\n2 <XY> <sub> <mH> <mI> <mW> <hH> <hI> <X><score> <path><sep><origPath>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field containing the staged and\nunstaged XY values described in the short format,\nwith unchanged indicated by a \".\" rather than\na space.\n <sub> A 4 character field describing the submodule state.\n\"N...\" when the entry is not a submodule.\n\"S<c><m><u>\" when the entry is a submodule.\n<c> is \"C\" if the commit changed; otherwise \".\".\n<m> is \"M\" if it has tracked changes; otherwise \".\".\n<u> is \"U\" if there are untracked changes; otherwise \".\".\n <mH> The octal file mode in HEAD.\n <mI> The octal file mode in the index.\n <mW> The octal file mode in the worktree.\n <hH> The object name in HEAD.\n <hI> The object name in the index.\n <X><score> The rename or copy score (denoting the percentage\nof similarity between the source and target of the\nmove or copy). For example \"R100\" or \"C75\".\n <path> The pathname. In a renamed/copied entry, this\nis the path in the index and in the working tree.\n <sep> When the `-z` option is used, the 2 pathnames are separated\nwith a NUL (ASCII 0x00) byte; otherwise, a tab (ASCII 0x09)\nbyte separates them.\n <origPath> The pathname in the commit at HEAD. This is only\npresent in a renamed/copied entry, and tells\nwhere the renamed/copied contents came from.\n --------------------------------------------------------\n```\n\nExample:\n```text\nu <xy> <sub> <m1> <m2> <m3> <mW> <h1> <h2> <h3> <path>\n```\n\nExample:\n```text\nField Meaning\n --------------------------------------------------------\n <XY> A 2 character field describing the conflict type\nas described in the short format.\n <sub> A 4 character field describing the submodule state\nas described above.\n <m1> The octal file mode in stage 1.\n <m2> The octal file mode in stage 2.\n <m3> The octal file mode in stage 3.\n <mW> The octal file mode in the worktree.\n <h1> The object name in stage 1.\n <h2> The object name in stage 2.\n <h3> The object name in stage 3.\n <path> The pathname.\n --------------------------------------------------------\n```\n\nExample:\n```text\n? <path>\n```\n\nExample:\n```text\n! <path>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.351Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":132,"estimatedTokens":991}}294{"id":"doc-git_git_status_documentation-f13e81f7","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.5.6","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.352Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":258}}295{"id":"doc-git_git_notes_documentation-a532dbf6","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/zh_HANS-CN","text":"Example:\n```text\ngitnotes'listgitnotes'add-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-Cgitnotes'copy-f--stdingitnotes'append--allow-empty--no-separator--separator=--no-stripspace-F-m-c-Cgitnotes'edit--allow-empty--no-stripspacegitnotes'showgitnotes'merge-v-q-sgitnotes'merge--commit-v-qgitnotes'merge--abort-v-qgitnotes'remove--ignore-missing--stdingitnotes'prune-n-vgitnotes'get-ref\n```\n\nExample:\n```text\n<从对象> SP <到对象 [ SP <停止> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\n注意事项。\n 测试者: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.352Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":204}}296{"id":"doc-git_git_status_documentation-37ec2955","source":"documentation","title":"Git - git-status Documentation","url":"http://git-scm.com/docs/git-status/2.4.12","text":"Example:\n```text\ngit status [<options>…] [--] [<pathspec>…]\n```\n\nExample:\n```text\nXY PATH1 -> PATH2\n```\n\nExample:\n```text\nX Y Meaning\n-------------------------------------------------\n [MD] not updated\nM [ MD] updated in index\nA [ MD] added to index\nD [ M] deleted from index\nR [ MD] renamed in index\nC [ MD] copied in index\n[MARC] index and work tree matches\n[ MARC] M work tree changed since index\n[ MARC] D deleted in work tree\n-------------------------------------------------\nD D unmerged, both deleted\nA U unmerged, added by us\nU D unmerged, deleted by them\nU A unmerged, added by them\nD U unmerged, deleted by us\nA A unmerged, both added\nU U unmerged, both modified\n-------------------------------------------------\n? ? untracked\n! ! ignored\n-------------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.353Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":38,"estimatedTokens":258}}297{"id":"doc-git_git_notes_documentation-a40e4f96","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/es","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<objeto-de> SP <objeto-a> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.354Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":207}}298{"id":"doc-git_git_notes_documentation-b8dc81e8","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.48.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [-e] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [-e] [<object>]\ngit notes edit [--allow-empty] [<object>] [--[no-]stripspace]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.355Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":297}}299{"id":"doc-git_git_notes_documentation-95e84b97","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.44.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>] [--[no-]stripspace]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.356Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":295}}300{"id":"doc-git_git_notes_documentation-b1bc1db7","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/ru","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<объект-источник> ПРОБЕЛ <объект-назначение> [ ПРОБЕЛ <остальное> ] ПЕРЕВОД_СТРОКИ\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nЗаметки:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.357Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":218}}301{"id":"doc-git_git_notes_documentation-d8ace830","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.49.0","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.358Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":208}}302{"id":"doc-git_git_notes_documentation-3dd3bdb4","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/uk","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.359Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":208}}303{"id":"doc-git_git_notes_documentation-912bff2c","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/sv","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<från-objekt> SP <till-objekt> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.360Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":208}}304{"id":"doc-git_git_notes_documentation-14a1300f","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/fr","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-emptygitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<objet-source> ESP <objet-source> [ ESP <reste> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.361Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":206}}305{"id":"doc-git_git_notes_documentation-ce81012e","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.42.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>] [--[no-]stripspace]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.362Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":295}}306{"id":"doc-git_git_notes_documentation-a6706e6b","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.25.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.363Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}307{"id":"doc-git_git_notes_documentation-0a7e915c","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.38.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.364Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}308{"id":"doc-git_git_notes_documentation-02574d43","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.19.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.364Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}309{"id":"doc-git_git_notes_documentation-448adb68","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.22.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.365Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}310{"id":"doc-git_git_notes_documentation-8c132324","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.50.0","text":"Example:\n```text\ngitnoteslistgitnotesadd-f--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotescopy-f--stdingitnotesappend--allow-empty--no-separator--separator=--no-stripspace-F-m-c-C-egitnotesedit--allow-empty--no-stripspacegitnotesshowgitnotesmerge-v-q-sgitnotesmerge--commit-v-qgitnotesmerge--abort-v-qgitnotesremove--ignore-missing--stdingitnotesprune-n-vgitnotesget-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.366Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":29,"estimatedTokens":208}}311{"id":"doc-git_git_notes_documentation-3abe2e44","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.43.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>] [--[no-]stripspace]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.367Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":295}}312{"id":"doc-git_git_notes_documentation-724360ea","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.16.6","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.368Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}313{"id":"doc-git_git_notes_documentation-4e27e693","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.29.0","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> [<to-object>] )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n] [-v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.369Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}314{"id":"doc-git_git_notes_documentation-eba7aa9a","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.14.6","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.370Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}315{"id":"doc-git_git_notes_documentation-3c19ff2d","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.6.7","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.370Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}316{"id":"doc-git_git_notes_documentation-fa574d7d","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.3.10","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.371Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}317{"id":"doc-git_git_notes_documentation-8636d043","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.9.5","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.372Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}318{"id":"doc-git_git_notes_documentation-76b5f45d","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.8.6","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [--allow-empty] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [--allow-empty] [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add --allow-empty -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.373Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":254}}319{"id":"doc-git_git_reset_documentation-ca1e3eaf","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/fr","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ éditer (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch theme/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch theme/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-fusion nitfol\nCONFLIT (contenu): Conflit de fusion dans nitfol\nLa fusion automatique a échoué ; réglez les conflits et validez le résultat.\n$ git reset --hard (2)\n$ git pull . theme/branche (3)\nAvance rapide de 41223... sur 13134...\n\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# vous travailliez sur la branche feature\n$ travail travail ;# et arrive une interruption\n$ git commit -a -m \"instantané en cours\" (1)\n$ git switch master\n$ correctif correctif\n$ git commit ;# commit avec un vrai message\n$ git switch feature\n$ git reset --soft HEAD^ ;# retour au travail (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit de l'index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag debut\n$ git switch -c branche1\n$ édition\n$ git commit ... (1)\n$ édition\n$ git switch -c branche2 (2)\n$ git reset --keep debut (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option cible\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (interdit)\n\t\t\t --keep (interdit)\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (interdit)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (interdit)\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (interdit)\n\t\t\t --keep (interdit)\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\ntravail index HEAD cible travail index HEAD\n----------------------------------------------------\n X U A A --soft (interdit)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (interdit)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.375Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}320{"id":"doc-git_git_notes_documentation-dd0d8321","source":"documentation","title":"Git - git-notes Documentation","url":"http://git-scm.com/docs/git-notes/2.0.5","text":"Example:\n```text\ngit notes [list [<object>]]\ngit notes add [-f] [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes copy [-f] ( --stdin | <from-object> <to-object> )\ngit notes append [-F <file> | -m <msg> | (-c | -C) <object>] [<object>]\ngit notes edit [<object>]\ngit notes show [<object>]\ngit notes merge [-v | -q] [-s <strategy> ] <notes-ref>\ngit notes merge --commit [-v | -q]\ngit notes merge --abort [-v | -q]\ngit notes remove [--ignore-missing] [--stdin] [<object>…]\ngit notes prune [-n | -v]\ngit notes get-ref\n```\n\nExample:\n```text\n<from-object> SP <to-object> [ SP <rest> ] LF\n```\n\nExample:\n```text\n$ git notes add -m 'Tested-by: Johannes Sixt <j6t@kdbg.org>' 72a144e2\n$ git show -s 72a144e\n[...]\n Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nNotes:\n Tested-by: Johannes Sixt <j6t@kdbg.org>\n```\n\nExample:\n```text\n$ cc *.c\n$ blob=$(git hash-object -w a.out)\n$ git notes --ref=built add -C \"$blob\" HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.376Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":40,"estimatedTokens":238}}321{"id":"doc-git_git_reset_documentation-45e34e18","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/es","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# trabajas en la rama \"feature\" y\n$ work work work ;# te interrumpen\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# confirma con registro real\n$ git switch feature\n$ git reset --soft HEAD^ ;# de regreso al estado de WIP (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Confirma ficheros en índice\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edición\n$ git commit ... (1)\n$ edición\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n------------------------------------------------------\n A B C D --soft A B D\n --mixed A D D\n --hard D D D\n --merge (no permitido)\n --keep (no permitido)\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n A B C C --soft A B C\n --mixed A C C\n --hard C C C\n --merge (no permitido)\n --keep A C C\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n B B C D --soft B B D\n --mixed B D D\n --hard D D D\n --merge D D D\n --keep (no permitido)\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n B B C C --soft B B C\n --mixed B C C\n --hard C C C\n --merge C C C\n --keep B C C\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n B C C D --soft B C D\n --mixed B D D\n --hard D D D\n --merge (no permitido)\n --keep (no permitido)\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n B C C C --soft B C C\n --mixed B C C\n --hard C C C\n --merge B C C\n --keep B C C\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n X U A B --soft (no permitido)\n --mixed X B B\n --hard B B B\n --merge B B B\n --keep (no permitido)\n```\n\nExample:\n```text\nárbol índice HEAD target árbol índice HEAD\n----------------------------------------------------\n X U A A --soft (no permitido)\n --mixed X A A\n --hard A A A\n --merge A A A\n --keep (no permitido)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.377Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1377}}322{"id":"doc-git_git_reset_documentation-db175cb5","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/zh_HANS-CN","text":"Example:\n```text\ngitreset'-q--gitreset'-q--pathspec-from-file=--pathspec-file-nulgitreset'--patch-p--gitreset'--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\n自动合并nitfol\nCONFLICT(内容):nitfol的合并冲突\n自动合并失败;修复冲突,然后提交结果。\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\n从41223...更新到13134...\n快进\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# 你在 \"feature \"分支工作,并且\n$ work work work;# 被打断了\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# 提交时有真实日志\n$ git switch feature\n$ git reset --soft HEAD^ ;# 回到 WIP 状态 (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c <1>.\n$ git commit -m \"将文件存入索引\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ 编辑\n$ git commit ... (1)\n$ 编辑\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option 目标\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (不允许)\n\t\t\t --keep (不允许)\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep(不允许)\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard(硬的) D D D\n\t\t\t --merge (不允许)\n\t\t\t --keep (不允许)\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n X U A B --soft(不允许)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (不允许)\n```\n\nExample:\n```text\n工作区 索引 HEAD 目标 工作区 索引 HEAD\n------------------------------------------------------------\n X U A A --soft (不允许)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (不允许)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.377Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":184,"estimatedTokens":1130}}323{"id":"doc-git_git_reset_documentation-45571252","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/sv","text":"Example:\n```text\ngitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--gitreset--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# du arbetade i \"funktions\"-grenen och\n$ work work work ;# blev avbruten\n$ git commit -a -m \"ögonblicksbild WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit med riktig logg\n$ git switch feature\n$ git reset --soft HEAD^ ;# gå tillbaka till WIP-tillstånd (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Checka in filer i index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\narbetande index HEAD target arbetande index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (otillåten)\n\t\t\t --keep (otillåten)\n```\n\nExample:\n```text\narbetande index HEAD target arbetande index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (otillåten)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\narbetande index HEAD target arbetande index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (otillåten)\n```\n\nExample:\n```text\narbetande index HEAD target arbetande index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\narbetande index HEAD target arbetande index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (otillåten)\n\t\t\t --keep (otillåten)\n```\n\nExample:\n```text\narbetsindex HUVUD mål arbetsindex HUVUD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\narbetsindex HEAD mål arbetsindex HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\narbetsindex HEAD mål arbetsindex HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.379Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1220}}324{"id":"doc-git_git_reset_documentation-a3ee6dcf","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.36.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <pathspec>…\ngit reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]\ngit reset (--patch | -p) [<tree-ish>] [--] [<pathspec>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.380Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":198,"estimatedTokens":1250}}325{"id":"doc-git_git_reset_documentation-2202ce1e","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.39.3","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <pathspec>…\ngit reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]\ngit reset (--patch | -p) [<tree-ish>] [--] [<pathspec>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.381Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":198,"estimatedTokens":1250}}326{"id":"doc-git_git_reset_documentation-57279e6b","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.53.0","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.382Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}327{"id":"doc-git_git_reset_documentation-db185de7","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/pt_BR","text":"Example:\n```text\ngitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--gitreset--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.exemplo.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nMesclagem automática do nitfol\nCONFLITO (conteúdo): Houve um conflito durante a mesclagem com nitfol\nA mesclagem automática falhou; arrume os conflitos e faça um novo commit.\n$ git reset --hard (2)\n$ git pull . $ git pull . topic/branch (3)\nAtualizando de 41223... para 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# você estava trabalhando no ramo \"feature\" e\n$ work work work ;# foi interrompido\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# faz o commit com um registro log real\n$ git switch feature\n$ git reset --soft HEAD^ ;# retorna para a condição WIP (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Faz o commit dos arquivos no índice\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (desaprovado)\n\t\t\t --keep (desaprovado)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (desaprovado)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (desaprovado)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (desaprovado)\n\t\t\t --keep (desaprovado)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (desaprovado)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (desaprovado)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.383Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1243}}328{"id":"doc-git_git_reset_documentation-e0886f5c","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.52.0","text":"Example:\n```text\ngitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--gitreset--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.384Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}329{"id":"doc-git_git_reset_documentation-2fb28887","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.34.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <pathspec>…\ngit reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]\ngit reset (--patch | -p) [<tree-ish>] [--] [<pathspec>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.385Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":198,"estimatedTokens":1250}}330{"id":"doc-git_git_reset_documentation-f3bc9c60","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.51.0","text":"Example:\n```text\ngitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--gitreset--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.386Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}331{"id":"doc-git_git_reset_documentation-10ad1753","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.50.0","text":"Example:\n```text\ngitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--gitreset--soft--mixed-N--hard--merge--keep-q\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.387Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}332{"id":"doc-git_git_reset_documentation-b38e1c3d","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.54.0","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.388Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1216}}333{"id":"doc-git_git_reset_documentation-d14ba5bd","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.27.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <pathspec>…\ngit reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]\ngit reset (--patch | -p) [<tree-ish>] [--] [<pathspec>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.389Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":198,"estimatedTokens":1250}}334{"id":"doc-git_git_reset_documentation-4a839ab0","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.25.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <pathspec>…\ngit reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]\ngit reset (--patch | -p) [<tree-ish>] [--] [<pathspec>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.390Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":198,"estimatedTokens":1250}}335{"id":"doc-git_git_reset_documentation-8a786d47","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/uk","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nАвтоматичне об'єднання нітфолів\nКОНФЛІКТ (контент): Конфлікт злиття в nitfol\nАвтоматичне злиття не вдалося; виправте конфлікти та зафіксуйте результат.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nОновлення з 41223... до 13134...\nПеремотка вперед\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nАвтоматичне об'єднання nitfol\nОб'єднання, виконане рекурсивним способом.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# ви працювали в гілці \"feature\" і\n$ work work work ;# вас перервали\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# коміт з реальним логом\n$ git switch feature\n$ git reset --soft HEAD^ ;# повернення до WIP (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Зафіксувати файли в індексі\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (заборонено)\n\t\t\t --keep (заборонено)\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (заборонено)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (заборонено)\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (заборонено)\n\t\t\t --keep (заборонено)\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n X U A B --soft (заборонено)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (заборонено)\n```\n\nExample:\n```text\nробочий індекс HEAD цільовий робочий індекс HEAD\n----------------------------------------------------\n X U A A --soft (заборонено)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (заборонено)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.391Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1220}}336{"id":"doc-git_git_reset_documentation-8a4aa10a","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/ru","text":"Example:\n```text\ngitreset--soft--mixed-N--hard--merge--keep-qgitreset-q--gitreset-q--pathspec-from-file=--pathspec-file-nulgitreset--patch-p--\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# вы работали в ветке \"feature\" и\n$ work work work ;# были прерваны\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# коммит с реальным журналом\n$ git switch feature\n$ git reset --soft HEAD^ ;# вернуться в состояние WIP (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option целевой_объект\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (запрещено)\n\t\t\t --keep (запрещено)\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (запрещено)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (запрещено)\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (запрещено)\n\t\t\t --keep (запрещено)\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n X U A B --soft (запрещено)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (запрещено)\n```\n\nExample:\n```text\nрабочий индекс HEAD целевой рабочий индекс HEAD\n----------------------------------------------------\n X U A A --soft (запрещено)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (запрещено)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.392Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":195,"estimatedTokens":1221}}337{"id":"doc-git_git_reset_documentation-ce9b3b8c","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.22.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.393Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1226}}338{"id":"doc-git_git_reset_documentation-12cf1297","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.23.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git switch topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git switch feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git switch master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git switch feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git switch -c branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git switch -c branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.394Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1228}}339{"id":"doc-git_git_reset_documentation-cc407a46","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.21.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.395Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1226}}340{"id":"doc-git_git_commit_documentation-6ea59ec1","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/es","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... hace algo mas que llegará con el árbol correcto ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hola.c\n$ git rm adios.c\n$ git add hola.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hola.c\n$ rm adios.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hola.c hola.h\n$ git add hola.c hola.h\n$ edit HazFichero\n$ git commit HazFichero\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hola\n$ edit hola.c\n$ git add hola.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.397Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":242}}341{"id":"doc-git_git_commit_documentation-a1fb750e","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/sv","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... gör något annat för att få fram rätt träd ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hej.c\n$ git rm adjö.c\n$ git add hej.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hej.c\n$ rm adjö.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hej.c hej.h\n$ git add hej.c hej.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hej.c\n$ edit hej.c\n$ git add hej.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.399Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":242}}342{"id":"doc-git_git_commit_documentation-251982d3","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.54.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.401Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}343{"id":"doc-git_git_reset_documentation-e1562453","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.12.5","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C D --soft A B D\n--mixed A D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C C --soft A B C\n--mixed A C C\n--hard C C C\n--merge (disallowed)\n--keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C D --soft B B D\n--mixed B D D\n--hard D D D\n--merge D D D\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C C --soft B B C\n--mixed B C C\n--hard C C C\n--merge C C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C D --soft B C D\n--mixed B D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C C --soft B C C\n--mixed B C C\n--hard C C C\n--merge B C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A B --soft (disallowed)\n--mixed X B B\n--hard B B B\n--merge B B B\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A A --soft (disallowed)\n--mixed X A A\n--hard A A A\n--merge A A A\n--keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.402Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1194}}344{"id":"doc-git_git_reset_documentation-16cc8ab5","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.20.0","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C D --soft A B D\n\t\t\t --mixed A D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n A B C C --soft A B C\n\t\t\t --mixed A C C\n\t\t\t --hard C C C\n\t\t\t --merge (disallowed)\n\t\t\t --keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C D --soft B B D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge D D D\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B B C C --soft B B C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge C C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C D --soft B C D\n\t\t\t --mixed B D D\n\t\t\t --hard D D D\n\t\t\t --merge (disallowed)\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n B C C C --soft B C C\n\t\t\t --mixed B C C\n\t\t\t --hard C C C\n\t\t\t --merge B C C\n\t\t\t --keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A B --soft (disallowed)\n\t\t\t --mixed X B B\n\t\t\t --hard B B B\n\t\t\t --merge B B B\n\t\t\t --keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n----------------------------------------------------\n X U A A --soft (disallowed)\n\t\t\t --mixed X A A\n\t\t\t --hard A A A\n\t\t\t --merge A A A\n\t\t\t --keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.403Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1226}}345{"id":"doc-git_git_commit_documentation-0ee70085","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/ru","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... сделайте что-нибудь, чтобы привести дерево в порядок ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c # отредактируйте файл\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c # отредактируйте файл\n$ rm goodbye.c # удалите файл\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h # отредактировать файлы\n$ git add hello.c hello.h\n$ edit Makefile # отредактировать другой файл\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c # отредактируйте файл\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.404Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":288}}346{"id":"doc-git_git_commit_documentation-213bc4a8","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/fr","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run-c-C--squash--fixup-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... faire autre chose pour obtenir l'arbre correct ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.406Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}347{"id":"doc-git_git_commit_documentation-dd35d6c1","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/zh_HANS-CN","text":"Example:\n```text\ngitcommit'-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... 另辟蹊径,找到正确的目录树中 ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.407Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":242}}348{"id":"doc-git_git_reset_documentation-a1162a3b","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.13.7","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\n$ git reset -N HEAD^ (1)\n$ git add -p (2)\n$ git diff --cached (3)\n$ git commit -c HEAD@{1} (4)\n... (5)\n$ git add ... (6)\n$ git diff --cached (7)\n$ git commit ... (8)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C D --soft A B D\n--mixed A D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C C --soft A B C\n--mixed A C C\n--hard C C C\n--merge (disallowed)\n--keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C D --soft B B D\n--mixed B D D\n--hard D D D\n--merge D D D\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C C --soft B B C\n--mixed B C C\n--hard C C C\n--merge C C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C D --soft B C D\n--mixed B D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C C --soft B C C\n--mixed B C C\n--hard C C C\n--merge B C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A B --soft (disallowed)\n--mixed X B B\n--hard B B B\n--merge B B B\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A A --soft (disallowed)\n--mixed X A A\n--hard A A A\n--merge A A A\n--keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.408Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":197,"estimatedTokens":1194}}349{"id":"doc-git_git_reset_documentation-6f78e942","source":"documentation","title":"Git - git-reset Documentation","url":"http://git-scm.com/docs/git-reset/2.0.5","text":"Example:\n```text\ngit reset [-q] [<tree-ish>] [--] <paths>…\ngit reset (--patch | -p) [<tree-ish>] [--] [<paths>…]\ngit reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]\n```\n\nExample:\n```text\n$ edit (1)\n$ git add frotz.c filfre.c\n$ mailx (2)\n$ git reset (3)\n$ git pull git://info.example.com/ nitfol (4)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --soft HEAD^ (1)\n$ edit (2)\n$ git commit -a -c ORIG_HEAD (3)\n```\n\nExample:\n```text\n$ git branch topic/wip (1)\n$ git reset --hard HEAD~3 (2)\n$ git checkout topic/wip (3)\n```\n\nExample:\n```text\n$ git commit ...\n$ git reset --hard HEAD~3 (1)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nCONFLICT (content): Merge conflict in nitfol\nAutomatic merge failed; fix conflicts and then commit the result.\n$ git reset --hard (2)\n$ git pull . topic/branch (3)\nUpdating from 41223... to 13134...\nFast-forward\n$ git reset --hard ORIG_HEAD (4)\n```\n\nExample:\n```text\n$ git pull (1)\nAuto-merging nitfol\nMerge made by recursive.\n nitfol | 20 +++++----\n ...\n$ git reset --merge ORIG_HEAD (2)\n```\n\nExample:\n```text\n$ git checkout feature ;# you were working in \"feature\" branch and\n$ work work work ;# got interrupted\n$ git commit -a -m \"snapshot WIP\" (1)\n$ git checkout master\n$ fix fix fix\n$ git commit ;# commit with real log\n$ git checkout feature\n$ git reset --soft HEAD^ ;# go back to WIP state (2)\n$ git reset (3)\n```\n\nExample:\n```text\n$ git reset -- frotz.c (1)\n$ git commit -m \"Commit files in index\" (2)\n$ git add frotz.c (3)\n```\n\nExample:\n```text\n$ git tag start\n$ git checkout -b branch1\n$ edit\n$ git commit ... (1)\n$ edit\n$ git checkout -b branch2 (2)\n$ git reset --keep start (3)\n```\n\nExample:\n```text\ngit reset --option target\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C D --soft A B D\n--mixed A D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n A B C C --soft A B C\n--mixed A C C\n--hard C C C\n--merge (disallowed)\n--keep A C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C D --soft B B D\n--mixed B D D\n--hard D D D\n--merge D D D\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B B C C --soft B B C\n--mixed B C C\n--hard C C C\n--merge C C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C D --soft B C D\n--mixed B D D\n--hard D D D\n--merge (disallowed)\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n B C C C --soft B C C\n--mixed B C C\n--hard C C C\n--merge B C C\n--keep B C C\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A B --soft (disallowed)\n--mixed X B B\n--hard B B B\n--merge B B B\n--keep (disallowed)\n```\n\nExample:\n```text\nworking index HEAD target working index HEAD\n ----------------------------------------------------\n X U A A --soft (disallowed)\n--mixed X A A\n--hard A A A\n--merge A A A\n--keep (disallowed)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.409Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":185,"estimatedTokens":1093}}350{"id":"doc-git_git_commit_documentation-5f9dc130","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.51.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.411Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}351{"id":"doc-git_git_commit_documentation-b69ad592","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.55.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.412Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}352{"id":"doc-git_git_commit_documentation-b30c0b68","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.46.1","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.414Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}353{"id":"doc-git_git_commit_documentation-53b7e52a","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.53.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.416Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}354{"id":"doc-git_git_commit_documentation-09a5fd2d","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.52.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.418Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}355{"id":"doc-git_git_commit_documentation-0510b45a","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/uk","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... зробіть щось ще, щоб навести лад в дереві...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.419Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":243}}356{"id":"doc-git_git_commit_documentation-02a2959e","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.50.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.423Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}357{"id":"doc-git_git_commit_documentation-e5645e66","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.43.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.424Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}358{"id":"doc-git_git_commit_documentation-f47b4ab2","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.45.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.426Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}359{"id":"doc-git_git_commit_documentation-d11cf8eb","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.43.1","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.428Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}360{"id":"doc-git_git_commit_documentation-2c28bbde","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.49.0","text":"Example:\n```text\ngitcommit-a--interactive--patch-s-v-u--amend--dry-run--fixupamendreword:-F-m--reset-author--allow-empty--allow-empty-message--no-verify-e--author=--date=--cleanup=--no-status-i-o--pathspec-from-file=--pathspec-file-nul--trailer=:-S--\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.430Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":66,"estimatedTokens":250}}361{"id":"doc-git_git_commit_documentation-51ac78b2","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.32.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.431Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}362{"id":"doc-git_git_commit_documentation-2bbfcf53","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.38.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.433Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}363{"id":"doc-git_git_commit_documentation-9bca7803","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.34.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.435Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}364{"id":"doc-git_git_commit_documentation-0e9c3f09","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.31.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [-S[<keyid>]] [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.436Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":82,"estimatedTokens":328}}365{"id":"doc-git_git_commit_documentation-10a3da92","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.27.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [-S[<keyid>]] [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.437Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":82,"estimatedTokens":328}}366{"id":"doc-git_git_commit_documentation-563e0156","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.30.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [-S[<keyid>]] [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.439Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":82,"estimatedTokens":328}}367{"id":"doc-git_git_commit_documentation-dcff45be","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.33.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.440Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}368{"id":"doc-git_git_commit_documentation-7924b1a0","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.35.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [(--trailer <token>[(=|:)<value>])…] [-S[<keyid>]]\n\t [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.442Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":83,"estimatedTokens":345}}369{"id":"doc-git_git_commit_documentation-2cf7ff50","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.25.1","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [-S[<keyid>]] [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\nGIT_AUTHOR_NAME\nGIT_AUTHOR_EMAIL\nGIT_AUTHOR_DATE\nGIT_COMMITTER_NAME\nGIT_COMMITTER_EMAIL\nGIT_COMMITTER_DATE\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.443Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":82,"estimatedTokens":328}}370{"id":"doc-git_git_commit_documentation-0500afd7","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.24.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.445Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":281}}371{"id":"doc-git_git_commit_documentation-cd38ac36","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.25.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [-S[<keyid>]] [--] [<pathspec>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.446Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":72,"estimatedTokens":296}}372{"id":"doc-git_git_commit_documentation-47ba850c","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.11.4","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.447Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}373{"id":"doc-git_git_commit_documentation-2e41600f","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.12.5","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.448Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}374{"id":"doc-git_git_commit_documentation-a45b654c","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.21.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.450Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":281}}375{"id":"doc-git_git_commit_documentation-06311877","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.13.7","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.451Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":281}}376{"id":"doc-git_git_commit_documentation-f0e22c86","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.23.0","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.455Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":281}}377{"id":"doc-git_git_commit_documentation-a65ebf2f","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.7.6","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.456Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}378{"id":"doc-git_git_commit_documentation-5772fac7","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.0.5","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<key-id>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.457Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}379{"id":"doc-git_git_commit_documentation-0c98ec5d","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.16.6","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n# ------------------------ >8 ------------------------\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.459Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":281}}380{"id":"doc-git_git_commit_documentation-56eaa20f","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.10.5","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.460Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}381{"id":"doc-git_git_commit_documentation-db1285a4","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.9.5","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.461Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}382{"id":"doc-git_git_commit_documentation-1df33fbe","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.6.7","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<keyid>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.462Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}383{"id":"doc-git_git_branch_documentation-6e7f737c","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.21.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.463Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":266}}384{"id":"doc-git_git_commit_documentation-116b9919","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.4.12","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<key-id>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.464Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}385{"id":"doc-git_git_commit_documentation-6cd4b994","source":"documentation","title":"Git - git-commit Documentation","url":"http://git-scm.com/docs/git-commit/2.2.3","text":"Example:\n```text\ngit commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n\t [--dry-run] [(-c | -C | --fixup | --squash) <commit>]\n\t [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n\t [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n\t [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n\t [-i | -o] [-S[<key-id>]] [--] [<file>…]\n```\n\nExample:\n```text\n$ git reset --soft HEAD^\n\t$ ... do something else to come up with the right tree ...\n\t$ git commit -c ORIG_HEAD\n```\n\nExample:\n```text\n$ edit hello.c\n$ git rm goodbye.c\n$ git add hello.c\n$ git commit\n```\n\nExample:\n```text\n$ edit hello.c\n$ rm goodbye.c\n$ git commit -a\n```\n\nExample:\n```text\n$ edit hello.c hello.h\n$ git add hello.c hello.h\n$ edit Makefile\n$ git commit Makefile\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git status | grep unmerged\nunmerged: hello.c\n$ edit hello.c\n$ git add hello.c\n```\n\nExample:\n```text\n[i18n]\n\tcommitencoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogoutputencoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.465Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":66,"estimatedTokens":262}}386{"id":"doc-git_git_branch_documentation-518ffd3d","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.39.3","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.467Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}387{"id":"doc-git_git_branch_documentation-43ae3a72","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.43.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.468Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}388{"id":"doc-git_git_branch_documentation-1f91d6fd","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/pt_BR","text":"Example:\n```text\ngit branch [--color[=<quando>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<opções>] | --no-column] [--sort=<chaves>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <objeto>] [--format=<formato>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<padrão>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <nome-do-ramo> [<ponto-de-partida>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<nome-do-ramo>]\ngit branch --unset-upstream [<nome-do-ramo>]\ngit branch (-m | -M) [<ramo-antigo>] <nome-do-ramo>\ngit branch (-c | -C) [<ramo-antigo>] <novo-ramo>\ngit branch (-d | -D) [-r] <nome-do-ramo>…\ngit branch --edit-description [<nome-do-ramo>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remoto>/<padrão>' (1)\n$ git for-each-ref 'refs/remotes/<remoto>/<padrão>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.469Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":329}}389{"id":"doc-git_git_branch_documentation-d7fd7351","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.44.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.470Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}390{"id":"doc-git_git_branch_documentation-cc5c95a0","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/sv","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<fjärr>/<mönster>' (1)\n$ git for-each-ref 'refs/remotes/<fjärr>/<mönster>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.472Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}391{"id":"doc-git_git_branch_documentation-40ff69b3","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.41.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.473Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}392{"id":"doc-git_git_branch_documentation-fe91720d","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/ru","text":"Example:\n```text\ngitbranch'--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch'--track=directinherit--no-track-f--recurse-submodulesgitbranch'--set-upstream-to=-ugitbranch'--unset-upstreamgitbranch'-m-Mgitbranch'-c-Cgitbranch'-d-D-rgitbranch'--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<внешний-репозиторий>/<шаблон>' (1)\n$ git for-each-ref 'refs/remotes/<внешний-репозиторий>/<шаблон>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.474Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":232}}393{"id":"doc-git_git_branch_documentation-94d4a505","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.37.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.475Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}394{"id":"doc-git_git_branch_documentation-813217cf","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.50.0","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.476Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}395{"id":"doc-git_git_branch_documentation-36de9e28","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.38.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.478Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}396{"id":"doc-git_git_branch_documentation-f45233c8","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.51.0","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.481Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}397{"id":"doc-git_git_branch_documentation-f377a390","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.40.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.482Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}398{"id":"doc-git_git_branch_documentation-dbdf9314","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/zh_HANS-CN","text":"Example:\n```text\ngitbranch'--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch'--track=directinherit--no-track-f--recurse-submodulesgitbranch'--set-upstream-to=-ugitbranch'--unset-upstreamgitbranch'-m-Mgitbranch'-c-Cgitbranch'-d-D-rgitbranch'--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 <1>.\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<远程仓库>/<模式>' (1)\n$ git for-each-ref 'refs/remotes/<远程仓库>/<模式>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.483Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":222}}399{"id":"doc-git_git_branch_documentation-fa3d72d6","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.36.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f]\n\t[--recurse-submodules] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.484Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":323}}400{"id":"doc-git_git_branch_documentation-d9741664","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/fr","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<distant>/<motif>' (1)\n$ git for-each-ref 'refs/remotes/<distant>/<motif>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.485Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}401{"id":"doc-git_git_branch_documentation-ffed662a","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/uk","text":"Example:\n```text\ngitbranch--color=--no-color--show-current-v--abbrev=--no-abbrev--column=--no-column--sort=--merged--no-merged--contains--no-contains--points-at--format=-r--remotes-a--all--listgitbranch--track=directinherit--no-track-f--recurse-submodulesgitbranch--set-upstream-to=-ugitbranch--unset-upstreamgitbranch-m-Mgitbranch-c-Cgitbranch-d-D-rgitbranch--edit-description\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.486Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":224}}402{"id":"doc-git_git_branch_documentation-e9f2f29e","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.29.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.487Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":314}}403{"id":"doc-git_git_branch_documentation-e8a40090","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.31.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.488Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":313}}404{"id":"doc-git_git_branch_documentation-ef9f5e31","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.34.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.489Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":313}}405{"id":"doc-git_git_branch_documentation-b6823337","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.33.1","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.490Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":313}}406{"id":"doc-git_git_branch_documentation-dbb9c7c4","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.35.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track[=(direct|inherit)] | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.490Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":317}}407{"id":"doc-git_git_branch_documentation-a7a47cd5","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.15.4","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.491Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":271}}408{"id":"doc-git_git_branch_documentation-4e813dd9","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.30.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<n> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[--merged [<commit>]] [--no-merged [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.492Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":313}}409{"id":"doc-git_git_branch_documentation-8540e237","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.22.1","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color]\n\t[-v [--abbrev=<length> | --no-abbrev]]\n\t[--show-current]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.493Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":312}}410{"id":"doc-git_git_branch_documentation-50ba61fa","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.20.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.494Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":266}}411{"id":"doc-git_git_branch_documentation-6cbc9c08","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.28.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit>]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.495Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":312}}412{"id":"doc-git_git_branch_documentation-952100f7","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.23.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [--show-current]\n\t[-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>]\n\t[(-r | --remotes) | (-a | --all)]\n\t[--list] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git switch my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\nExample:\n```text\n$ git branch -r -l '<remote>/<pattern>' (1)\n$ git for-each-ref 'refs/remotes/<remote>/<pattern>' (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.495Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":311}}413{"id":"doc-git_git_branch_documentation-3770af7e","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.18.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.496Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":267}}414{"id":"doc-git_git_branch_documentation-1cef4818","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.16.6","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.497Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":267}}415{"id":"doc-git_git_branch_documentation-14afb0d6","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.7.6","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [--sort=<key>]\n\t[--points-at <object>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.498Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":245}}416{"id":"doc-git_git_branch_documentation-d1a57d72","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.6.7","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.499Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":31,"estimatedTokens":235}}417{"id":"doc-git_git_branch_documentation-247ab8b8","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.19.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.499Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":267}}418{"id":"doc-git_git_branch_documentation-9baabd9b","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.22.0","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [--show-current] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--track | --no-track] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-c | -C) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.500Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":270}}419{"id":"doc-git_git_branch_documentation-cba7a43a","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.13.7","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.502Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":33,"estimatedTokens":259}}420{"id":"doc-git_git_branch_documentation-610787fd","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.4.12","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.503Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":31,"estimatedTokens":235}}421{"id":"doc-git_git_branch_documentation-24dc8b7b","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.12.5","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [--sort=<key>]\n\t[--points-at <object>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.503Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":245}}422{"id":"doc-git_git_branch_documentation-a9278c8a","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.14.6","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column] [--sort=<key>]\n\t[(--merged | --no-merged) [<commit>]]\n\t[--contains [<commit]] [--no-contains [<commit>]]\n\t[--points-at <object>] [--format=<format>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.504Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":33,"estimatedTokens":259}}423{"id":"doc-git_git_branch_documentation-b596271e","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.9.5","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [--sort=<key>]\n\t[--points-at <object>] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.505Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":245}}424{"id":"doc-git_git_branch_documentation-3c492e68","source":"documentation","title":"Git - git-branch Documentation","url":"http://git-scm.com/docs/git-branch/2.0.5","text":"Example:\n```text\ngit branch [--color[=<when>] | --no-color] [-r | -a]\n\t[--list] [-v [--abbrev=<length> | --no-abbrev]]\n\t[--column[=<options>] | --no-column]\n\t[(--merged | --no-merged | --contains) [<commit>]] [<pattern>…]\ngit branch [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]\ngit branch (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]\ngit branch --unset-upstream [<branchname>]\ngit branch (-m | -M) [<oldbranch>] <newbranch>\ngit branch (-d | -D) [-r] <branchname>…\ngit branch --edit-description [<branchname>]\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6\n$ cd my2.6\n$ git branch my2.6.14 v2.6.14 (1)\n$ git checkout my2.6.14\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/.../git.git my.git\n$ cd my.git\n$ git branch -d -r origin/todo origin/html origin/man (1)\n$ git branch -D test (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.506Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":31,"estimatedTokens":235}}425{"id":"doc-git_git_documentation-0de8f25e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/pt_BR","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Os caracteres '#' ou ';' indicam um comentário.\n#\n\n; variáveis principais\n[core]\n\t; Não confie nos modos dos arquivos\n\tfilemode = false\n\n; identidade do usuário\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.508Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":215}}426{"id":"doc-git_git_documentation-96a22603","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/es","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <ruta>] [-c <nombre>=<valor>]\n [--exec-path[=<ruta>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate| -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<ruta>]\n [--work-tree=<ruta>] [--namespace=<nombre>] [--config-env=<nombre>=<var-ambiente>]\n <comando> [<argumentos>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Un caracter '#' o ';' indica un comentario.\n#\n\n; variables esenciales\n[core]\n\t; No confiar modos de fichero\n\tfilemode = false\n\n; identidad del usuario\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nruta fichero-anterior hex-anterior modo-anterior fichero-nuevo hex-nuevo modo-nuevo\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.511Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":223}}427{"id":"doc-git_git_documentation-1783c2e9","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/sv","text":"Example:\n```text\ngit [-v | --version] [-h |--help] [-C <sökväg>] [-c <namn>=<värde>]\n [--exec-path[=<sökväg>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<sökväg>]\n [--work-tree=<sökväg>] [--namespace=<namn>] [--config-env=<namn>=<miljövar>]\n <kommando> [<flaggor>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Ett '#'- eller ';'-teckne anger en kommentar.\n#\n\n; kärnvariabler\n[core]\n\t; Lita inte på fillägen\n\tfilemode = false\n\n; användaridentitet\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nsökväg gammal-fil gammal-hex gammalt-läge ny-fil ny-hex nytt-läge\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.514Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":223}}428{"id":"doc-git_git_documentation-ce06ff92","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.55.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.518Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}429{"id":"doc-git_git_documentation-31d1099a","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/uk","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Символи '#' чи ';' використовуються для позначення рядків коментарів\n#\n\n; основні змінні\n[core]\n\t; Не покладатися на атрибути файлів\n\tfilemode = false\n\n; інформація про користувача\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.520Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":220}}430{"id":"doc-git_git_documentation-73430b2a","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/fr","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <chemin>] [-c <nom>=<valeur>]\n [--exec-path[=<chemin>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare]\n [--git-dir=<chemin>] [--work-tree=<chemin>] [--namespace=<nom>]\n [--config-env=<nom>=<var-env>] <commande> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Un caractère A '#' ou ';' indique un commentaire.\n#\n\n; variables de base\n[core]\n\t; ne pas faire confiance au mode des fichiers\n\tfilemode = false\n\n; identité de l'utilisateur\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nchemin vieux-fichier vieux-hex vieux-mode nouveau-fichier nouveau-hex nouveau-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.523Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":227}}431{"id":"doc-git_git_documentation-4c5a18f5","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/ru","text":"Example:\n```text\ngit [--version] [--help] [-C <путь>] [-c <имя>=<значение>]\n [--exec-path[=<путь>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<путь>]\n [--work-tree=<путь>] [--namespace=<имя>] [--config-env=<имя>=<переменная-среды>]\n <команда> [<аргументы>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# Символ '#' или ';' обозначает комментарий.\n#\n\n; основные переменные\n[core]\n\t; Не доверять режимам файлов\n\tfilemode = false\n\n; идентификация пользователя\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nпуть старый-файл старый-hex старый-режим новый-файл новый-hex новый-режим\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.525Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":218}}432{"id":"doc-git_git_documentation-ace5fea3","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.49.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.528Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}433{"id":"doc-git_git_documentation-96ee788e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.54.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.531Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}434{"id":"doc-git_git_documentation-200275c6","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.51.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.534Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}435{"id":"doc-git_git_documentation-aea71d20","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.52.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.540Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}436{"id":"doc-git_git_documentation-3c94b50e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.50.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.544Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}437{"id":"doc-git_git_documentation-fd278a07","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.53.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.547Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}438{"id":"doc-git_git_documentation-0a167dd8","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.46.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.550Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}439{"id":"doc-git_git_documentation-c02cc3db","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.48.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.553Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}440{"id":"doc-git_git_documentation-db84eb0d","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.47.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n [--no-optional-locks] [--no-advice] [--bare] [--git-dir=<path>]\n [--work-tree=<path>] [--namespace=<name>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.556Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":208}}441{"id":"doc-git_git_documentation-210f759b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.45.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.559Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}442{"id":"doc-git_git_documentation-b7ad4d2e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.45.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.562Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}443{"id":"doc-git_git_documentation-111f46b8","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.44.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.565Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}444{"id":"doc-git_git_documentation-62862b56","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.43.4","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.568Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}445{"id":"doc-git_git_documentation-5b0c781d","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.43.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.571Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}446{"id":"doc-git_git_documentation-e08b88e6","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.43.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.574Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}447{"id":"doc-git_git_documentation-8d033c39","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.33.2","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.577Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}448{"id":"doc-git_git_documentation-08151fc8","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.35.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.586Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}449{"id":"doc-git_git_documentation-b1a24725","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.36.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.588Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}450{"id":"doc-git_git_documentation-fc47b39f","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.38.2","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.591Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}451{"id":"doc-git_git_documentation-a1e8d17e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.42.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.594Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}452{"id":"doc-git_git_documentation-14c7e61b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.44.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.597Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}453{"id":"doc-git_git_documentation-7b052f99","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.37.2","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.600Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}454{"id":"doc-git_git_documentation-7b425bf2","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.40.2","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.603Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}455{"id":"doc-git_git_documentation-b4de746b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.42.2","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.606Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}456{"id":"doc-git_git_documentation-c6f72212","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.39.4","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.609Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}457{"id":"doc-git_git_documentation-b7502751","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.34.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.612Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}458{"id":"doc-git_git_documentation-5ec12f90","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.37.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.615Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}459{"id":"doc-git_git_documentation-9b3846d2","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.38.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.618Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}460{"id":"doc-git_git_documentation-5ec731bf","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.41.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.621Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}461{"id":"doc-git_git_documentation-e973b242","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.32.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.628Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}462{"id":"doc-git_git_documentation-6787a8e0","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.39.0","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.631Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":199}}463{"id":"doc-git_git_documentation-4fc56082","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.33.1","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env=<name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.634Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}464{"id":"doc-git_git_documentation-2f1d44e7","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.42.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.637Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}465{"id":"doc-git_git_documentation-5a6e7895","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.41.1","text":"Example:\n```text\ngit [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--config-env=<name>=<envvar>] <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.639Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":192}}466{"id":"doc-git_git_documentation-9a0a414f","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.31.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>] [--config-env <name>=<envvar>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.642Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":196}}467{"id":"doc-git_git_documentation-3425e05d","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.27.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.645Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}468{"id":"doc-git_git_documentation-081db16d","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.28.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.648Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}469{"id":"doc-git_git_documentation-62b3476b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.30.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.651Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}470{"id":"doc-git_git_documentation-a0e0dbf6","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.26.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.655Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}471{"id":"doc-git_git_documentation-72618133","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.25.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.658Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}472{"id":"doc-git_git_documentation-34e9fae1","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.29.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.661Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}473{"id":"doc-git_git_documentation-ccced484","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.25.1","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.664Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}474{"id":"doc-git_git_documentation-d88e5d2b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.22.1","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.667Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}475{"id":"doc-git_git_documentation-a64c733e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.20.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.674Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}476{"id":"doc-git_git_documentation-8c5226aa","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.22.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.677Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}477{"id":"doc-git_git_documentation-24181f0b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.19.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.680Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":265}}478{"id":"doc-git_git_documentation-af0c5e72","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.7.6","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.682Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}479{"id":"doc-git_git_documentation-3604351b","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.8.6","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.685Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}480{"id":"doc-git_git_documentation-be36759d","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.23.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.688Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}481{"id":"doc-git_git_documentation-ac565758","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.5.6","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.690Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}482{"id":"doc-git_git_documentation-159de10a","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.4.12","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.692Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}483{"id":"doc-git_git_documentation-e04fb85a","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.19.2","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.695Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":188}}484{"id":"doc-git_git_documentation-a7ba1098","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.15.4","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.697Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}485{"id":"doc-git_git_documentation-03f138e8","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.11.4","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.700Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}486{"id":"doc-git_git_documentation-4bc63b78","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.12.5","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.702Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}487{"id":"doc-git_git_documentation-e1f727fd","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.9.5","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.704Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}488{"id":"doc-git_git_documentation-11c8cd0e","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.17.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.706Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}489{"id":"doc-git_git_documentation-d3cedbe2","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.3.10","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.708Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}490{"id":"doc-git_git_documentation-e6638a8f","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.18.0","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.711Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":265}}491{"id":"doc-git_git_documentation-eaa7bae1","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.16.6","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.713Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}492{"id":"doc-git_git_documentation-4d99c792","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.14.6","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n [--super-prefix=<path>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\nEntries that begin with `\"` (double-quote) will be interpreted\nas C-style quoted paths, removing leading and trailing\ndouble-quotes and respecting backslash escapes. E.g., the value\n`\"path-with-\\\"-and-:-in-it\":vanilla-path` has two paths:\n`path-with-\"-and-:-in-it` and `vanilla-path`.\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.720Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":48,"estimatedTokens":264}}493{"id":"doc-git_git_version_documentation-64ae18be","source":"documentation","title":"Git - git-version Documentation","url":"http://git-scm.com/docs/git-version","text":"Example:\n```text\ngit version [--build-options]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.720Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":16}}494{"id":"doc-git_gitnamespaces_documentation-e5fd3f29","source":"documentation","title":"Git - gitnamespaces Documentation","url":"http://git-scm.com/docs/gitnamespaces","text":"Example:\n```text\nGIT_NAMESPACE=<namespace> git upload-pack\nGIT_NAMESPACE=<namespace> git receive-pack\n```\n\nExample:\n```text\ngit clone ext::'git --namespace=foo %s /tmp/prefixed.git'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.720Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":50}}495{"id":"doc-git_git_documentation-ea95b988","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.10.5","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.723Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}496{"id":"doc-git_git_documentation-77eed387","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.6.7","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.725Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}497{"id":"doc-git_git_documentation-656e36ab","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.2.3","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}498{"id":"doc-git_git_backfill_documentation-775513ae","source":"documentation","title":"Git - git-backfill Documentation","url":"http://git-scm.com/docs/git-backfill","text":"Example:\n```text\ngitbackfill--min-batch-size=--no-sparse--no-include-edges\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":23}}499{"id":"doc-git_git_citool_documentation-131f3909","source":"documentation","title":"Git - git-citool Documentation","url":"http://git-scm.com/docs/git-citool","text":"Example:\n```text\ngit citool\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":12}}500{"id":"doc-git_git_prune_documentation-0c1a8e60","source":"documentation","title":"Git - git-prune Documentation","url":"http://git-scm.com/docs/git-prune","text":"Example:\n```text\ngit prune [-n] [-v] [--progress] [--expire <time>] [--] [<head>…]\n```\n\nExample:\n```text\n$ git prune $(cd ../another && git rev-parse --all)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":44}}501{"id":"doc-git_git_history_documentation-629ea4ac","source":"documentation","title":"Git - git-history Documentation","url":"http://git-scm.com/docs/git-history","text":"Example:\n```text\ngithistoryfixup--dry-run--update-refs=brancheshead--reedit-message--empty=dropkeepabortgithistoryreword--dry-run--update-refs=branchesheadgithistorysplit--dry-run--update-refs=brancheshead--\n```\n\nExample:\n```text\n$ git log --oneline --stat\nabc1234 (HEAD -> main) third\n third.txt | 1 +\ndef5678 second\n second.txt | 1 +\nghi9012 first\n first.txt | 1 +\n\n$ echo \"change\" >>unrelated.txt\n$ git add unrelated.txt\n$ git history fixup ghi9012\n\n$ git log --oneline --stat\njkl3456 (HEAD -> main) third\n third.txt | 1 +\nmno7890 second\n second.txt | 1 +\npqr1234 first\n first.txt | 1 +\n unrelated.txt | 1 +\n```\n\nExample:\n```text\n$ git log --stat --oneline\n3f81232 (HEAD -> main) original\n bar | 1 +\n foo | 1 +\n 2 files changed, 2 insertions(+)\n\n$ git history split HEAD\ndiff --git a/bar b/bar\nnew file mode 100644\nindex 0000000..5716ca5\n--- /dev/null\n+++ b/bar\n@@ -0,0 +1 @@\n+bar\n(1/1) Stage addition [y,n,q,a,d,p,?]? y\n\ndiff --git a/foo b/foo\nnew file mode 100644\nindex 0000000..257cc56\n--- /dev/null\n+++ b/foo\n@@ -0,0 +1 @@\n+foo\n(1/1) Stage addition [y,n,q,a,d,p,?]? n\n\n$ git log --stat --oneline\n7cebe64 (HEAD -> main) original\n foo | 1 +\n 1 file changed, 1 insertion(+)\nd1582f3 split-out commit\n bar | 1 +\n 1 file changed, 1 insertion(+)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":66,"estimatedTokens":317}}502{"id":"doc-git_git_replace_documentation-12f98129","source":"documentation","title":"Git - git-replace Documentation","url":"http://git-scm.com/docs/git-replace","text":"Example:\n```text\ngit replace [-f] <object> <replacement>\ngit replace [-f] --edit <object>\ngit replace [-f] --graft <commit> [<parent>…]\ngit replace [-f] --convert-graft-file\ngit replace -d <object>…\ngit replace [--format=<format>] [-l [<pattern>]]\n```\n\nExample:\n```text\n$ git --no-replace-objects cat-file commit foo\n```\n\nExample:\n```text\n$ git cat-file commit foo\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":21,"estimatedTokens":96}}503{"id":"doc-git_git_pack_refs_documentation-e9c0b159","source":"documentation","title":"Git - git-pack-refs Documentation","url":"http://git-scm.com/docs/git-pack-refs","text":"Example:\n```text\ngit pack-refs [--all] [--no-prune] [--auto] [--include <pattern>] [--exclude <pattern>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":31}}504{"id":"doc-git_git_gui_documentation-623b7b41","source":"documentation","title":"Git - git-gui Documentation","url":"http://git-scm.com/docs/git-gui","text":"Example:\n```text\ngit gui [<command>] [<arguments>]\n```\n\nExample:\n```text\nhttps://github.com/j6t/git-gui\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":31}}505{"id":"doc-git_git_documentation-700b9f83","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.0.5","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.731Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}506{"id":"doc-git_git_refs_documentation-3485cbdb","source":"documentation","title":"Git - git-refs Documentation","url":"http://git-scm.com/docs/git-refs","text":"Example:\n```text\ngitrefsmigrate--ref-format=--no-reflog--dry-rungitrefsverify--strict--verbosegitrefslist--count=--shell--perl--python--tcl--sort=--format=--include-root-refs--points-at=--merged=--no-merged=--contains=--no-contains=--exclude=--start-after=--stdingitrefsexistsgitrefsoptimize--all--no-prune--auto--include--exclude\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.732Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":87}}507{"id":"doc-git_git_maintenance_documentation-dcabe51d","source":"documentation","title":"Git - git-maintenance Documentation","url":"http://git-scm.com/docs/git-maintenance","text":"Example:\n```text\ngit maintenance run [<options>]\ngit maintenance start [--scheduler=<scheduler>]\ngit maintenance (stop|register|unregister) [<options>]\ngit maintenance is-needed [<options>]\n```\n\nExample:\n```text\n# BEGIN GIT MAINTENANCE SCHEDULE\n# The following schedule was created by Git\n# Any edits made in this region might be\n# replaced in the future by a Git command.\n\n0 1-23 * * * \"/<path>/git\" --exec-path=\"/<path>\" for-each-repo --config=maintenance.repo maintenance run --schedule=hourly\n0 0 * * 1-6 \"/<path>/git\" --exec-path=\"/<path>\" for-each-repo --config=maintenance.repo maintenance run --schedule=daily\n0 0 * * 0 \"/<path>/git\" --exec-path=\"/<path>\" for-each-repo --config=maintenance.repo maintenance run --schedule=weekly\n\n# END GIT MAINTENANCE SCHEDULE\n```\n\nExample:\n```text\n$ systemctl --user list-timers\nNEXT LEFT LAST PASSED UNIT ACTIVATES\nThu 2021-04-29 19:00:00 CEST 42min left Thu 2021-04-29 18:00:11 CEST 17min ago git-maintenance@hourly.timer git-maintenance@hourly.service\nFri 2021-04-30 00:00:00 CEST 5h 42min left Thu 2021-04-29 00:00:11 CEST 18h ago git-maintenance@daily.timer git-maintenance@daily.service\nMon 2021-05-03 00:00:00 CEST 3 days left Mon 2021-04-26 00:00:11 CEST 3 days ago git-maintenance@weekly.timer git-maintenance@weekly.service\n```\n\nExample:\n```text\n~/.config/systemd/user/git-maintenance@.timer\n~/.config/systemd/user/git-maintenance@.service\n~/.config/systemd/user/timers.target.wants/git-maintenance@hourly.timer\n~/.config/systemd/user/timers.target.wants/git-maintenance@daily.timer\n~/.config/systemd/user/timers.target.wants/git-maintenance@weekly.timer\n```\n\nExample:\n```text\n$ ls ~/Library/LaunchAgents/org.git-scm.git*\norg.git-scm.git.daily.plist\norg.git-scm.git.hourly.plist\norg.git-scm.git.weekly.plist\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.734Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":49,"estimatedTokens":469}}508{"id":"doc-git_gitk_documentation-a31d3e56","source":"documentation","title":"Git - gitk Documentation","url":"http://git-scm.com/docs/gitk","text":"Example:\n```text\ngitk [<options>] [<revision-range>] [--] [<path>…]\n```\n\nExample:\n```text\nhttps://github.com/j6t/gitk\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.734Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":34}}509{"id":"doc-git_git_documentation-8d4f7284","source":"documentation","title":"Git - git Documentation","url":"http://git-scm.com/docs/git/2.1.4","text":"Example:\n```text\ngit [--version] [--help] [-C <path>] [-c <name>=<value>]\n [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]\n [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n <command> [<args>]\n```\n\nExample:\n```text\ngit --git-dir=a.git --work-tree=b -C c status\ngit --git-dir=c/a.git --work-tree=c/b status\n```\n\nExample:\n```text\n#\n# A '#' or ';' character indicates a comment.\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; user identity\n[user]\n\tname = \"Junio C Hamano\"\n\temail = \"gitster@pobox.com\"\n```\n\nExample:\n```text\npath old-file old-hex old-mode new-file new-hex new-mode\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.736Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":38,"estimatedTokens":181}}510{"id":"doc-git_git_unpack_objects_documentation-9d8328ef","source":"documentation","title":"Git - git-unpack-objects Documentation","url":"http://git-scm.com/docs/git-unpack-objects","text":"Example:\n```text\ngit unpack-objects [-n] [-q] [-r] [--strict]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.737Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":20}}511{"id":"doc-git_git_cherry_documentation-d17f9471","source":"documentation","title":"Git - git-cherry Documentation","url":"http://git-scm.com/docs/git-cherry","text":"Example:\n```text\ngit cherry [-v] [<upstream> [<head> [<limit>]]]\n```\n\nExample:\n```text\n$ git checkout -b topic origin/master\n# work and create some commits\n$ git format-patch origin/master\n$ git send-email ... 00*\n```\n\nExample:\n```text\n$ git fetch # update your notion of origin/master\n$ git cherry -v\n```\n\nExample:\n```text\n$ git log --graph --oneline --decorate --boundary origin/master...topic\n* 7654321 (origin/master) upstream tip commit\n[... snip some other commits ...]\n* cccc111 cherry-pick of C\n* aaaa111 cherry-pick of A\n[... snip a lot more that has happened ...]\n| * cccc000 (topic) commit C\n| * bbbb000 commit B\n| * aaaa000 commit A\n|/\no 1234567 branch point\n```\n\nExample:\n```text\n$ git cherry origin/master topic\n- cccc000... commit C\n+ bbbb000... commit B\n- aaaa000... commit A\n```\n\nExample:\n```text\n$ git log --graph --oneline --decorate --boundary origin/master...topic\n* 7654321 (origin/master) upstream tip commit\n[... snip some other commits ...]\n* cccc111 cherry-pick of C\n* aaaa111 cherry-pick of A\n[... snip a lot more that has happened ...]\n| * cccc000 (topic) commit C\n| * bbbb000 commit B\n| * aaaa000 commit A\n| * 0000fff (base) unpublished stuff F\n[... snip ...]\n| * 0000aaa unpublished stuff A\n|/\no 1234567 merge-base between upstream and topic\n```\n\nExample:\n```text\n$ git cherry origin/master topic base\n- cccc000... commit C\n+ bbbb000... commit B\n- aaaa000... commit A\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.737Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":69,"estimatedTokens":354}}512{"id":"doc-git_git_replay_documentation-4e5a78a4","source":"documentation","title":"Git - git-replay Documentation","url":"http://git-scm.com/docs/git-replay","text":"Example:\n```text\n(EXPERIMENTAL!) git replay ([--contained] --onto=<newbase> | --advance=<branch> | --revert=<branch>)\n\t\t\t [--ref=<ref>] [--ref-action=<mode>] <revision-range>\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / / /\n\tI B C D E Y\n\t \\ / / / / /\n\t `-------------' X\n```\n\nExample:\n```text\n.-A---N---O\n\t / / /\n\tI---------D\n```\n\nExample:\n```text\nI A B N D O P Q\n```\n\nExample:\n```text\n.-A---M---N---O---P---Q\n\t / / / / /\n\tI B / D /\n\t \\ / / / /\n\t `-------------'\n```\n\nExample:\n```text\n.-A---M---N---O\n\t / / /\n\tI B D\n\t \\ / /\n\t `---------'\n```\n\nExample:\n```text\nD---E-------F\n\t / \\ \\\n\t B---C---G---H---I---J\n\t / \\\n\tA-------K---------------L--M\n```\n\nExample:\n```text\nE-------F\n\t\t \\ \\\n\t\t G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nE\n\t\t \\\n\t C---G---H---I---J\n\t\t\t \\\n\t\t\t\tL--M\n```\n\nExample:\n```text\nK---------------L--M\n```\n\nExample:\n```text\n.-A---M-----C--N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`-Z' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `---Y--'\n```\n\nExample:\n```text\nI---X\n```\n\nExample:\n```text\n.-A---M--------N---O---P\n\t / / \\ \\ \\/ / /\n\tI B \\ R-'`--' /\n\t \\ / \\/ /\n\t \\ / /\\ /\n\t `---X--' `------'\n```\n\nExample:\n```text\n.-A---M--.\n\t / / \\\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\nI---X---R---N\n```\n\nExample:\n```text\n.-A---M--. N\n\t / / \\ /\n\tI B R\n\t \\ / /\n\t \\ / /\n\t `---X--'\n```\n\nExample:\n```text\n---1----2----4----7\n\t\\\t \\\n\t 3----5----6----8---\n```\n\nExample:\n```text\nupdate refs/heads/branch1 ${NEW_branch1_HASH} ${OLD_branch1_HASH}\nupdate refs/heads/branch2 ${NEW_branch2_HASH} ${OLD_branch2_HASH}\nupdate refs/heads/branch3 ${NEW_branch3_HASH} ${OLD_branch3_HASH}\n```\n\nExample:\n```text\n$ git replay --onto=target origin/main..mybranch\n```\n\nExample:\n```text\n$ git replay --ref-action=print --onto=target origin/main..mybranch\nupdate refs/heads/mybranch ${NEW_mybranch_HASH} ${OLD_mybranch_HASH}\n```\n\nExample:\n```text\n$ git replay --advance=target origin/main..mybranch\n```\n\nExample:\n```text\n$ git replay --contained --onto=origin/main origin/main..tipbranch\n```\n\nExample:\n```text\n$ git replay --onto=origin/main ^base branch1 branch2 branch3\n```\n\nExample:\n```text\n$ git replay --revert=main topic~2..topic\n```\n\nExample:\n```text\n$ git replay --onto=112233 --ref=refs/heads/mybranch aabbcc..ddeeff\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.739Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":178,"estimatedTokens":643}}513{"id":"doc-git_git_diff_pairs_documentation-bcdd64fe","source":"documentation","title":"Git - git-diff-pairs Documentation","url":"http://git-scm.com/docs/git-diff-pairs","text":"Example:\n```text\ngitdiff-pairs-z\n```\n\nExample:\n```text\ngit diff-tree -z -r -M $a $b |\ngit diff-pairs -z\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.741Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":104,"estimatedTokens":390}}514{"id":"doc-git_git_get_tar_commit_id_documentation-2582373b","source":"documentation","title":"Git - git-get-tar-commit-id Documentation","url":"http://git-scm.com/docs/git-get-tar-commit-id","text":"Example:\n```text\ngit get-tar-commit-id\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.741Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":14}}515{"id":"doc-git_git_pack_redundant_documentation-d02fa273","source":"documentation","title":"Git - git-pack-redundant Documentation","url":"http://git-scm.com/docs/git-pack-redundant","text":"Example:\n```text\ngit pack-redundant [--verbose] [--alt-odb] (--all | <pack-filename>…)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.742Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":27}}516{"id":"doc-git_git_diff_files_documentation-228ca6e2","source":"documentation","title":"Git - git-diff-files Documentation","url":"http://git-scm.com/docs/git-diff-files","text":"Example:\n```text\ngit diff-files [-q] [-0 | -1 | -2 | -3 | -c | --cc] [<common-diff-options>] [<path>…]\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.744Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":144,"estimatedTokens":659}}517{"id":"doc-git_git_last_modified_documentation-e727fba6","source":"documentation","title":"Git - git-last-modified Documentation","url":"http://git-scm.com/docs/git-last-modified","text":"Example:\n```text\ngitlast-modified--recursive--show-trees--max-depth=-z--\n```\n\nExample:\n```text\n<oid> TAB <path> LF\n```\n\nExample:\n```text\n<oid> TAB <path> NUL\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":16,"estimatedTokens":44}}518{"id":"doc-git_git_unpack_file_documentation-b2fad200","source":"documentation","title":"Git - git-unpack-file Documentation","url":"http://git-scm.com/docs/git-unpack-file","text":"Example:\n```text\ngit unpack-file <blob>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":15}}519{"id":"doc-git_git_name_rev_documentation-6464c5e6","source":"documentation","title":"Git - git-name-rev Documentation","url":"http://git-scm.com/docs/git-name-rev","text":"Example:\n```text\ngit name-rev [--tags] [--refs=<pattern>]\n\t ( --all | --annotate-stdin | <commit-ish>… )\n```\n\nExample:\n```text\n$ cat sample.txt\n\nAn abbreviated revision 2ae0a9cb82 will not be substituted.\nThe full name after substitution is 2ae0a9cb8298185a94e5998086f380a355dd8907,\nwhile its tree object is 70d105cc79e63b81cfdcb08a15297c23e60b07ad\n\n$ git name-rev --annotate-stdin <sample.txt\n\nAn abbreviated revision 2ae0a9cb82 will not be substituted.\nThe full name after substitution is 2ae0a9cb8298185a94e5998086f380a355dd8907 (master),\nwhile its tree object is 70d105cc79e63b81cfdcb08a15297c23e60b07ad\n\n$ git name-rev --name-only --annotate-stdin <sample.txt\n\nAn abbreviated revision 2ae0a9cb82 will not be substituted.\nThe full name after substitution is master,\nwhile its tree object is 70d105cc79e63b81cfdcb08a15297c23e60b07ad\n```\n\nExample:\n```text\n% git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a\n33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940\n```\n\nExample:\n```text\n% git log | git name-rev --annotate-stdin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.745Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":39,"estimatedTokens":265}}520{"id":"doc-git_git_format_rev_documentation-e3a68e4f","source":"documentation","title":"Git - git-format-rev Documentation","url":"http://git-scm.com/docs/git-format-rev","text":"Example:\n```text\nEXPERIMENTAL!gitformat-rev--stdin-mode=--format=--no-notes=-z--no-null-output--no-null-input\n```\n\nExample:\n```text\nDid we not fix this in \"<subject>\"?\n```\n\nExample:\n```text\n$ git last-modified -- README.md Makefile\n7798034171030be0909c56377a4e0e10e6d2df93\tMakefile\nc50fbb2dd225e7e82abba4380423ae105089f4d7\tREADME.md\n```\n\nExample:\n```text\n$ git last-modified -- README.md Makefile |\n git format-rev --stdin-mode=text --format=%an\nJunio C Hamano\tMakefile\nTodd Zullinger\tREADME.md\n```\n\nExample:\n```text\nFix off-by-one error\n\nFix off-by-one error introduced in\ne83c5163316f89bfbde7d9ab23ca2e25604af290.\n\nWe thought we fixed this in 5569bf9bbedd63a00780fc5c110e0cfab3aa97b9 but\nthat only covered 1/3 of the faulty cases.\n```\n\nExample:\n```text\n$ git config set hook.reference-commits.event commit-msg\n$ git config set hook.reference-commits.command reference-commits\n$ cat $(which reference-commits)\n#/bin/sh\n\nmsg=\"$1\"\nrewritten=$(mktemp)\ngit format-rev --stdin-mode=text --format=reference <\"$msg\" |\n par >\"$rewritten\"\nmv \"$rewritten\" \"$msg\"\n```\n\nExample:\n```text\nFix off-by-one error\n\nFix off-by-one error introduced in e83c5163316 (Implement better memory\nallocator, 2005-04-07).\n\nWe thought we fixed this in 5569bf9bbed (Fix memory allocator,\n2005-06-22) but that only covered 1/3 of the faulty cases.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.746Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":62,"estimatedTokens":335}}521{"id":"doc-git_git_ls_remote_documentation-adc4b835","source":"documentation","title":"Git - git-ls-remote Documentation","url":"http://git-scm.com/docs/git-ls-remote","text":"Example:\n```text\ngit ls-remote [--branches] [--tags] [--refs] [--upload-pack=<exec>]\n\t [-q | --quiet] [--exit-code] [--get-url] [--sort=<key>]\n\t [--symref] [<repository> [<patterns>…]]\n```\n\nExample:\n```text\n<oid> TAB <ref> LF\n```\n\nExample:\n```text\n$ git ls-remote\n27d43aaaf50ef0ae014b88bba294f93658016a2e\tHEAD\n950264636c68591989456e3ba0a5442f93152c1a\trefs/heads/main\nd9ab777d41f92a8c1684c91cfb02053d7dd1046b\trefs/heads/next\nd4ca2e3147b409459955613c152220f4db848ee1\trefs/tags/v2.40.0\n73876f4861cd3d187a4682290ab75c9dccadbc56\trefs/tags/v2.40.0^{}\n```\n\nExample:\n```text\n$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc\n5fe978a5381f1fbad26a80e682ddd2a401966740\trefs/heads/master\nc781a84b5204fb294c9ccc79f8b3baceeb32c061\trefs/heads/seen\n```\n\nExample:\n```text\n$ git ls-remote --tags http://www.kernel.org/pub/scm/git/git.git v\\*\n485a869c64a68cc5795dd99689797c5900f4716d\trefs/tags/v2.39.2\ncbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6\trefs/tags/v2.39.2^{}\nd4ca2e3147b409459955613c152220f4db848ee1\trefs/tags/v2.40.0\n73876f4861cd3d187a4682290ab75c9dccadbc56\trefs/tags/v2.40.0^{}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.746Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":39,"estimatedTokens":280}}522{"id":"doc-git_git_diff_tree_documentation-3f44e835","source":"documentation","title":"Git - git-diff-tree Documentation","url":"http://git-scm.com/docs/git-diff-tree","text":"Example:\n```text\ngit diff-tree [--stdin] [-m] [-s] [-v] [--no-commit-id] [--pretty]\n\t [-t] [-r] [-c | --cc] [--combined-all-paths] [--root] [--merge-base]\n\t [<common-diff-options>] <tree-ish> [<tree-ish>] [<path>…]\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\n<hash> <title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n_\n <title-line>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author-date>\nCommit: <committer>\nCommitDate: <committer-date>\n_\n <title-line>\n\n <full-commit-message>_\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author-date>\nSubject: [PATCH] <title-line>\n_\n<full-commit-message>_\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n%(decorate:prefix=,suffix=,tag=,separator= )\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.750Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":234,"estimatedTokens":1003}}523{"id":"doc-git_git_var_documentation-d5d54fa1","source":"documentation","title":"Git - git-var Documentation","url":"http://git-scm.com/docs/git-var","text":"Example:\n```text\ngitvar-l\n```\n\nExample:\n```text\n$ git var GIT_AUTHOR_IDENT\nEric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.751Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":37}}524{"id":"doc-git_git_show_index_documentation-438ea0b6","source":"documentation","title":"Git - git-show-index Documentation","url":"http://git-scm.com/docs/git-show-index","text":"Example:\n```text\ngit show-index [--object-format=<hash-algorithm>] < <pack-idx-file>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.751Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":26}}525{"id":"doc-git_git_fetch_pack_documentation-8460c830","source":"documentation","title":"Git - git-fetch-pack Documentation","url":"http://git-scm.com/docs/git-fetch-pack","text":"Example:\n```text\ngit fetch-pack [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]\n\t[--upload-pack=<git-upload-pack>]\n\t[--depth=<n>] [--no-progress]\n\t[-v] <repository> [<refs>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.751Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":9,"estimatedTokens":51}}526{"id":"doc-git_git_repo_documentation-a0affe1a","source":"documentation","title":"Git - git-repo Documentation","url":"http://git-scm.com/docs/git-repo","text":"Example:\n```text\ngitrepoinfo--format=linesnul-z--allgitrepoinfo--keys--format=linesnul-zgitrepostructure--format=tablelinesnul-z\n```\n\nExample:\n```text\ngit repo info references.format\n```\n\nExample:\n```text\ngit repo info --format=nul layout.bare layout.shallow\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.752Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":16,"estimatedTokens":69}}527{"id":"doc-git_git_http_backend_documentation-1efbdd6e","source":"documentation","title":"Git - git-http-backend Documentation","url":"http://git-scm.com/docs/git-http-backend","text":"Example:\n```text\ngit http-backend\n```\n\nExample:\n```text\nSetEnv GIT_PROJECT_ROOT /var/www/git\nSetEnv GIT_HTTP_EXPORT_ALL\nScriptAlias /git/ /usr/libexec/git-core/git-http-backend/\n\n# This is not strictly necessary using Apache and a modern version of\n# git-http-backend, as the webserver will pass along the header in the\n# environment as HTTP_GIT_PROTOCOL, and http-backend will copy that into\n# GIT_PROTOCOL. But you may need this line (or something similar if you\n# are using a different webserver), or if you want to support older Git\n# versions that did not do that copying.\n#\n# Having the webserver set up GIT_PROTOCOL is perfectly fine even with\n# modern versions (and will take precedence over HTTP_GIT_PROTOCOL,\n# which means it can be used to override the client's request).\nSetEnvIf Git-Protocol \".*\" GIT_PROTOCOL=$0\n```\n\nExample:\n```text\nRewriteCond %{QUERY_STRING} service=git-receive-pack [OR]\nRewriteCond %{REQUEST_URI} /git-receive-pack$\nRewriteRule ^/git/ - [E=AUTHREQUIRED:yes]\n\n<LocationMatch \"^/git/\">\n\tOrder Deny,Allow\n\tDeny from env=AUTHREQUIRED\n\n\tAuthType Basic\n\tAuthName \"Git Access\"\n\tRequire group committers\n\tSatisfy Any\n\t...\n</LocationMatch>\n```\n\nExample:\n```text\n<LocationMatch \"^/git/.*/git-receive-pack$\">\n\tAuthType Basic\n\tAuthName \"Git Access\"\n\tRequire group committers\n\t...\n</LocationMatch>\n```\n\nExample:\n```text\n<Location /git/private>\n\tAuthType Basic\n\tAuthName \"Private Git Access\"\n\tRequire group committers\n\t...\n</Location>\n```\n\nExample:\n```text\nScriptAliasMatch \\\n\t\"(?x)^/git/(.*/(HEAD | \\\n\t\t\tinfo/refs | \\\n\t\t\tobjects/(info/[^/]+ | \\\n\t\t\t\t [0-9a-f]{2}/[0-9a-f]{38} | \\\n\t\t\t\t pack/pack-[0-9a-f]{40}\\.(pack|idx)) | \\\n\t\t\tgit-(upload|receive)-pack))$\" \\\n\t/usr/libexec/git-core/git-http-backend/$1\n\nScriptAlias /git/ /var/www/cgi-bin/gitweb.cgi/\n```\n\nExample:\n```text\nSetEnvIf Request_URI \"^/git/([^/]*)\" GIT_NAMESPACE=$1\nScriptAliasMatch ^/git/[^/]*(.*) /usr/libexec/git-core/git-http-backend/storage.git$1\n```\n\nExample:\n```text\nSetEnv GIT_PROJECT_ROOT /var/www/git\n\nAliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/www/git/$1\nAliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/www/git/$1\nScriptAlias /git/ /usr/libexec/git-core/git-http-backend/\n```\n\nExample:\n```text\nSetEnv GIT_PROJECT_ROOT /var/www/git\n\nAliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/www/git/$1\nAliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/www/git/$1\nScriptAliasMatch \\\n\t\"(?x)^/git/(.*/(HEAD | \\\n\t\t\tinfo/refs | \\\n\t\t\tobjects/info/[^/]+ | \\\n\t\t\tgit-(upload|receive)-pack))$\" \\\n\t/usr/libexec/git-core/git-http-backend/$1\nScriptAlias /git/ /var/www/cgi-bin/gitweb.cgi/\n```\n\nExample:\n```text\nalias.url += ( \"/git\" => \"/usr/lib/git-core/git-http-backend\" )\n$HTTP[\"url\"] =~ \"^/git\" {\n\tcgi.assign = (\"\" => \"\")\n\tsetenv.add-environment = (\n\t\t\"GIT_PROJECT_ROOT\" => \"/var/www/git\",\n\t\t\"GIT_HTTP_EXPORT_ALL\" => \"\"\n\t)\n}\n```\n\nExample:\n```text\n$HTTP[\"querystring\"] =~ \"service=git-receive-pack\" {\n\tinclude \"git-auth.conf\"\n}\n$HTTP[\"url\"] =~ \"^/git/.*/git-receive-pack$\" {\n\tinclude \"git-auth.conf\"\n}\n```\n\nExample:\n```text\nauth.require = (\n\t\"/\" => (\n\t\t\"method\" => \"basic\",\n\t\t\"realm\" => \"Git Access\",\n\t\t\"require\" => \"valid-user\"\n\t )\n)\n# ...and set up auth.backend here\n```\n\nExample:\n```text\n$HTTP[\"url\"] =~ \"^/git/private\" {\n\tinclude \"git-auth.conf\"\n}\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.753Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":148,"estimatedTokens":835}}528{"id":"doc-git_git_send_pack_documentation-97a9da9e","source":"documentation","title":"Git - git-send-pack Documentation","url":"http://git-scm.com/docs/git-send-pack","text":"Example:\n```text\ngit send-pack [--mirror] [--dry-run] [--force]\n\t\t[--receive-pack=<git-receive-pack>]\n\t\t[--verbose] [--thin] [--atomic]\n\t\t[--[no-]signed | --signed=(true|false|if-asked)]\n\t\t[<host>:]<directory> (--all | <ref>…)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.754Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":10,"estimatedTokens":62}}529{"id":"doc-git_git_http_fetch_documentation-c9f40b1d","source":"documentation","title":"Git - git-http-fetch Documentation","url":"http://git-scm.com/docs/git-http-fetch","text":"Example:\n```text\ngit http-fetch [-c] [-t] [-a] [-d] [-v] [-w <filename>] [--recover] [--stdin | --packfile=<hash> | <commit>] <URL>\n```\n\nExample:\n```text\n<commit-id>['\\t'<filename-as-in--w>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.754Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":52}}530{"id":"doc-git_git_http_push_documentation-82f4b87a","source":"documentation","title":"Git - git-http-push Documentation","url":"http://git-scm.com/docs/git-http-push","text":"Example:\n```text\ngit http-push [--all] [--dry-run] [--force] [--verbose] <URL> <ref> [<ref>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.754Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":28}}531{"id":"doc-git_git_receive_pack_documentation-7f449e12","source":"documentation","title":"Git - git-receive-pack Documentation","url":"http://git-scm.com/docs/git-receive-pack","text":"Example:\n```text\ngit receive-pack <git-dir>\n```\n\nExample:\n```text\nsha1-old SP sha1-new SP refname LF\n```\n\nExample:\n```text\n$GIT_DIR/hooks/update refname sha1-old sha1-new\n```\n\nExample:\n```text\n#!/bin/sh\n# mail out commit update information.\nwhile read oval nval ref\ndo\n\tif expr \"$oval\" : '0*$' >/dev/null\n\tthen\n\t\techo \"Created a new ref, with the following commits:\"\n\t\tgit rev-list --pretty \"$nval\"\n\telse\n\t\techo \"New commits:\"\n\t\tgit rev-list --pretty \"$nval\" \"^$oval\"\n\tfi |\n\tmail -s \"Changes to ref $ref\" commit-list@mydomain\ndone\n# log signed push certificate, if any\nif test -n \"${GIT_PUSH_CERT-}\" && test ${GIT_PUSH_CERT_STATUS} = G\nthen\n\t(\n\t\techo expected nonce is ${GIT_PUSH_NONCE}\n\t\tgit cat-file blob ${GIT_PUSH_CERT}\n\t) | mail -s \"push certificate from $GIT_PUSH_CERT_SIGNER\" push-log@mydomain\nfi\nexit 0\n```\n\nExample:\n```text\n#!/bin/sh\nexec git update-server-info\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.755Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":49,"estimatedTokens":222}}532{"id":"doc-git_git_credential_cache_documentation-22592f96","source":"documentation","title":"Git - git-credential-cache Documentation","url":"http://git-scm.com/docs/git-credential-cache","text":"Example:\n```text\ngit config credential.helper 'cache [<options>]'\n```\n\nExample:\n```text\ngit credential-cache exit\n```\n\nExample:\n```text\n$ git config credential.helper cache\n$ git push http://example.com/repo.git\nUsername: <type your username>\nPassword: <type your password>\n\n[work for 5 more minutes]\n$ git push http://example.com/repo.git\n[your credentials are used automatically]\n```\n\nExample:\n```text\n$ git config credential.helper 'cache --timeout=3600'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.755Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":28,"estimatedTokens":119}}533{"id":"doc-git_git_fmt_merge_msg_documentation-6ddad51f","source":"documentation","title":"Git - git-fmt-merge-msg Documentation","url":"http://git-scm.com/docs/git-fmt-merge-msg","text":"Example:\n```text\ngit fmt-merge-msg [-m <message>] [--into-name <branch>] [--log[=<n>] | --no-log]\ngit fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] -F <file>\n```\n\nExample:\n```text\n$ git fetch origin master\n$ git fmt-merge-msg --log <$GIT_DIR/FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.756Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":13,"estimatedTokens":70}}534{"id":"doc-git_git_shell_documentation-11b0a231","source":"documentation","title":"Git - git-shell Documentation","url":"http://git-scm.com/docs/git-shell","text":"Example:\n```text\n@localhost:/path/to/repo.git@localhost\n```\n\nExample:\n```text\n$ chsh -s /usr/bin/git-shell\n$ mkdir $HOME/git-shell-commands\n$ cat >$HOME/git-shell-commands/no-interactive-login <<\\EOF\n#!/bin/sh\nprintf '%s\\n' \"Hi $USER! You've successfully authenticated, but I do not\"\nprintf '%s\\n' \"provide interactive shell access.\"\nexit 128\nEOF\n$ chmod +x $HOME/git-shell-commands/no-interactive-login\n```\n\nExample:\n```text\n$ cat >$HOME/git-shell-commands/cvs <<\\EOF\nif ! test $# = 1 && test \"$1\" = \"server\"\nthen\n\techo >&2 \"git-cvsserver only handles \\\"server\\\"\"\n\texit 1\nfi\nexec git cvsserver server\nEOF\n$ chmod +x $HOME/git-shell-commands/cvs\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.756Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":32,"estimatedTokens":166}}535{"id":"doc-git_git_check_mailmap_documentation-4dc72c54","source":"documentation","title":"Git - git-check-mailmap Documentation","url":"http://git-scm.com/docs/git-check-mailmap","text":"Example:\n```text\ngit check-mailmap [<options>] <contact>…\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.756Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":19}}536{"id":"doc-git_git_mailsplit_documentation-5bcf9429","source":"documentation","title":"Git - git-mailsplit Documentation","url":"http://git-scm.com/docs/git-mailsplit","text":"Example:\n```text\ngit mailsplit [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd]\n\t\t-o<directory> [--] [(<mbox>|<Maildir>)…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.756Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":35}}537{"id":"doc-git_git_upload_archive_documentation-17d82122","source":"documentation","title":"Git - git-upload-archive Documentation","url":"http://git-scm.com/docs/git-upload-archive","text":"Example:\n```text\ngit upload-archive <repository>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.757Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}538{"id":"doc-git_git_credential_documentation-2768e108","source":"documentation","title":"Git - git-credential Documentation","url":"http://git-scm.com/docs/git-credential","text":"Example:\n```text\n'git credential' (fill|approve|reject|capability)\n```\n\nExample:\n```text\nprotocol=https\nhost=example.com\npath=foo.git\n```\n\nExample:\n```text\nprotocol=https\nhost=example.com\nusername=bob\npassword=secr3t\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.757Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":21,"estimatedTokens":59}}539{"id":"doc-git_git_credential_store_documentation-e81e7a80","source":"documentation","title":"Git - git-credential-store Documentation","url":"http://git-scm.com/docs/git-credential-store","text":"Example:\n```text\ngit config credential.helper 'store [<options>]'\n```\n\nExample:\n```text\n$ git config credential.helper store\n$ git push http://example.com/repo.git\nUsername: <type your username>\nPassword: <type your password>\n\n[several days later]\n$ git push http://example.com/repo.git\n[your credentials are used automatically]\n```\n\nExample:\n```text\nhttps://user:pass@example.com\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.758Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":23,"estimatedTokens":100}}540{"id":"doc-git_git_upload_pack_documentation-012b2b77","source":"documentation","title":"Git - git-upload-pack Documentation","url":"http://git-scm.com/docs/git-upload-pack","text":"Example:\n```text\ngit-upload-pack [--[no-]strict] [--timeout=<n>] [--stateless-rpc]\n\t\t [--advertise-refs] <directory>\n```\n\nExample:\n```text\ngit clone --no-local --upload-pack='sudo -u nobody git-upload-pack' ...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.758Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":12,"estimatedTokens":58}}541{"id":"doc-git_git_check_attr_documentation-6e222a50","source":"documentation","title":"Git - git-check-attr Documentation","url":"http://git-scm.com/docs/git-check-attr","text":"Example:\n```text\ngit check-attr [--source <tree-ish>] [-a | --all | <attr>…] [--] <pathname>…\ngit check-attr --stdin [-z] [--source <tree-ish>] [-a | --all | <attr>…]\n```\n\nExample:\n```text\n*.java diff=java -crlf myAttr\nNoMyAttr.java !myAttr\nREADME caveat=unspecified\n```\n\nExample:\n```text\n$ git check-attr diff org/example/MyClass.java\norg/example/MyClass.java: diff: java\n```\n\nExample:\n```text\n$ git check-attr crlf diff myAttr -- org/example/MyClass.java\norg/example/MyClass.java: crlf: unset\norg/example/MyClass.java: diff: java\norg/example/MyClass.java: myAttr: set\n```\n\nExample:\n```text\n$ git check-attr --all -- org/example/MyClass.java\norg/example/MyClass.java: diff: java\norg/example/MyClass.java: myAttr: set\n```\n\nExample:\n```text\n$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java\norg/example/MyClass.java: myAttr: set\norg/example/NoMyAttr.java: myAttr: unspecified\n```\n\nExample:\n```text\n$ git check-attr caveat README\nREADME: caveat: unspecified\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.758Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":48,"estimatedTokens":251}}542{"id":"doc-git_git_column_documentation-de714674","source":"documentation","title":"Git - git-column Documentation","url":"http://git-scm.com/docs/git-column","text":"Example:\n```text\ngit column [--command=<name>] [--[raw-]mode=<mode>] [--width=<width>]\n\t [--indent=<string>] [--nl=<string>] [--padding=<n>]\n```\n\nExample:\n```text\n$ seq 1 24 | git column --mode=column --padding=5\n1 4 7 10 13 16 19 22\n2 5 8 11 14 17 20 23\n3 6 9 12 15 18 21 24\n```\n\nExample:\n```text\n$ seq 1 21 | git column --mode=row --padding=5\n1 2 3 4 5 6 7\n8 9 10 11 12 13 14\n15 16 17 18 19 20 21\n```\n\nExample:\n```text\n$ git tag --list 'v2.4.*' --column=row,dense\nv2.4.0 v2.4.0-rc0 v2.4.0-rc1 v2.4.0-rc2 v2.4.0-rc3\nv2.4.1 v2.4.10 v2.4.11 v2.4.12 v2.4.2\nv2.4.3 v2.4.4 v2.4.5 v2.4.6 v2.4.7\nv2.4.8 v2.4.9\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":32,"estimatedTokens":208}}543{"id":"doc-git_git_mailinfo_documentation-78f13e60","source":"documentation","title":"Git - git-mailinfo Documentation","url":"http://git-scm.com/docs/git-mailinfo","text":"Example:\n```text\ngit mailinfo [-k|-b] [-u | --encoding=<encoding> | -n]\n\t [--[no-]scissors] [--quoted-cr=<action>]\n\t <msg> <patch>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":40}}544{"id":"doc-git_git_merge_one_file_documentation-f9c10b7a","source":"documentation","title":"Git - git-merge-one-file Documentation","url":"http://git-scm.com/docs/git-merge-one-file","text":"Example:\n```text\ngit merge-one-file\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.759Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":14}}545{"id":"doc-git_git_check_ref_format_documentation-e1229194","source":"documentation","title":"Git - git-check-ref-format Documentation","url":"http://git-scm.com/docs/git-check-ref-format","text":"Example:\n```text\ngit check-ref-format [--normalize]\n [--[no-]allow-onelevel] [--refspec-pattern]\n <refname>\ngit check-ref-format --branch <branchname-shorthand>\n```\n\nExample:\n```text\n$ git check-ref-format --branch @{-1}\n```\n\nExample:\n```text\n$ ref=$(git check-ref-format --normalize \"refs/heads/$newbranch\")||\n{ echo \"we do not like '$newbranch' as a branch name.\" >&2 ; exit 1 ; }\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.760Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":20,"estimatedTokens":103}}546{"id":"doc-git_gitmailmap_documentation-2f4c2f0d","source":"documentation","title":"Git - gitmailmap Documentation","url":"http://git-scm.com/docs/gitmailmap","text":"Example:\n```text\nProper Name <commit@email.xx>\n```\n\nExample:\n```text\n<proper@email.xx> <commit@email.xx>\n```\n\nExample:\n```text\nProper Name <proper@email.xx> <commit@email.xx>\n```\n\nExample:\n```text\nProper Name <proper@email.xx> Commit Name <commit@email.xx>\n```\n\nExample:\n```text\nProper Name <proper@email.xx> CoMmIt NaMe <CoMmIt@EmAiL.xX>\n```\n\nExample:\n```text\nJoe Developer <joe@example.com>\nJoe R. Developer <joe@example.com>\nJane Doe <jane@example.com>\nJane Doe <jane@laptop.(none)>\nJane D. <jane@desktop.(none)>\n```\n\nExample:\n```text\nJoe R. Developer <joe@example.com>\nJane Doe <jane@example.com>\nJane Doe <jane@desktop.(none)>\n```\n\nExample:\n```text\nJoe R. Developer <joe@example.com>\nJane Doe <jane@example.com> <jane@laptop.(none)>\nJane Doe <jane@example.com> <jane@desktop.(none)>\n```\n\nExample:\n```text\nJoe <bugs@example.com>\nJane <bugs@example.com>\n```\n\nExample:\n```text\nJoe R. Developer <joe@example.com>\nJane Doe <jane@example.com> <jane@laptop.(none)>\nJane Doe <jane@example.com> <jane@desktop.(none)>\nJoe R. Developer <joe@example.com> Joe <bugs@example.com>\nJane Doe <jane@example.com> Jane <bugs@example.com>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.760Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":64,"estimatedTokens":285}}547{"id":"doc-git_git_interpret_trailers_documentation-af57054b","source":"documentation","title":"Git - git-interpret-trailers Documentation","url":"http://git-scm.com/docs/git-interpret-trailers","text":"Example:\n```text\ngitinterpret-trailers--in-place--trim-empty--trailer=:--parse\n```\n\nExample:\n```text\nsubject\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit.\n\nSigned-off-by: Alice <alice@example.com>\nSigned-off-by: Bob <bob@example.com>\n```\n\nExample:\n```text\nkey: value\n```\n\nExample:\n```text\ntrailer.sign.key \"Signed-off-by: \"\n```\n\nExample:\n```text\nkey: This is a very long value, with spaces and\n newlines in it.\n```\n\nExample:\n```text\n$ git config trailer.sign.key \"Signed-off-by\"\n$ cat msg.txt\nsubject\n\nbody text\n$ git interpret-trailers --trailer 'sign: Alice <alice@example.com>' --trailer 'sign: Bob <bob@example.com>' <msg.txt\nsubject\n\nbody text\n\nSigned-off-by: Alice <alice@example.com>\nSigned-off-by: Bob <bob@example.com>\n```\n\nExample:\n```text\n$ cat msg.txt\nsubject\n\nbody text\n\nSigned-off-by: Bob <bob@example.com>\n$ git interpret-trailers --trailer 'Acked-by: Alice <alice@example.com>' --in-place msg.txt\n$ cat msg.txt\nsubject\n\nbody text\n\nSigned-off-by: Bob <bob@example.com>\nAcked-by: Alice <alice@example.com>\n```\n\nExample:\n```text\n$ git format-patch -1\n0001-foo.patch\n$ git interpret-trailers --trailer 'Cc: Alice <alice@example.com>' --trailer 'Reviewed-by: Bob <bob@example.com>' 0001-foo.patch >0001-bar.patch\n```\n\nExample:\n```text\n$ cat msg1.txt\nsubject\n\nbody text\n$ git config trailer.sign.key \"Signed-off-by: \"\n$ git config trailer.sign.ifmissing add\n$ git config trailer.sign.ifexists doNothing\n$ git config trailer.sign.cmd 'echo \"$(git config user.name) <$(git config user.email)>\"'\n$ git interpret-trailers --trailer sign <msg1.txt\nsubject\n\nbody text\n\nSigned-off-by: Bob <bob@example.com>\n$ cat msg2.txt\nsubject\n\nbody text\n\nSigned-off-by: Alice <alice@example.com>\n$ git interpret-trailers --trailer sign <msg2.txt\nsubject\n\nbody text\n\nSigned-off-by: Alice <alice@example.com>\n```\n\nExample:\n```text\n$ git config trailer.separators \":#\"\n$ git config trailer.fix.key \"Fix #\"\n$ echo \"subject\" | git interpret-trailers --trailer fix=42\nsubject\n\nFix #42\n```\n\nExample:\n```text\n$ cat ~/bin/glog-find-author\n#!/bin/sh\ntest -n \"$1\" && git log --author=\"$1\" --pretty=\"%an <%ae>\" -1 || true\n$ cat msg.txt\nsubject\n\nbody text\n$ git config trailer.help.key \"Helped-by: \"\n$ git config trailer.help.ifExists \"addIfDifferentNeighbor\"\n$ git config trailer.help.cmd \"~/bin/glog-find-author\"\n$ git interpret-trailers --trailer=\"help:Junio\" --trailer=\"help:Couder\" <msg.txt\nsubject\n\nbody text\n\nHelped-by: Junio C Hamano <gitster@pobox.com>\nHelped-by: Christian Couder <christian.couder@gmail.com>\n```\n\nExample:\n```text\n$ cat ~/bin/glog-grep\n#!/bin/sh\ntest -n \"$1\" && git log --grep \"$1\" --pretty=reference -1 || true\n$ cat msg.txt\nsubject\n\nbody text\n$ git config trailer.ref.key \"Reference-to: \"\n$ git config trailer.ref.ifExists \"replace\"\n$ git config trailer.ref.cmd \"~/bin/glog-grep\"\n$ git interpret-trailers --trailer=\"ref:Add copyright notices.\" <msg.txt\nsubject\n\nbody text\n\nReference-to: 8bc9a0c769 (Add copyright notices., 2005-04-07)\n```\n\nExample:\n```text\n$ cat msg.txt\nsubject\n\nbody text\n\nsee: HEAD~2\n$ cat ~/bin/glog-ref\n#!/bin/sh\ngit log -1 --oneline --format=\"%h (%s)\" --abbrev-commit --abbrev=14\n$ git config trailer.see.key \"See-also: \"\n$ git config trailer.see.ifExists \"replace\"\n$ git config trailer.see.ifMissing \"doNothing\"\n$ git config trailer.see.cmd \"glog-ref\"\n$ git interpret-trailers --trailer=see <msg.txt\nsubject\n\nbody text\n\nSee-also: fe3187489d69c4 (subject of related commit)\n```\n\nExample:\n```text\n$ cat temp.txt\n***subject***\n\n***message***\n\nFixes: Z\nCc: Z\nReviewed-by: Z\nSigned-off-by: Z\n$ sed -e 's/ Z$/ /' temp.txt > commit_template.txt\n$ git config commit.template commit_template.txt\n$ cat .git/hooks/commit-msg\n#!/bin/sh\ngit interpret-trailers --trim-empty --trailer \"git-version: \\$(git describe)\" \"\\$1\" > \"\\$1.new\"\nmv \"\\$1.new\" \"\\$1\"\n$ chmod +x .git/hooks/commit-msg\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.761Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":197,"estimatedTokens":958}}548{"id":"doc-git_git_hook_documentation-e87edc9b","source":"documentation","title":"Git - git-hook Documentation","url":"http://git-scm.com/docs/git-hook","text":"Example:\n```text\ngit hook run [--allow-unknown-hook-name] [--ignore-missing] [--to-stdin=<path>] [(-j|--jobs) <n>]\n\t<hook-name> [-- <hook-args>]\ngit hook list [--allow-unknown-hook-name] [-z] [--show-scope] <hook-name>\n```\n\nExample:\n```text\n[hook \"linter\"]\n event = pre-commit\n command = ~/bin/linter --cpp20\n```\n\nExample:\n```text\n[hook \"linter\"]\n event = pre-commit\n command = ~/bin/linter --cpp20\n[hook \"spellcheck\"]\n event = commit-msg\n command = ~/bin/spellchecker\n```\n\nExample:\n```text\n[hook \"linter\"]\n event = pre-commit\n event = pre-push\n command = ~/bin/linter --cpp20\n```\n\nExample:\n```text\n[hook \"linter\"]\n event = pre-commit\n command = ~/bin/linter --cpp20\n[hook \"no-leaks\"]\n event = pre-commit\n command = ~/bin/leak-detector\n```\n\nExample:\n```text\ngit config set hook.<some-name>.command <path-to-script>\ngit config set --append hook.<some-name>.event <hook-event>\n```\n\nExample:\n```text\ngit config set hook.my-script.command ~/my-script.sh\ngit config set --append hook.my-script.event pre-commit\n```\n\nExample:\n```text\n[hook \"setup-test-dashboard\"]\n event = mywrapper-start-tests\n command = ~/mywrapper/setup-dashboard.py --tap\n```\n\nExample:\n```text\ngit hook run --allow-unknown-hook-name mywrapper-start-tests \\\n # providing something to stdin\n --stdin some-tempfile-123 \\\n # execute multiple hooks in parallel\n --jobs 3 \\\n # plus some arguments of your own...\n -- \\\n --testname bar \\\n baz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":360}}549{"id":"doc-git_git_stripspace_documentation-173791ba","source":"documentation","title":"Git - git-stripspace Documentation","url":"http://git-scm.com/docs/git-stripspace","text":"Example:\n```text\ngit stripspace [-s | --strip-comments]\ngit stripspace [-c | --comment-lines]\n```\n\nExample:\n```text\n|A brief introduction $\n| $\n|$\n|A new paragraph$\n|# with a commented-out line $\n|explaining lots of stuff.$\n|$\n|# An old paragraph, also commented-out. $\n| $\n|The end.$\n| $\n```\n\nExample:\n```text\n|A brief introduction$\n|$\n|A new paragraph$\n|# with a commented-out line$\n|explaining lots of stuff.$\n|$\n|# An old paragraph, also commented-out.$\n|$\n|The end.$\n```\n\nExample:\n```text\n|A brief introduction$\n|$\n|A new paragraph$\n|explaining lots of stuff.$\n|$\n|The end.$\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":45,"estimatedTokens":153}}550{"id":"doc-git_git_sh_setup_documentation-af7bdceb","source":"documentation","title":"Git - git-sh-setup Documentation","url":"http://git-scm.com/docs/git-sh-setup","text":"Example:\n```text\n. \"$(git --exec-path)/git-sh-setup\"\n```\n\nExample:\n```text\nrequire_clean_work_tree rebase \"Please commit or stash them.\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.762Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":39}}551{"id":"doc-git_git_url_parse_documentation-fe7cb398","source":"documentation","title":"Git - git-url-parse Documentation","url":"http://git-scm.com/docs/git-url-parse","text":"Example:\n```text\ngiturl-parse-c--\n```\n\nExample:\n```text\n$ git url-parse --component host https://example.com/user/repo\nexample.com\n```\n\nExample:\n```text\n$ git url-parse --component path https://example.com/user/repo\n/user/repo\n$ git url-parse --component path example.com:~user/repo\n~user/repo\n$ git url-parse --component path example.com:user/repo\n/user/repo\n```\n\nExample:\n```text\n$ git url-parse https://example.com/user/repo example.com:~user/repo\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.763Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":27,"estimatedTokens":117}}552{"id":"doc-git_gitformat_commit_graph_documentation-7794983a","source":"documentation","title":"Git - gitformat-commit-graph Documentation","url":"http://git-scm.com/docs/gitformat-commit-graph","text":"Example:\n```text\n$GIT_DIR/objects/info/commit-graph\n$GIT_DIR/objects/info/commit-graphs/*\n```\n\nExample:\n```text\n4-byte signature:\n The signature is: {'C', 'G', 'P', 'H'}\n```\n\nExample:\n```text\n1-byte version number:\n Currently, the only valid version is 1.\n```\n\nExample:\n```text\n1-byte Hash Version\n We infer the hash length (H) from this value:\n1 => SHA-1\n2 => SHA-256\n If the hash type does not match the repository's hash algorithm, the\n commit-graph file should be ignored with a warning presented to the\n user.\n```\n\nExample:\n```text\n1-byte number (C) of \"chunks\"\n```\n\nExample:\n```text\n1-byte number (B) of base commit-graphs\n We infer the length (H*B) of the Base Graphs chunk\n from this value.\n```\n\nExample:\n```text\n(C + 1) * 12 bytes listing the table of contents for the chunks:\n First 4 bytes describe the chunk id. Value 0 is a terminating label.\n Other 8 bytes provide the byte-offset in current file for chunk to\n start. (Chunks are ordered contiguously in the file, so you can infer\n the length using the next chunk position if necessary.) Each chunk\n ID appears at most once.\n```\n\nExample:\n```text\nThe CHUNK LOOKUP matches the table of contents from\nthe chunk-based file format, see gitformat-chunk[5]\n```\n\nExample:\n```text\nThe remaining data in the body is described one chunk at a time, and\nthese chunks may be given in any order. Chunks are required unless\notherwise specified.\n```\n\nExample:\n```text\nThe ith entry, F[i], stores the number of OIDs with first\nbyte at most i. Thus F[255] stores the total\nnumber of commits (N).\n```\n\nExample:\n```text\nThe OIDs for all commits in the graph, sorted in ascending order.\n```\n\nExample:\n```text\nThis list of 4-byte values store the second through nth parents for\nall octopus merges. The second parent value in the commit data stores\nan array position within this list along with the most-significant bit\non. Starting at that array position, iterate through this list of commit\npositions for the parents until reaching a value with the most-significant\nbit on. The other bits correspond to the position of the last parent.\n```\n\nExample:\n```text\nThis list of H-byte hashes describe a set of B commit-graph files that\nform a commit-graph chain. The graph position for the ith commit in this\nfile's OID Lookup chunk is equal to i plus the number of commits in all\nbase graphs. If B is non-zero, this chunk must exist.\n```\n\nExample:\n```text\nH-byte HASH-checksum of all of the above.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.763Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":100,"estimatedTokens":624}}553{"id":"doc-git_gitdiffcore_documentation-639950c7","source":"documentation","title":"Git - gitdiffcore Documentation","url":"http://git-scm.com/docs/gitdiffcore","text":"Example:\n```text\ngit diff *\n```\n\nExample:\n```text\n:100644 100644 bcd1234... 0123456... M junkfile\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 bcd1234... 0123456... M file0\n```\n\nExample:\n```text\n:100644 000000 bcd1234... 0000000... D file0\n:000000 100644 0000000... 0123456... A file0\n```\n\nExample:\n```text\n:100644 000000 0123456... 0000000... D fileX\n:000000 100644 0000000... 0123456... A file0\n```\n\nExample:\n```text\n:100644 100644 0123456... 0123456... R100 fileX file0\n```\n\nExample:\n```text\n:100644 100644 0123456... 1234567... M fileY\n:000000 100644 0000000... bcd3456... A file0\n```\n\nExample:\n```text\n:100644 100644 0123456... 1234567... M fileY\n:100644 100644 0123456... bcd3456... C100 fileY file0\n```\n\nExample:\n```text\nREADME\nMakefile\nDocumentation\n*.h\n*.c\nt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.765Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":63,"estimatedTokens":260}}554{"id":"doc-git_git_sh_i18n_documentation-6b892b61","source":"documentation","title":"Git - git-sh-i18n Documentation","url":"http://git-scm.com/docs/git-sh-i18n","text":"Example:\n```text\n. \"$(git --exec-path)/git-sh-i18n\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.765Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":18}}555{"id":"doc-git_git_patch_id_documentation-49795036","source":"documentation","title":"Git - git-patch-id Documentation","url":"http://git-scm.com/docs/git-patch-id","text":"Example:\n```text\ngitpatch-id--stable--unstable--verbatim\n```\n\nExample:\n```text\n#!/bin/sh\n\nupstream=\"$1\"\nbranch=\"$2\"\ntest -z \"$branch\" && branch=HEAD\nlimit=\"$3\"\nif test -n \"$limit\"\nthen\n tail_opts=\"$limit\"..\"$upstream\"\nelse\n since=$(git log --format=%aI \"$upstream\"..\"$branch\" | tail -1)\n tail_opts=--since=\"$since\"' '\"$upstream\"\nfi\nfor_branch=$(mktemp)\nfor_upstream=$(mktemp)\n\ngit rev-list --no-merges \"$upstream\"..\"$branch\" |\n git diff-tree --patch --stdin |\n git patch-id --stable | sort >\"$for_branch\"\ngit rev-list --no-merges $tail_opts |\n git diff-tree --patch --stdin |\n git patch-id --stable | sort >\"$for_upstream\"\njoin -a1 \"$for_branch\" \"$for_upstream\" | cut -d' ' -f2,3\nrm \"$for_branch\"\nrm \"$for_upstream\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.765Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":35,"estimatedTokens":189}}556{"id":"doc-git_gittutorial_2_documentation-0a4a1fde","source":"documentation","title":"Git - gittutorial-2 Documentation","url":"http://git-scm.com/docs/gittutorial-2","text":"Example:\n```text\ngit *\n```\n\nExample:\n```text\n$ mkdir test-project\n$ cd test-project\n$ git init\nInitialized empty Git repository in .git/\n$ echo 'hello world' > file.txt\n$ git add .\n$ git commit -a -m \"initial commit\"\n[master (root-commit) 54196cc] initial commit\n 1 file changed, 1 insertion(+)\n create mode 100644 file.txt\n$ echo 'hello world!' >file.txt\n$ git commit -a -m \"add emphasis\"\n[master c4d59f3] add emphasis\n 1 file changed, 1 insertion(+), 1 deletion(-)\n```\n\nExample:\n```text\n$ git cat-file -t 54196cc2\ncommit\n$ git cat-file commit 54196cc2\ntree 92b8b694ffb1675e5975148e1121810081dbdffe\nauthor J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\ncommitter J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n\ninitial commit\n```\n\nExample:\n```text\n$ git ls-tree 92b8b694\n100644 blob 3b18e512dba79e4c8300dd08aeb37f8e728b8dad file.txt\n```\n\nExample:\n```text\n$ git cat-file -t 3b18e512\nblob\n```\n\nExample:\n```text\n$ git cat-file blob 3b18e512\nhello world\n```\n\nExample:\n```text\n$ find .git/objects/\n.git/objects/\n.git/objects/pack\n.git/objects/info\n.git/objects/3b\n.git/objects/3b/18e512dba79e4c8300dd08aeb37f8e728b8dad\n.git/objects/92\n.git/objects/92/b8b694ffb1675e5975148e1121810081dbdffe\n.git/objects/54\n.git/objects/54/196cc2703dc165cbd373a65a4dcf22d50ae7f7\n.git/objects/a0\n.git/objects/a0/423896973644771497bdc03eb99d5281615b51\n.git/objects/d0\n.git/objects/d0/492b368b66bdabf2ac1fd8c92b39d3db916e59\n.git/objects/c4\n.git/objects/c4/d59f390b9cfd4318117afde11d601c1085f241\n```\n\nExample:\n```text\n$ cat .git/HEAD\nref: refs/heads/master\n```\n\nExample:\n```text\n$ cat .git/refs/heads/master\nc4d59f390b9cfd4318117afde11d601c1085f241\n$ git cat-file -t c4d59f39\ncommit\n$ git cat-file commit c4d59f39\ntree d0492b368b66bdabf2ac1fd8c92b39d3db916e59\nparent 54196cc2703dc165cbd373a65a4dcf22d50ae7f7\nauthor J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\ncommitter J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\n\nadd emphasis\n```\n\nExample:\n```text\n$ git ls-tree d0492b36\n100644 blob a0423896973644771497bdc03eb99d5281615b51 file.txt\n$ git cat-file blob a0423896\nhello world!\n```\n\nExample:\n```text\n$ git cat-file commit 54196cc2\ntree 92b8b694ffb1675e5975148e1121810081dbdffe\nauthor J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\ncommitter J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n\ninitial commit\n```\n\nExample:\n```text\n$ echo \"hello world, again\" >>file.txt\n```\n\nExample:\n```text\n$ git diff\n--- a/file.txt\n+++ b/file.txt\n@@ -1 +1,2 @@\n hello world!\n+hello world, again\n$ git add file.txt\n$ git diff\n```\n\nExample:\n```text\n$ git diff HEAD\ndiff --git a/file.txt b/file.txt\nindex a042389..513feba 100644\n--- a/file.txt\n+++ b/file.txt\n@@ -1 +1,2 @@\n hello world!\n+hello world, again\n```\n\nExample:\n```text\n$ git ls-files --stage\n100644 513feba2e53ebbd2532419ded848ba19de88ba00 0 file.txt\n$ git cat-file -t 513feba2\nblob\n$ git cat-file blob 513feba2\nhello world!\nhello world, again\n```\n\nExample:\n```text\n$ echo 'again?' >>file.txt\n$ git diff\nindex 513feba..ba3da7b 100644\n--- a/file.txt\n+++ b/file.txt\n@@ -1,2 +1,3 @@\n hello world!\n hello world, again\n+again?\n```\n\nExample:\n```text\n$ git diff HEAD\ndiff --git a/file.txt b/file.txt\nindex a042389..ba3da7b 100644\n--- a/file.txt\n+++ b/file.txt\n@@ -1 +1,3 @@\n hello world!\n+hello world, again\n+again?\n$ git diff --cached\ndiff --git a/file.txt b/file.txt\nindex a042389..513feba 100644\n--- a/file.txt\n+++ b/file.txt\n@@ -1 +1,2 @@\n hello world!\n+hello world, again\n```\n\nExample:\n```text\n$ git commit -m \"repeat\"\n$ git diff HEAD\ndiff --git a/file.txt b/file.txt\nindex 513feba..ba3da7b 100644\n--- a/file.txt\n+++ b/file.txt\n@@ -1,2 +1,3 @@\n hello world!\n hello world, again\n+again?\n```\n\nExample:\n```text\n$ echo \"goodbye, world\" >closing.txt\n$ git add closing.txt\n```\n\nExample:\n```text\n$ git ls-files --stage\n100644 8b9743b20d4b15be3955fc8d5cd2b09cd2336138 0 closing.txt\n100644 513feba2e53ebbd2532419ded848ba19de88ba00 0 file.txt\n```\n\nExample:\n```text\n$ git cat-file blob 8b9743b2\ngoodbye, world\n```\n\nExample:\n```text\n$ git status\nOn branch master\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\n\tnew file: closing.txt\n\nChanges not staged for commit:\n (use \"git add <file>...\" to update what will be committed)\n (use \"git restore <file>...\" to discard changes in working directory)\n\n\tmodified: file.txt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.766Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":236,"estimatedTokens":1099}}557{"id":"doc-git_gitcredentials_documentation-23e03e01","source":"documentation","title":"Git - gitcredentials Documentation","url":"http://git-scm.com/docs/gitcredentials","text":"Example:\n```text\ngit config credential.https://example.com.username myusername\ngit config credential.helper \"$helper $options\"\n```\n\nExample:\n```text\n[credential \"https://example.com\"]\n\tusername = me\n```\n\nExample:\n```text\n$ git help -a | grep credential-\ncredential-foo\n```\n\nExample:\n```text\n$ git help credential-foo\n```\n\nExample:\n```text\n$ git config --global credential.helper foo\n```\n\nExample:\n```text\n[credential \"https://example.com\"]\n\tusername = foo\n```\n\nExample:\n```text\n[credential \"https://kernel.org\"]\n\tusername = foo\n```\n\nExample:\n```text\n# run \"git credential-foo\"\n[credential]\n\thelper = foo\n\n# same as above, but pass an argument to the helper\n[credential]\n\thelper = \"foo --bar=baz\"\n\n# the arguments are parsed by the shell, so use shell\n# quoting if necessary\n[credential]\n\thelper = \"foo --bar='whitespace arg'\"\n\n# store helper (discouraged) with custom location for the db file;\n# use `--file ~/.git-secret.txt`, rather than `--file=~/.git-secret.txt`,\n# to allow the shell to expand tilde to the home directory.\n[credential]\n\thelper = \"store --file ~/.git-secret.txt\"\n\n# you can also use an absolute path, which will not use the git wrapper\n[credential]\n\thelper = \"/path/to/my/helper --with-arguments\"\n\n# or you can specify your own shell snippet\n[credential \"https://example.com\"]\n\tusername = your_user\n\thelper = \"!f() { test \\\"$1\\\" = get && echo \\\"password=$(cat $HOME/.secret)\\\"; }; f\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.767Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":72,"estimatedTokens":356}}558{"id":"doc-git_gitformat_chunk_documentation-332c8a83","source":"documentation","title":"Git - gitformat-chunk Documentation","url":"http://git-scm.com/docs/gitformat-chunk","text":"Example:\n```text\n| Chunk ID (4 bytes) | Chunk Offset (8 bytes) |\n|--------------------|------------------------|\n| ID[0] | OFFSET[0] |\n| ... | ... |\n| ID[C] | OFFSET[C] |\n| 0x0000 | OFFSET[C+1] |\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.767Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":11,"estimatedTokens":81}}559{"id":"doc-git_gitcvs_migration_documentation-fc3096a7","source":"documentation","title":"Git - gitcvs-migration Documentation","url":"http://git-scm.com/docs/gitcvs-migration","text":"Example:\n```text\ngit cvsimport *\n```\n\nExample:\n```text\n$ git clone foo.com:/pub/repo.git/ my-project\n$ cd my-project\n```\n\nExample:\n```text\n$ git pull origin\n```\n\nExample:\n```text\n$ git push origin master\n```\n\nExample:\n```text\n$ git push origin\n$ git push foo.com:/pub/project.git/\n```\n\nExample:\n```text\n$ mkdir /pub/my-repo.git\n$ cd /pub/my-repo.git\n$ git --bare init --shared\n$ git --bare fetch /home/alice/myproject master:master\n```\n\nExample:\n```text\n$ chgrp -R $group /pub/my-repo.git\n```\n\nExample:\n```text\n$ git cvsimport -C <destination> <module>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":46,"estimatedTokens":143}}560{"id":"doc-git_gitprotocol_common_documentation-8c143d6c","source":"documentation","title":"Git - gitprotocol-common Documentation","url":"http://git-scm.com/docs/gitprotocol-common","text":"Example:\n```text\n<over-the-wire-protocol>\n```\n\nExample:\n```text\nHEXDIG = DIGIT / \"a\" / \"b\" / \"c\" / \"d\" / \"e\" / \"f\"\n```\n\nExample:\n```text\nNUL = %x00\n zero-id = 40*\"0\"\n obj-id = 40*(HEXDIGIT)\n\n refname = \"HEAD\"\n refname /= \"refs/\" <see discussion below>\n```\n\nExample:\n```text\npkt-line = data-pkt / flush-pkt\n\n data-pkt = pkt-len pkt-payload\n pkt-len = 4*(HEXDIG)\n pkt-payload = (pkt-len - 4)*(OCTET)\n\n flush-pkt = \"0000\"\n```\n\nExample:\n```text\npkt-line actual value\n ---------------------------------\n \"0006a\\n\" \"a\\n\"\n \"0005a\" \"a\"\n \"000bfoobar\\n\" \"foobar\\n\"\n \"0004\" \"\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":42,"estimatedTokens":170}}561{"id":"doc-git_gitformat_bundle_documentation-b0e18ce1","source":"documentation","title":"Git - gitformat-bundle Documentation","url":"http://git-scm.com/docs/gitformat-bundle","text":"Example:\n```text\n*.bundle\n*.bdl\n```\n\nExample:\n```text\nbundle = signature *prerequisite *reference LF pack\nsignature = \"# v2 git bundle\" LF\n\nprerequisite = \"-\" obj-id SP comment LF\ncomment = *CHAR\nreference = obj-id SP refname LF\n\npack = ... ; packfile\n```\n\nExample:\n```text\nbundle = signature *capability *prerequisite *reference LF pack\nsignature = \"# v3 git bundle\" LF\n\ncapability = \"@\" key [\"=\" value] LF\nprerequisite = \"-\" obj-id SP comment LF\ncomment = *CHAR\nreference = obj-id SP refname LF\nkey = 1*(ALPHA / DIGIT / \"-\")\nvalue = *(%01-09 / %0b-FF)\n\npack = ... ; packfile\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":34,"estimatedTokens":163}}562{"id":"doc-git_gitformat_signature_documentation-4102c7c7","source":"documentation","title":"Git - gitformat-signature Documentation","url":"http://git-scm.com/docs/gitformat-signature","text":"Example:\n```text\n<[tag|commit] object header(s)>\n<over-the-wire protocol>\n```\n\nExample:\n```text\nobject 04b871796dc0420f8e7561a895b52484b701d51a\ntype commit\ntag signedtag\ntagger C O Mitter <committer@example.com> 1465981006 +0000\n\nsigned tag\n\nsigned tag message body\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1\n\niQEcBAABAgAGBQJXYRhOAAoJEGEJLoW3InGJklkIAIcnhL7RwEb/+QeX9enkXhxn\nrxfdqrvWd1K80sl2TOt8Bg/NYwrUBw/RWJ+sg/hhHp4WtvE1HDGHlkEz3y11Lkuh\n8tSxS3qKTxXUGozyPGuE90sJfExhZlW4knIQ1wt/yWqM+33E9pN4hzPqLwyrdods\nq8FWEqPPUbSJXoMbRPw04S5jrLtZSsUWbRYjmJCHzlhSfFWW4eFd37uquIaLUBS0\nrkC3Jrx7420jkIpgFcTI2s60uhSQLzgcCwdA2ukSYIRnjg/zDkj8+3h/GaROJ72x\nlZyI6HWixKJkWw8lE9aAOD9TmTW9sFJwcVAzmAuFX2kUreDUKMZduGcoRYGpD7E=\n=jpXa\n-----END PGP SIGNATURE-----\n```\n\nExample:\n```text\ngpg: Signature made Wed Jun 15 10:56:46 2016 CEST using RSA key ID B7227189\ngpg: Good signature from \"Eris Discordia <discord@example.net>\"\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: D4BE 2231 1AD3 131E 5EDA 29A4 6109 2E85 B722 7189\nobject 04b871796dc0420f8e7561a895b52484b701d51a\ntype commit\ntag signedtag\ntagger C O Mitter <committer@example.com> 1465981006 +0000\n\nsigned tag\n\nsigned tag message body\n```\n\nExample:\n```text\ntree eebfed94e75e7760540d1485c740902590a00332\nparent 04b871796dc0420f8e7561a895b52484b701d51a\nauthor A U Thor <author@example.com> 1465981137 +0000\ncommitter C O Mitter <committer@example.com> 1465981137 +0000\ngpgsig -----BEGIN PGP SIGNATURE-----\n Version: GnuPG v1\n $\n iQEcBAABAgAGBQJXYRjRAAoJEGEJLoW3InGJ3IwIAIY4SA6GxY3BjL60YyvsJPh/\n HRCJwH+w7wt3Yc/9/bW2F+gF72kdHOOs2jfv+OZhq0q4OAN6fvVSczISY/82LpS7\n DVdMQj2/YcHDT4xrDNBnXnviDO9G7am/9OE77kEbXrp7QPxvhjkicHNwy2rEflAA\n zn075rtEERDHr8nRYiDh8eVrefSO7D+bdQ7gv+7GsYMsd2auJWi1dHOSfTr9HIF4\n HJhWXT9d2f8W+diRYXGh4X0wYiGg6na/soXc+vdtDYBzIxanRqjg8jCAeo1eOTk1\n EdTwhcTZlI0x5pvJ3H0+4hA2jtldVtmPM4OTB0cTrEWBad7XV6YgiyuII73Ve3I=\n =jKHM\n -----END PGP SIGNATURE-----\n\nsigned commit\n\nsigned commit message body\n```\n\nExample:\n```text\ngpg: Signature made Wed Jun 15 10:58:57 2016 CEST using RSA key ID B7227189\ngpg: Good signature from \"Eris Discordia <discord@example.net>\"\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: D4BE 2231 1AD3 131E 5EDA 29A4 6109 2E85 B722 7189\ntree eebfed94e75e7760540d1485c740902590a00332\nparent 04b871796dc0420f8e7561a895b52484b701d51a\nauthor A U Thor <author@example.com> 1465981137 +0000\ncommitter C O Mitter <committer@example.com> 1465981137 +0000\n\nsigned commit\n\nsigned commit message body\n```\n\nExample:\n```text\ntree c7b1cff039a93f3600a1d18b82d26688668c7dea\nparent c33429be94b5f2d3ee9b0adad223f877f174b05d\nparent 04b871796dc0420f8e7561a895b52484b701d51a\nauthor A U Thor <author@example.com> 1465982009 +0000\ncommitter C O Mitter <committer@example.com> 1465982009 +0000\nmergetag object 04b871796dc0420f8e7561a895b52484b701d51a\n type commit\n tag signedtag\n tagger C O Mitter <committer@example.com> 1465981006 +0000\n $\n signed tag\n $\n signed tag message body\n -----BEGIN PGP SIGNATURE-----\n Version: GnuPG v1\n $\n iQEcBAABAgAGBQJXYRhOAAoJEGEJLoW3InGJklkIAIcnhL7RwEb/+QeX9enkXhxn\n rxfdqrvWd1K80sl2TOt8Bg/NYwrUBw/RWJ+sg/hhHp4WtvE1HDGHlkEz3y11Lkuh\n 8tSxS3qKTxXUGozyPGuE90sJfExhZlW4knIQ1wt/yWqM+33E9pN4hzPqLwyrdods\n q8FWEqPPUbSJXoMbRPw04S5jrLtZSsUWbRYjmJCHzlhSfFWW4eFd37uquIaLUBS0\n rkC3Jrx7420jkIpgFcTI2s60uhSQLzgcCwdA2ukSYIRnjg/zDkj8+3h/GaROJ72x\n lZyI6HWixKJkWw8lE9aAOD9TmTW9sFJwcVAzmAuFX2kUreDUKMZduGcoRYGpD7E=\n =jpXa\n -----END PGP SIGNATURE-----\n\nMerge tag 'signedtag' into downstream\n\nsigned tag\n\nsigned tag message body\n\n# gpg: Signature made Wed Jun 15 08:56:46 2016 UTC using RSA key ID B7227189\n# gpg: Good signature from \"Eris Discordia <discord@example.net>\"\n# gpg: WARNING: This key is not certified with a trusted signature!\n# gpg: There is no indication that the signature belongs to the owner.\n# Primary key fingerprint: D4BE 2231 1AD3 131E 5EDA 29A4 6109 2E85 B722 7189\n```\n\nExample:\n```text\ncommit 9863f0c76ff78712b6800e199a46aa56afbcbd49\nmerged tag 'signedtag'\ngpg: Signature made Wed Jun 15 10:56:46 2016 CEST using RSA key ID B7227189\ngpg: Good signature from \"Eris Discordia <discord@example.net>\"\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: D4BE 2231 1AD3 131E 5EDA 29A4 6109 2E85 B722 7189\nMerge: c33429b 04b8717\nAuthor: A U Thor <author@example.com>\nDate: Wed Jun 15 09:13:29 2016 +0000\n\n Merge tag 'signedtag' into downstream\n\n signed tag\n\n signed tag message body\n\n # gpg: Signature made Wed Jun 15 08:56:46 2016 UTC using RSA key ID B7227189\n # gpg: Good signature from \"Eris Discordia <discord@example.net>\"\n # gpg: WARNING: This key is not certified with a trusted signature!\n # gpg: There is no indication that the signature belongs to the owner.\n # Primary key fingerprint: D4BE 2231 1AD3 131E 5EDA 29A4 6109 2E85 B722 7189\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.769Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":153,"estimatedTokens":1285}}563{"id":"doc-git_gitremote_helpers_documentation-902f46be","source":"documentation","title":"Git - gitremote-helpers Documentation","url":"http://git-scm.com/docs/gitremote-helpers","text":"Example:\n```text\ngit remote-<transport> <repository> [<URL>]\n```\n\nExample:\n```text\npush refs/heads/master:refs/heads/master\npush HEAD:refs/heads/branch\n\\n\npush +refs/heads/foo:refs/heads/bar\n\\n\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.770Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":15,"estimatedTokens":53}}564{"id":"doc-git_gitprotocol_capabilities_documentation-6df242bb","source":"documentation","title":"Git - gitprotocol-capabilities Documentation","url":"http://git-scm.com/docs/gitprotocol-capabilities","text":"Example:\n```text\n<over-the-wire-protocol>\n```\n\nExample:\n```text\n+---- u ---------------------- x\n / +----- y\n / /\n a -- b -- c -- d -- E -- F\n \\\n+--- Q -- R -- S\n```\n\nExample:\n```text\n1 - pack data\n2 - progress messages\n3 - fatal error message just before stream aborts\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.771Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":23,"estimatedTokens":82}}565{"id":"doc-git_gitformat_index_documentation-71899218","source":"documentation","title":"Git - gitformat-index Documentation","url":"http://git-scm.com/docs/gitformat-index","text":"Example:\n```text\n$GIT_DIR/index\n```\n\nExample:\n```text\nAll binary numbers are in network byte order.\nIn a repository using the traditional SHA-1, checksums and object IDs\n(object names) mentioned below are all computed using SHA-1. Similarly,\nin SHA-256 repositories, these values are computed using SHA-256.\nVersion 2 is described here unless stated otherwise.\n```\n\nExample:\n```text\n4-byte signature:\n The signature is { 'D', 'I', 'R', 'C' } (stands for \"dircache\")\n```\n\nExample:\n```text\n4-byte version number:\n The current supported versions are 2, 3 and 4.\n```\n\nExample:\n```text\n32-bit number of index entries.\n```\n\nExample:\n```text\nExtensions are identified by signature. Optional extensions can\nbe ignored if Git does not understand them.\n```\n\nExample:\n```text\n4-byte extension signature. If the first byte is 'A'..'Z' the\nextension is optional and can be ignored.\n```\n\nExample:\n```text\n32-bit size of the extension\n```\n\nExample:\n```text\nExtension data\n```\n\nExample:\n```text\nIndex entries are sorted in ascending order on the name field,\ninterpreted as a string of unsigned bytes (i.e. memcmp() order, no\nlocalization, no special casing of directory separator '/'). Entries\nwith the same name are sorted by their stage field.\n```\n\nExample:\n```text\nAn index entry typically represents a file. However, if sparse-checkout\nis enabled in cone mode (`core.sparseCheckoutCone` is enabled) and the\n`extensions.sparseIndex` extension is enabled, then the index may\ncontain entries for directories outside of the sparse-checkout definition.\nThese entries have mode `040000`, include the `SKIP_WORKTREE` bit, and\nthe path ends in a directory separator.\n```\n\nExample:\n```text\n32-bit ctime seconds, the last time a file's metadata changed\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit ctime nanosecond fractions\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit mtime seconds, the last time a file's data changed\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit mtime nanosecond fractions\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit dev\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit ino\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit mode, split into (high to low bits)\n```\n\nExample:\n```text\n16-bit unused, must be zero\n```\n\nExample:\n```text\n4-bit object type\n valid values in binary are 1000 (regular file), 1010 (symbolic link)\n and 1110 (gitlink)\n```\n\nExample:\n```text\n3-bit unused, must be zero\n```\n\nExample:\n```text\n9-bit unix permission. Only 0755 and 0644 are valid for regular files.\nSymbolic links and gitlinks have value 0 in this field.\n```\n\nExample:\n```text\n32-bit uid\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit gid\n this is stat(2) data\n```\n\nExample:\n```text\n32-bit file size\n This is the on-disk size from stat(2), truncated to 32-bit.\n```\n\nExample:\n```text\nObject name for the represented object\n```\n\nExample:\n```text\nA 16-bit 'flags' field split into (high to low bits)\n```\n\nExample:\n```text\n1-bit assume-valid flag\n```\n\nExample:\n```text\n1-bit extended flag (must be zero in version 2)\n```\n\nExample:\n```text\n2-bit stage (during merge)\n```\n\nExample:\n```text\n12-bit name length if the length is less than 0xFFF; otherwise 0xFFF\nis stored in this field.\n```\n\nExample:\n```text\n(Version 3 or later) A 16-bit field, only applicable if the\n\"extended flag\" above is 1, split into (high to low bits).\n```\n\nExample:\n```text\n1-bit reserved for future\n```\n\nExample:\n```text\n1-bit skip-worktree flag (used by sparse checkout)\n```\n\nExample:\n```text\n1-bit intent-to-add flag (used by \"git add -N\")\n```\n\nExample:\n```text\n13-bit unused, must be zero\n```\n\nExample:\n```text\nEntry path name (variable length) relative to top level directory\n (without leading slash). '/' is used as path separator. The special\n path components \".\", \"..\" and \".git\" (without quotes) are disallowed.\n Trailing slash is also disallowed.\n```\n\nExample:\n```text\nThe exact encoding is undefined, but the '.' and '/' characters\nare encoded in 7-bit ASCII and the encoding cannot contain a NUL\nbyte (iow, this is a UNIX pathname).\n```\n\nExample:\n```text\n(Version 4) In version 4, the entry path name is prefix-compressed\n relative to the path name for the previous entry (the very first\n entry is encoded as if the path name for the previous entry is an\n empty string). At the beginning of an entry, an integer N in the\n variable width encoding (the same encoding as the offset is encoded\n for OFS_DELTA pack entries; see gitformat-pack[5]) is stored, followed\n by a NUL-terminated string S. Removing N bytes from the end of the\n path name for the previous entry, and replacing it with the string S\n yields the path name for this entry.\n```\n\nExample:\n```text\n1-8 nul bytes as necessary to pad the entry to a multiple of eight bytes\nwhile keeping the name NUL-terminated.\n```\n\nExample:\n```text\n(Version 4) In version 4, the padding after the pathname does not\nexist.\n```\n\nExample:\n```text\nInterpretation of index entries in split index mode is completely\ndifferent. See below for details.\n```\n\nExample:\n```text\nSince the index does not record entries for directories, the cache\nentries cannot describe tree objects that already exist in the object\ndatabase for regions of the index that are unchanged from an existing\ncommit. The cache tree extension stores a recursive tree structure that\ndescribes the trees that already exist and completely match sections of\nthe cache entries. This speeds up tree object generation from the index\nfor a new commit by only computing the trees that are \"new\" to that\ncommit. It also assists when comparing the index to another tree, such\nas `HEAD^{tree}`, since sections of the index can be skipped when a tree\ncomparison demonstrates equality.\n```\n\nExample:\n```text\nThe recursive tree structure uses nodes that store a number of cache\nentries, a list of subnodes, and an object ID (OID). The OID references\nthe existing tree for that node, if it is known to exist. The subnodes\ncorrespond to subdirectories that themselves have cache tree nodes. The\nnumber of cache entries corresponds to the number of cache entries in\nthe index that describe paths within that tree's directory.\n```\n\nExample:\n```text\nThe extension tracks the full directory structure in the cache tree\nextension, but this is generally smaller than the full cache entry list.\n```\n\nExample:\n```text\nWhen a path is updated in index, Git invalidates all nodes of the\nrecursive cache tree corresponding to the parent directories of that\npath. We store these tree nodes as being \"invalid\" by using \"-1\" as the\nnumber of cache entries. Invalid nodes still store a span of index\nentries, allowing Git to focus its efforts when reconstructing a full\ncache tree.\n```\n\nExample:\n```text\nThe signature for this extension is { 'T', 'R', 'E', 'E' }.\n```\n\nExample:\n```text\nA series of entries fill the entire extension; each of which\nconsists of:\n```\n\nExample:\n```text\nAn entry can be in an invalidated state and is represented by having\na negative number in the entry_count field. In this case, there is no\nobject name and the next entry starts immediately after the newline.\nWhen writing an invalid entry, -1 should always be used as entry_count.\n```\n\nExample:\n```text\nThe entries are written out in the top-down, depth-first order. The\nfirst entry represents the root level of the repository, followed by the\nfirst subtree--let's call this A--of the root level (with its name\nrelative to the root level), followed by the first subtree of A (with\nits name relative to A), and so on. The specified number of subtrees\nindicates when the current level of the recursive stack is complete.\n```\n\nExample:\n```text\nA conflict is represented in the index as a set of higher stage entries.\nWhen a conflict is resolved (e.g. with \"git add path\"), these higher\nstage entries will be removed and a stage-0 entry with proper resolution\nis added.\n```\n\nExample:\n```text\nWhen these higher stage entries are removed, they are saved in the\nresolve undo extension, so that conflicts can be recreated (e.g. with\n\"git checkout -m\"), in case users want to redo a conflict resolution\nfrom scratch.\n```\n\nExample:\n```text\nThe signature for this extension is { 'R', 'E', 'U', 'C' }.\n```\n\nExample:\n```text\nIn split index mode, the majority of index entries could be stored\nin a separate file. This extension records the changes to be made on\ntop of that to produce the final index.\n```\n\nExample:\n```text\nThe signature for this extension is { 'l', 'i', 'n', 'k' }.\n```\n\nExample:\n```text\nThe extension consists of:\n```\n\nExample:\n```text\nThe remaining index entries after replaced ones will be added to the\nfinal index. These added entries are also sorted by entry name then\nstage.\n```\n\nExample:\n```text\nUntracked cache saves the untracked file list and necessary data to\nverify the cache. The signature for this extension is { 'U', 'N',\n'T', 'R' }.\n```\n\nExample:\n```text\nThe extension starts with\n```\n\nExample:\n```text\nThe file system monitor cache tracks files for which the core.fsmonitor\nhook has told us about changes. The signature for this extension is\n{ 'F', 'S', 'M', 'N' }.\n```\n\nExample:\n```text\nThe End of Index Entry (EOIE) is used to locate the end of the variable\nlength index entries and the beginning of the extensions. Code can take\nadvantage of this to quickly locate the index extensions without having\nto parse through all of the index entries.\n```\n\nExample:\n```text\nBecause it must be able to be loaded before the variable length cache\nentries and other index extensions, this extension must be written last.\nThe signature for this extension is { 'E', 'O', 'I', 'E' }.\n```\n\nExample:\n```text\nHash(\"TREE\" + <binary-representation-of-N> +\n\t\"REUC\" + <binary-representation-of-M>)\n```\n\nExample:\n```text\nThe Index Entry Offset Table (IEOT) is used to help address the CPU\ncost of loading the index by enabling multi-threading the process of\nconverting cache entries from the on-disk format to the in-memory format.\nThe signature for this extension is { 'I', 'E', 'O', 'T' }.\n```\n\nExample:\n```text\nWhen using sparse-checkout in cone mode, some entire directories within\nthe index can be summarized by pointing to a tree object instead of the\nentire expanded list of paths within that tree. An index containing such\nentries is a \"sparse index\". Index format versions 4 and less were not\nimplemented with such entries in mind. Thus, for these versions, an\nindex containing sparse directory entries will include this extension\nwith signature { 's', 'd', 'i', 'r' }. Like the split-index extension,\ntools should avoid interacting with a sparse index unless they understand\nthis extension.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.772Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":65,"totalLines":432,"estimatedTokens":2649}}566{"id":"doc-git_gitcore_tutorial_documentation-b19ae21e","source":"documentation","title":"Git - gitcore-tutorial Documentation","url":"http://git-scm.com/docs/gitcore-tutorial","text":"Example:\n```text\n$ mkdir git-tutorial\n$ cd git-tutorial\n$ git init\n```\n\nExample:\n```text\nInitialized empty Git repository in .git/\n```\n\nExample:\n```text\n$ echo \"Hello World\" >hello\n$ echo \"Silly example\" >example\n```\n\nExample:\n```text\n$ git update-index --add hello example\n```\n\nExample:\n```text\n$ ls .git/objects/??/*\n```\n\nExample:\n```text\n.git/objects/55/7db03de997c86a4a028e1ebd3a1ceb225be238\n.git/objects/f2/4c74a2e500f5ee1332c86b94199f52b1d1d962\n```\n\nExample:\n```text\n$ git cat-file -t 557db03de997c86a4a028e1ebd3a1ceb225be238\n```\n\nExample:\n```text\n$ git cat-file blob 557db03\n```\n\nExample:\n```text\n$ echo \"It's a new day for git\" >>hello\n```\n\nExample:\n```text\n$ git diff-files\n```\n\nExample:\n```text\n$ git diff-files -p\ndiff --git a/hello b/hello\nindex 557db03..263414f 100644\n--- a/hello\n+++ b/hello\n@@ -1 +1,2 @@\n Hello World\n+It's a new day for git\n```\n\nExample:\n```text\n$ git diff\ndiff --git a/hello b/hello\nindex 557db03..263414f 100644\n--- a/hello\n+++ b/hello\n@@ -1 +1,2 @@\n Hello World\n+It's a new day for git\n```\n\nExample:\n```text\n$ git write-tree\n```\n\nExample:\n```text\n8988da15d077d4829fc51d8544c097def6644dbb\n```\n\nExample:\n```text\n$ tree=$(git write-tree)\n$ commit=$(echo 'Initial commit' | git commit-tree $tree)\n$ git update-ref HEAD $commit\n```\n\nExample:\n```text\n$ git diff-index -p HEAD\n```\n\nExample:\n```text\n$ git diff HEAD\n```\n\nExample:\n```text\n$ git update-index hello\n```\n\nExample:\n```text\n$ git commit\n```\n\nExample:\n```text\n$ git diff-tree -p HEAD\n```\n\nExample:\n```text\ndiff-tree\n +----+\n | |\n | |\n V V\n +-----------+\n | Object DB |\n | Backing |\n | Store |\n +-----------+\n ^ ^\n | |\n | | diff-index --cached\n | |\ndiff-index | V\n | +-----------+\n | | Index |\n | | \"cache\" |\n | +-----------+\n | ^\n | |\n | | diff-files\n | |\n V V\n +-----------+\n | Working |\n | Directory |\n +-----------+\n```\n\nExample:\n```text\n$ git tag my-first-tag\n```\n\nExample:\n```text\n$ git diff my-first-tag\n```\n\nExample:\n```text\n$ git tag -s <tagname>\n```\n\nExample:\n```text\n$ rm -rf git-tutorial\n```\n\nExample:\n```text\n$ git update-index --refresh\n```\n\nExample:\n```text\n$ git read-tree --reset HEAD\n$ git update-index --refresh\n```\n\nExample:\n```text\n$ git reset\n```\n\nExample:\n```text\n$ mkdir my-git\n$ cd my-git\n$ rsync -rL rsync://rsync.kernel.org/pub/scm/git/git.git/ .git\n```\n\nExample:\n```text\n$ git read-tree HEAD\n```\n\nExample:\n```text\n$ git checkout-index -u -a\n```\n\nExample:\n```text\n$ git clone git://git.kernel.org/pub/scm/git/git.git/ my-git\n$ cd my-git\n$ git checkout\n```\n\nExample:\n```text\n$ git switch -c mybranch\n```\n\nExample:\n```text\n$ git switch -c mybranch earlier-commit\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ cat .git/HEAD\n```\n\nExample:\n```text\n$ git branch\n```\n\nExample:\n```text\n$ git branch <branchname> [startingpoint]\n```\n\nExample:\n```text\n$ git switch mybranch\n$ echo \"Work, work, work\" >>hello\n$ git commit -m \"Some work.\" -i hello\n```\n\nExample:\n```text\n$ echo \"Play, play, play\" >>hello\n$ echo \"Lots of fun\" >>example\n$ git commit -m \"Some fun.\" -i hello example\n```\n\nExample:\n```text\n$ gitk --all\n```\n\nExample:\n```text\n$ git merge -m \"Merge work in mybranch\" mybranch\n```\n\nExample:\n```text\nAuto-merging hello\n\tCONFLICT (content): Merge conflict in hello\n\tAutomatic merge failed; fix conflicts and then commit the result.\n```\n\nExample:\n```text\nHello World\nIt's a new day for git\nPlay, play, play\nWork, work, work\n```\n\nExample:\n```text\n$ git commit -i hello\n```\n\nExample:\n```text\n$ git show-branch --topo-order --more=1 master mybranch\n* [master] Merge work in mybranch\n ! [mybranch] Some work.\n--\n- [master] Merge work in mybranch\n*+ [mybranch] Some work.\n* [master^] Some fun.\n```\n\nExample:\n```text\n$ git switch mybranch\n$ git merge -m \"Merge upstream changes.\" master\n```\n\nExample:\n```text\nUpdating from ae3a2da... to a80b4aa....\nFast-forward (no commit created; -m option ignored)\n example | 1 +\n hello | 1 +\n 2 files changed, 2 insertions(+)\n```\n\nExample:\n```text\n$ git show-branch master mybranch\n! [master] Merge work in mybranch\n * [mybranch] Merge work in mybranch\n--\n-- [master] Merge work in mybranch\n```\n\nExample:\n```text\n$ git fetch <remote-repository>\n```\n\nExample:\n```text\n$ git pull <remote-repository>\n```\n\nExample:\n```text\n$ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/\n```\n\nExample:\n```text\n$ git show-branch --more=2 master mybranch\n! [master] Merge work in mybranch\n * [mybranch] Merge work in mybranch\n--\n-- [master] Merge work in mybranch\n+* [master^2] Some work.\n+* [master^] Some fun.\n```\n\nExample:\n```text\n$ git switch -C mybranch master^2\n$ git switch master\n$ git reset --hard master^\n```\n\nExample:\n```text\n$ git show-branch\n* [master] Some fun.\n ! [mybranch] Some work.\n--\n* [master] Some fun.\n + [mybranch] Some work.\n*+ [master^] Initial commit\n```\n\nExample:\n```text\n$ mb=$(git merge-base HEAD mybranch)\n```\n\nExample:\n```text\n$ git name-rev --name-only --tags $mb\nmy-first-tag\n```\n\nExample:\n```text\n$ git read-tree -m -u $mb HEAD mybranch\n```\n\nExample:\n```text\n$ git ls-files --stage\n100644 7f8b141b65fdcee47321e399a2598a235a032422 0\texample\n100644 557db03de997c86a4a028e1ebd3a1ceb225be238 1\thello\n100644 ba42a2a96e3027f3333e13ede4ccf4498c3ae942 2\thello\n100644 cc44c73eb783565da5831b4d820c962954019b69 3\thello\n```\n\nExample:\n```text\n$ git ls-files --unmerged\n100644 557db03de997c86a4a028e1ebd3a1ceb225be238 1\thello\n100644 ba42a2a96e3027f3333e13ede4ccf4498c3ae942 2\thello\n100644 cc44c73eb783565da5831b4d820c962954019b69 3\thello\n```\n\nExample:\n```text\n$ git merge-index git-merge-one-file hello\nAuto-merging hello\nERROR: Merge conflict in hello\nfatal: merge program failed\n```\n\nExample:\n```text\n$ mkdir my-git.git\n```\n\nExample:\n```text\n$ GIT_DIR=my-git.git git init\n```\n\nExample:\n```text\n$ git push <public-host>:/path/to/my-git.git master\n```\n\nExample:\n```text\n$ git push master.kernel.org:/pub/scm/git/git.git/\n```\n\nExample:\n```text\n$ git repack\n```\n\nExample:\n```text\n$ git prune-packed\n```\n\nExample:\n```text\n$ git show-branch\n! [commit-fix] Fix commit message normalization.\n ! [diff-fix] Fix rename detection.\n * [master] Release candidate #1\n---\n + [diff-fix] Fix rename detection.\n + [diff-fix~1] Better common substring algorithm.\n+ [commit-fix] Fix commit message normalization.\n * [master] Release candidate #1\n++* [diff-fix~2] Pretty-print messages.\n```\n\nExample:\n```text\n$ git merge -m \"Merge fix in diff-fix\" diff-fix\n$ git merge -m \"Merge fix in commit-fix\" commit-fix\n```\n\nExample:\n```text\n$ git show-branch\n! [commit-fix] Fix commit message normalization.\n ! [diff-fix] Fix rename detection.\n * [master] Merge fix in commit-fix\n---\n - [master] Merge fix in commit-fix\n+ * [commit-fix] Fix commit message normalization.\n - [master~1] Merge fix in diff-fix\n +* [diff-fix] Fix rename detection.\n +* [diff-fix~1] Better common substring algorithm.\n * [master~2] Release candidate #1\n++* [master~3] Pretty-print messages.\n```\n\nExample:\n```text\n$ git reset --hard master~2\n```\n\nExample:\n```text\n$ git merge commit-fix diff-fix\n$ git show-branch\n! [commit-fix] Fix commit message normalization.\n ! [diff-fix] Fix rename detection.\n * [master] Octopus merge of branches 'diff-fix' and 'commit-fix'\n---\n - [master] Octopus merge of branches 'diff-fix' and 'commit-fix'\n+ * [commit-fix] Fix commit message normalization.\n +* [diff-fix] Fix rename detection.\n +* [diff-fix~1] Better common substring algorithm.\n * [master~1] Release candidate #1\n++* [master~2] Pretty-print messages.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.777Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":72,"totalLines":494,"estimatedTokens":1937}}567{"id":"doc-git_gitprotocol_pack_documentation-75660ed5","source":"documentation","title":"Git - gitprotocol-pack Documentation","url":"http://git-scm.com/docs/gitprotocol-pack","text":"Example:\n```text\n<over-the-wire-protocol>\n```\n\nExample:\n```text\nerror-line = PKT-LINE(\"ERR\" SP explanation-text)\n```\n\nExample:\n```text\n0033git-upload-pack /project.git\\0host=myserver.com\\0\n```\n\nExample:\n```text\n003egit-upload-pack /project.git\\0host=myserver.com\\0\\0version=1\\0\n```\n\nExample:\n```text\ngit-proto-request = request-command SP pathname NUL\n [ host-parameter NUL ] [ NUL extra-parameters ]\nrequest-command = \"git-upload-pack\" / \"git-receive-pack\" /\n \"git-upload-archive\" ; case sensitive\npathname = *( %x01-ff ) ; exclude NUL\nhost-parameter = \"host=\" hostname [ \":\" port ]\nextra-parameters = 1*extra-parameter\nextra-parameter = 1*( %x01-ff ) NUL\n```\n\nExample:\n```text\n$ echo -e -n \\\n \"003agit-upload-pack /schacon/gitbook.git\\0host=example.com\\0\" |\n nc -v example.com 9418\n```\n\nExample:\n```text\n$ ssh git.example.com \"git-upload-pack '/project.git'\"\n```\n\nExample:\n```text\ngit clone ssh://user@example.com/project.git\n |\n v\nssh user@example.com \"git-upload-pack '/project.git'\"\n```\n\nExample:\n```text\ngit clone user@example.com:project.git\n |\n v\nssh user@example.com \"git-upload-pack 'project.git'\"\n```\n\nExample:\n```text\nssh://user@example.com/~alice/project.git,\n |\n v\nssh user@example.com \"git-upload-pack '~alice/project.git'\"\n```\n\nExample:\n```text\n$ echo -e -n \"0045git-upload-pack /schacon/gitbook.git\\0host=example.com\\0\\0version=1\\0\" |\n nc -v example.com 9418\n 000eversion 1\n 00887217a7c7e582c46cec22a130adf4b9d7d950fba0 HEAD\\0multi_ack thin-pack\nside-band side-band-64k ofs-delta shallow no-progress include-tag\n 00441d3fcd5ced445d1abc402225c0b8a1299641f497 refs/heads/integration\n 003f7217a7c7e582c46cec22a130adf4b9d7d950fba0 refs/heads/master\n 003cb88d2441cac0977faf98efc80305012112238d9d refs/tags/v0.9\n 003c525128480b96c89e6418b1e40909bf6c5b2d580f refs/tags/v1.0\n 003fe92df48743b7bc7d26bcaabfddde0a1e20cae47c refs/tags/v1.0^{}\n 0000\n```\n\nExample:\n```text\nadvertised-refs = *1(\"version 1\")\n\t\t (no-refs / list-of-refs)\n\t\t *shallow\n\t\t flush-pkt\n\n no-refs = PKT-LINE(zero-id SP \"capabilities^{}\"\n\t\t NUL capability-list)\n\n list-of-refs = first-ref *other-ref\n first-ref = PKT-LINE(obj-id SP refname\n\t\t NUL capability-list)\n\n other-ref = PKT-LINE(other-tip / other-peeled)\n other-tip = obj-id SP refname\n other-peeled = obj-id SP refname \"^{}\"\n\n shallow = PKT-LINE(\"shallow\" SP obj-id)\n\n capability-list = capability *(SP capability)\n capability = 1*(LC_ALPHA / DIGIT / \"-\" / \"_\")\n LC_ALPHA = %x61-7A\n```\n\nExample:\n```text\nupload-request = want-list\n\t\t *shallow-line\n\t\t *1depth-request\n\t\t [filter-request]\n\t\t flush-pkt\n\n want-list = first-want\n\t\t *additional-want\n\n shallow-line = PKT-LINE(\"shallow\" SP obj-id)\n\n depth-request = PKT-LINE(\"deepen\" SP depth) /\n\t\t PKT-LINE(\"deepen-since\" SP timestamp) /\n\t\t PKT-LINE(\"deepen-not\" SP ref)\n\n first-want = PKT-LINE(\"want\" SP obj-id SP capability-list)\n additional-want = PKT-LINE(\"want\" SP obj-id)\n\n depth = 1*DIGIT\n\n filter-request = PKT-LINE(\"filter\" SP filter-spec)\n```\n\nExample:\n```text\nshallow-update = *shallow-line\n\t\t *unshallow-line\n\t\t flush-pkt\n\n shallow-line = PKT-LINE(\"shallow\" SP obj-id)\n\n unshallow-line = PKT-LINE(\"unshallow\" SP obj-id)\n```\n\nExample:\n```text\nupload-haves = have-list\n\t\t compute-end\n\n have-list = *have-line\n have-line = PKT-LINE(\"have\" SP obj-id)\n compute-end = flush-pkt / PKT-LINE(\"done\")\n```\n\nExample:\n```text\nserver-response = *ack_multi ack / nak\n ack_multi = PKT-LINE(\"ACK\" SP obj-id ack_status)\n ack_status = \"continue\" / \"common\" / \"ready\"\n ack = PKT-LINE(\"ACK\" SP obj-id)\n nak = PKT-LINE(\"NAK\")\n```\n\nExample:\n```text\nC: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d multi_ack \\\n side-band-64k ofs-delta\\n\n C: 0032want 7d1665144a3a975c05f1f43902ddaf084e784dbe\\n\n C: 0032want 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a\\n\n C: 0032want 7e47fe2bd8d01d481f44d7af0531bd93d3b21c01\\n\n C: 0032want 74730d410fcb6603ace96f1dc55ea6196122532d\\n\n C: 0000\n C: 0009done\\n\n\n S: 0008NAK\\n\n S: [PACKFILE]\n```\n\nExample:\n```text\nC: 0054want 74730d410fcb6603ace96f1dc55ea6196122532d multi_ack \\\n side-band-64k ofs-delta\\n\n C: 0032want 7d1665144a3a975c05f1f43902ddaf084e784dbe\\n\n C: 0032want 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a\\n\n C: 0000\n C: 0032have 7e47fe2bd8d01d481f44d7af0531bd93d3b21c01\\n\n C: [30 more have lines]\n C: 0032have 74730d410fcb6603ace96f1dc55ea6196122532d\\n\n C: 0000\n\n S: 003aACK 7e47fe2bd8d01d481f44d7af0531bd93d3b21c01 continue\\n\n S: 003aACK 74730d410fcb6603ace96f1dc55ea6196122532d continue\\n\n S: 0008NAK\\n\n\n C: 0009done\\n\n\n S: 0031ACK 74730d410fcb6603ace96f1dc55ea6196122532d\\n\n S: [PACKFILE]\n```\n\nExample:\n```text\nupdate-requests = *shallow ( command-list | push-cert )\n\n shallow = PKT-LINE(\"shallow\" SP obj-id)\n\n command-list = PKT-LINE(command NUL capability-list)\n\t\t *PKT-LINE(command)\n\t\t flush-pkt\n\n command = create / delete / update\n create = zero-id SP new-id SP name\n delete = old-id SP zero-id SP name\n update = old-id SP new-id SP name\n\n old-id = obj-id\n new-id = obj-id\n\n push-cert = PKT-LINE(\"push-cert\" NUL capability-list LF)\n\t\t PKT-LINE(\"certificate version 0.1\" LF)\n\t\t PKT-LINE(\"pusher\" SP ident LF)\n\t\t PKT-LINE(\"pushee\" SP url LF)\n\t\t PKT-LINE(\"nonce\" SP nonce LF)\n\t\t *PKT-LINE(\"push-option\" SP push-option LF)\n\t\t PKT-LINE(LF)\n\t\t *PKT-LINE(command LF)\n\t\t *PKT-LINE(gpg-signature-lines LF)\n\t\t PKT-LINE(\"push-cert-end\" LF)\n\n push-option = 1*( VCHAR | SP )\n```\n\nExample:\n```text\npush-options = *PKT-LINE(push-option) flush-pkt\n```\n\nExample:\n```text\npackfile = \"PACK\" 28*(OCTET)\n```\n\nExample:\n```text\nreport-status = unpack-status\n\t\t 1*(command-status)\n\t\t flush-pkt\n\n unpack-status = PKT-LINE(\"unpack\" SP unpack-result)\n unpack-result = \"ok\" / error-msg\n\n command-status = command-ok / command-fail\n command-ok = PKT-LINE(\"ok\" SP refname)\n command-fail = PKT-LINE(\"ng\" SP refname SP error-msg)\n\n error-msg = 1*(OCTET) ; where not \"ok\"\n```\n\nExample:\n```text\nreport-status-v2 = unpack-status\n\t\t 1*(command-status-v2)\n\t\t flush-pkt\n\n unpack-status = PKT-LINE(\"unpack\" SP unpack-result)\n unpack-result = \"ok\" / error-msg\n\n command-status-v2 = command-ok-v2 / command-fail\n command-ok-v2 = command-ok\n\t\t *option-line\n\n command-ok = PKT-LINE(\"ok\" SP refname)\n command-fail = PKT-LINE(\"ng\" SP refname SP error-msg)\n\n error-msg = 1*(OCTET) ; where not \"ok\"\n\n option-line = *1(option-refname)\n\t\t *1(option-old-oid)\n\t\t *1(option-new-oid)\n\t\t *1(option-forced-update)\n\n option-refname = PKT-LINE(\"option\" SP \"refname\" SP refname)\n option-old-oid = PKT-LINE(\"option\" SP \"old-oid\" SP obj-id)\n option-new-oid = PKT-LINE(\"option\" SP \"new-oid\" SP obj-id)\n option-force = PKT-LINE(\"option\" SP \"forced-update\")\n```\n\nExample:\n```text\nS: 006274730d410fcb6603ace96f1dc55ea6196122532d refs/heads/local\\0report-status delete-refs ofs-delta\\n\n S: 003e7d1665144a3a975c05f1f43902ddaf084e784dbe refs/heads/debug\\n\n S: 003f74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/master\\n\n S: 003d74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/team\\n\n S: 0000\n\n C: 00677d1665144a3a975c05f1f43902ddaf084e784dbe 74730d410fcb6603ace96f1dc55ea6196122532d refs/heads/debug\\n\n C: 006874730d410fcb6603ace96f1dc55ea6196122532d 5a3f6be755bbb7deae50065988cbfa1ffa9ab68a refs/heads/master\\n\n C: 0000\n C: [PACKDATA]\n\n S: 000eunpack ok\\n\n S: 0018ok refs/heads/debug\\n\n S: 002ang refs/heads/master non-fast-forward\\n\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.779Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":306,"estimatedTokens":1996}}568{"id":"doc-git_gitprotocol_http_documentation-1937047a","source":"documentation","title":"Git - gitprotocol-http Documentation","url":"http://git-scm.com/docs/gitprotocol-http","text":"Example:\n```text\n<over-the-wire-protocol>\n```\n\nExample:\n```text\nhttp://<host>:<port>/<path>?<searchpart>\n```\n\nExample:\n```text\n$GIT_URL: http://example.com:8080/git/repo.git\nURL request: http://example.com:8080/git/repo.git/objects/d0/49f6c27a2244e12041955e262a404c7faba355\n```\n\nExample:\n```text\n$GIT_URL: http://example.com/daemon.cgi?svc=git&q=\nURL request: http://example.com/daemon.cgi?svc=git&q=/info/refs&service=git-receive-pack\n```\n\nExample:\n```text\n$GIT_URL: http://example.com/git/repo.git/path/submodule.git\nURL request: http://example.com/git/repo.git/path/submodule.git/info/refs\n```\n\nExample:\n```text\nC: GET $GIT_URL/info/refs HTTP/1.0\n```\n\nExample:\n```text\nS: 200 OK\nS:\nS: 95dcfa3633004da0049d3d0fa03f80589cbcaf31\trefs/heads/maint\nS: d049f6c27a2244e12041955e262a404c7faba355\trefs/heads/master\nS: 2cb58b79488a98d2721cea644875a8dd0026b115\trefs/tags/v1.0\nS: a3c2e2402b99163d1d59756e5f207ae21cccba4c\trefs/tags/v1.0^{}\n```\n\nExample:\n```text\ninfo_refs = *( ref_record )\nref_record = any_ref / peeled_ref\n```\n\nExample:\n```text\nany_ref = obj-id HTAB refname LF\npeeled_ref = obj-id HTAB refname LF\n obj-id HTAB refname \"^{}\" LF\n```\n\nExample:\n```text\nC: GET $GIT_URL/info/refs?service=git-upload-pack HTTP/1.0\n```\n\nExample:\n```text\nS: 200 OK\nS: Content-Type: application/x-git-upload-pack-advertisement\nS: Cache-Control: no-cache\nS:\nS: 001e# service=git-upload-pack\\n\nS: 0000\nS: 004895dcfa3633004da0049d3d0fa03f80589cbcaf31 refs/heads/maint\\0multi_ack\\n\nS: 003fd049f6c27a2244e12041955e262a404c7faba355 refs/heads/master\\n\nS: 003c2cb58b79488a98d2721cea644875a8dd0026b115 refs/tags/v1.0\\n\nS: 003fa3c2e2402b99163d1d59756e5f207ae21cccba4c refs/tags/v1.0^{}\\n\nS: 0000\n```\n\nExample:\n```text\nsmart_reply = PKT-LINE(\"# service=$servicename\" LF)\n \"0000\"\n *1(\"version 1\")\n ref_list\n \"0000\"\nref_list = empty_list / non_empty_list\n```\n\nExample:\n```text\nempty_list = PKT-LINE(zero-id SP \"capabilities^{}\" NUL cap-list LF)\n```\n\nExample:\n```text\nnon_empty_list = PKT-LINE(obj-id SP name NUL cap_list LF)\n *ref_record\n```\n\nExample:\n```text\ncap-list = capability *(SP capability)\ncapability = 1*(LC_ALPHA / DIGIT / \"-\" / \"_\")\nLC_ALPHA = %x61-7A\n```\n\nExample:\n```text\nref_record = any_ref / peeled_ref\nany_ref = PKT-LINE(obj-id SP name LF)\npeeled_ref = PKT-LINE(obj-id SP name LF)\n PKT-LINE(obj-id SP name \"^{}\" LF\n```\n\nExample:\n```text\nC: POST $GIT_URL/git-upload-pack HTTP/1.0\nC: Content-Type: application/x-git-upload-pack-request\nC:\nC: 0032want 0a53e9ddeaddad63ad106860237bbf53411d11a7\\n\nC: 0032have 441b40d833fdfa93eb2908e52742248faf0ee993\\n\nC: 0000\n```\n\nExample:\n```text\nS: 200 OK\nS: Content-Type: application/x-git-upload-pack-result\nS: Cache-Control: no-cache\nS:\nS: ....ACK %s, continue\nS: ....NAK\n```\n\nExample:\n```text\ncompute_request = want_list\n have_list\n request_end\nrequest_end = \"0000\" / \"done\"\n```\n\nExample:\n```text\nwant_list = PKT-LINE(want SP cap_list LF)\n *(want_pkt)\nwant_pkt = PKT-LINE(want LF)\nwant = \"want\" SP id\ncap_list = capability *(SP capability)\n```\n\nExample:\n```text\nhave_list = *PKT-LINE(\"have\" SP id LF)\n```\n\nExample:\n```text\nC: 0032want <want-#1>...............................\nC: 0032want <want-#2>...............................\n....\nC: 0032have <common-#1>.............................\nC: 0032have <common-#2>.............................\n....\nC: 0032have <have-#1>...............................\nC: 0032have <have-#2>...............................\n....\nC: 0000\n```\n\nExample:\n```text\nC: 0009done\n```\n\nExample:\n```text\nS: PACK...\n```\n\nExample:\n```text\nC: POST $GIT_URL/git-receive-pack HTTP/1.0\nC: Content-Type: application/x-git-receive-pack-request\nC:\nC: ....0a53e9ddeaddad63ad106860237bbf53411d11a7 441b40d833fdfa93eb2908e52742248faf0ee993 refs/heads/maint\\0 report-status\nC: 0000\nC: PACK....\n```\n\nExample:\n```text\nS: 200 OK\nS: Content-Type: application/x-git-receive-pack-result\nS: Cache-Control: no-cache\nS:\nS: ....\n```\n\nExample:\n```text\nupdate_request = command_list\n \"PACK\" <binary-data>\n```\n\nExample:\n```text\ncommand_list = PKT-LINE(command NUL cap_list LF)\n *(command_pkt)\ncommand_pkt = PKT-LINE(command LF)\ncap_list = *(SP capability) SP\n```\n\nExample:\n```text\ncommand = create / delete / update\ncreate = zero-id SP new_id SP name\ndelete = old_id SP zero-id SP name\nupdate = old_id SP new_id SP name\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.780Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":220,"estimatedTokens":1128}}569{"id":"doc-git_gitformat_pack_documentation-3f2f2956","source":"documentation","title":"Git - gitformat-pack Documentation","url":"http://git-scm.com/docs/gitformat-pack","text":"Example:\n```text\n$GIT_DIR/objects/pack/pack-.{pack,idx}\n$GIT_DIR/objects/pack/pack-.rev\n$GIT_DIR/objects/pack/pack-*.mtimes\n$GIT_DIR/objects/pack/multi-pack-index\n```\n\nExample:\n```text\n4-byte signature:\n The signature is: {'P', 'A', 'C', 'K'}\n```\n\nExample:\n```text\n4-byte version number (network byte order):\nGit currently accepts version number 2 or 3 but\n generates version 2 only.\n```\n\nExample:\n```text\n4-byte number of objects contained in the pack (network byte order)\n```\n\nExample:\n```text\nObservation: we cannot have more than 4G versions ;-) and\nmore than 4G objects in a pack.\n```\n\nExample:\n```text\n(undeltified representation)\nn-byte type and length (3-bit type, (n-1)*7+4-bit length)\ncompressed data\n```\n\nExample:\n```text\n(deltified representation)\n n-byte type and length (3-bit type, (n-1)*7+4-bit length)\n base object name if OBJ_REF_DELTA or a negative relative\noffset from the delta object's position in the pack if this\nis an OBJ_OFS_DELTA object\n compressed delta data\n```\n\nExample:\n```text\nObservation: the length of each object is encoded in a variable\nlength format and is not constrained to 32-bit or anything.\n```\n\nExample:\n```text\n+----------+---------+---------+---------+---------+-------+-------+-------+\n| 1xxxxxxx | offset1 | offset2 | offset3 | offset4 | size1 | size2 | size3 |\n+----------+---------+---------+---------+---------+-------+-------+-------+\n```\n\nExample:\n```text\n+----------+---------+---------+\n| 10000101 | offset1 | offset3 |\n+----------+---------+---------+\n```\n\nExample:\n```text\n+----------+============+\n| 0xxxxxxx | data |\n+----------+============+\n```\n\nExample:\n```text\n+----------+============\n| 00000000 |\n+----------+============\n```\n\nExample:\n```text\n4-byte network byte order integer, recording where the\nobject is stored in the packfile as the offset from the\nbeginning.\n```\n\nExample:\n```text\none object name of the appropriate size.\n```\n\nExample:\n```text\nA copy of the pack checksum at the end of the corresponding\npackfile.\n```\n\nExample:\n```text\nIndex checksum of all of the above.\n```\n\nExample:\n```text\n-- +--------------------------------+\nfanout\t | fanout[0] = 2 (for example) |-.\ntable\t +--------------------------------+ |\n\t | fanout[1] | |\n\t +--------------------------------+ |\n\t | fanout[2] | |\n\t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |\n\t | fanout[255] = total objects |---.\n\t-- +--------------------------------+ | |\nmain\t | offset | | |\nindex\t | object name 00XXXXXXXXXXXXXXXX | | |\ntable\t +--------------------------------+ | |\n\t | offset | | |\n\t | object name 00XXXXXXXXXXXXXXXX | | |\n\t +--------------------------------+<+ |\n\t .-| offset | |\n\t | | object name 01XXXXXXXXXXXXXXXX | |\n\t | +--------------------------------+ |\n\t | | offset | |\n\t | | object name 01XXXXXXXXXXXXXXXX | |\n\t | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |\n\t | | offset | |\n\t | | object name FFXXXXXXXXXXXXXXXX | |\n\t--| +--------------------------------+<--+\ntrailer\t | | packfile checksum |\n\t | +--------------------------------+\n\t | | idxfile checksum |\n\t | +--------------------------------+\n .-------.\n |\nPack file entry: <+\n```\n\nExample:\n```text\npacked object header:\n1-byte size extension bit (MSB)\n type (next 3 bit)\n size0 (lower 4-bit)\n n-byte sizeN (as long as MSB is set, each 7-bit)\n\tsize0..sizeN form 4+7+7+..+7 bit integer, size0\n\tis the least significant part, and sizeN is the\n\tmost significant part.\n packed object data:\n If it is not DELTA, then deflated bytes (the size above\n\tis the size before compression).\nIf it is REF_DELTA, then\n base object name (the size above is the\n\tsize of the delta data that follows).\n delta data, deflated.\nIf it is OFS_DELTA, then\n n-byte offset (see below) interpreted as a negative\n\toffset from the type-byte of the header of the\n\tofs-delta entry (the size above is the size of\n\tthe delta data that follows).\n delta data, deflated.\n```\n\nExample:\n```text\noffset encoding:\nn bytes with MSB set in all but the last one.\nThe offset is then the number constructed by\nconcatenating the lower 7 bit of each byte, and\nfor n >= 2 adding 2^7 + 2^14 + ... + 2^(7*(n-1))\nto the result.\n```\n\nExample:\n```text\nhave some other reorganizations. They have the format:\n```\n\nExample:\n```text\nchecksum of the corresponding packfile, and\n```\n\nExample:\n```text\na checksum of all of the above.\n```\n\nExample:\n```text\n4-byte signature:\n The signature is: {'M', 'I', 'D', 'X'}\n```\n\nExample:\n```text\n1-byte version number:\n Git writes the version specified by the \"midx.version\"\n configuration option, which defaults to 2. It recognizes\n both versions 1 and 2.\n```\n\nExample:\n```text\n1-byte Object Id Version\n We infer the length of object IDs (OIDs) from this value:\n\t1 => SHA-1\n\t2 => SHA-256\n If the hash type does not match the repository's hash algorithm,\n the multi-pack-index file should be ignored with a warning\n presented to the user.\n```\n\nExample:\n```text\n1-byte number of \"chunks\"\n```\n\nExample:\n```text\n1-byte number of base multi-pack-index files:\n This value is currently always zero.\n```\n\nExample:\n```text\n4-byte number of pack files\n```\n\nExample:\n```text\n(C + 1) * 12 bytes providing the chunk offsets:\n First 4 bytes describe chunk id. Value 0 is a terminating label.\n Other 8 bytes provide offset in current file for chunk to start.\n (Chunks are provided in file-order, so you can infer the length\n using the next chunk position if necessary.)\n```\n\nExample:\n```text\nThe CHUNK LOOKUP matches the table of contents from\nthe chunk-based file format, see gitformat-chunk[5].\n```\n\nExample:\n```text\nThe remaining data in the body is described one chunk at a time, and\nthese chunks may be given in any order. Chunks are required unless\notherwise specified.\n```\n\nExample:\n```text\nPackfile Names (ID: {'P', 'N', 'A', 'M'})\n Store the names of packfiles as a sequence of NUL-terminated\n strings. There is no extra padding between the filenames,\n and they are listed in lexicographic order. The chunk itself\n is padded at the end with between 0 and 3 NUL bytes to make the\n chunk size a multiple of 4 bytes. Version 1 MIDXs are required to\n list their packs in lexicographic order, but version 2 MIDXs may\n list their packs in any arbitrary order.\n```\n\nExample:\n```text\nBitmapped Packfiles (ID: {'B', 'T', 'M', 'P'})\n Stores a table of two 4-byte unsigned integers in network order.\n Each table entry corresponds to a single pack (in the order that\n they appear above in the `PNAM` chunk). The values for each table\n entry are as follows:\n - The first bit position (in pseudo-pack order, see below) to\n contain an object from that pack.\n - The number of bits whose objects are selected from that pack.\n```\n\nExample:\n```text\nOID Fanout (ID: {'O', 'I', 'D', 'F'})\n The ith entry, F[i], stores the number of OIDs with first\n byte at most i. Thus F[255] stores the total\n number of objects.\n```\n\nExample:\n```text\nOID Lookup (ID: {'O', 'I', 'D', 'L'})\n The OIDs for all objects in the MIDX are stored in lexicographic\n order in this chunk.\n```\n\nExample:\n```text\nObject Offsets (ID: {'O', 'O', 'F', 'F'})\n Stores two 4-byte values for every object.\n 1: The pack-int-id for the pack storing this object.\n 2: The offset within the pack.\n\tIf all offsets are less than 2^32, then the large offset chunk\n\twill not exist and offsets are stored as in IDX v1.\n\tIf there is at least one offset value larger than 2^32-1, then\n\tthe large offset chunk must exist, and offsets larger than\n\t2^31-1 must be stored in it instead. If the large offset chunk\n\texists and the 31st bit is on, then removing that bit reveals\n\tthe row in the large offsets containing the 8-byte offset of\n\tthis object.\n```\n\nExample:\n```text\n[Optional] Object Large Offsets (ID: {'L', 'O', 'F', 'F'})\n 8-byte offsets into large packfiles.\n```\n\nExample:\n```text\n[Optional] Bitmap pack order (ID: {'R', 'I', 'D', 'X'})\n A list of MIDX positions (one per object in the MIDX, num_objects in\n total, each a 4-byte unsigned integer in network byte order), sorted\n according to their relative bitmap/pseudo-pack positions.\n```\n\nExample:\n```text\nIndex checksum of the above contents.\n```\n\nExample:\n```text\n|a,0|a,1|...|a,9|b,0|b,1|...|b,14|c,0|c,1|...|c,19|\n```\n\nExample:\n```text\n[...] unreachable objects in a previous pack become loose, unpacked objects,\ninstead of being left in the old pack. [...] loose unreachable objects will be\npruned according to normal expiry rules with the next 'git gc' invocation.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.781Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":41,"totalLines":341,"estimatedTokens":2203}}570{"id":"doc-git_gitprotocol_v2_documentation-ccf05eaf","source":"documentation","title":"Git - gitprotocol-v2 Documentation","url":"http://git-scm.com/docs/gitprotocol-v2","text":"Example:\n```text\n<over-the-wire-protocol>\n```\n\nExample:\n```text\n003egit-upload-pack /project.git\\0host=myserver.com\\0\\0version=2\\0\n```\n\nExample:\n```text\nC: GET $GIT_URL/info/refs?service=git-upload-pack HTTP/1.0\nC: Git-Protocol: version=2\n```\n\nExample:\n```text\nS: 200 OK\nS: <Some headers>\nS: ...\nS:\nS: 000eversion 2\\n\nS: <capability-advertisement>\n```\n\nExample:\n```text\ncapability-advertisement = protocol-version\n capability-list\n flush-pkt\n```\n\nExample:\n```text\nprotocol-version = PKT-LINE(\"version 2\" LF)\ncapability-list = *capability\ncapability = PKT-LINE(key[=value] LF)\n```\n\nExample:\n```text\nkey = 1*(ALPHA | DIGIT | \"-_\")\nvalue = 1*(ALPHA | DIGIT | \" -_.,?\\/{}[]()<>!@#$%^&*+=:;\")\n```\n\nExample:\n```text\nrequest = empty-request | command-request\nempty-request = flush-pkt\ncommand-request = command\n capability-list\n delim-pkt\n command-args\n flush-pkt\ncommand = PKT-LINE(\"command=\" key LF)\ncommand-args = *command-specific-arg\n```\n\nExample:\n```text\ncommand-specific-args are packet line framed arguments defined by\neach individual command.\n```\n\nExample:\n```text\nsymrefs\nIn addition to the object pointed by it, show the underlying ref\npointed by it when showing a symbolic ref.\n peel\nShow peeled tags.\n ref-prefix <prefix>\nWhen specified, only references having a prefix matching one of\nthe provided prefixes are displayed. Multiple instances may be\ngiven, in which case references matching any prefix will be\nshown. Note that this is purely for optimization; a server MAY\nshow refs not matching the prefix if it chooses, and clients\nshould filter the result themselves.\n```\n\nExample:\n```text\nunborn\nThe server will send information about HEAD even if it is a symref\npointing to an unborn branch in the form \"unborn HEAD\nsymref-target:<target>\".\n```\n\nExample:\n```text\noutput = *ref\n flush-pkt\nobj-id-or-unborn = (obj-id | \"unborn\")\nref = PKT-LINE(obj-id-or-unborn SP refname *(SP ref-attribute) LF)\nref-attribute = (symref | peeled)\nsymref = \"symref-target:\" symref-target\npeeled = \"peeled:\" obj-id\n```\n\nExample:\n```text\nwant <oid>\nIndicates to the server an object which the client wants to\nretrieve. Wants can be anything and are not limited to\nadvertised objects.\n```\n\nExample:\n```text\nhave <oid>\nIndicates to the server an object which the client has locally.\nThis allows the server to make a packfile which only contains\nthe objects that the client needs. Multiple 'have' lines can be\nsupplied.\n```\n\nExample:\n```text\ndone\nIndicates to the server that negotiation should terminate (or\nnot even begin if performing a clone) and that the server should\nuse the information supplied in the request to construct the\npackfile.\n```\n\nExample:\n```text\nthin-pack\nRequest that a thin pack be sent, which is a pack with deltas\nwhich reference base objects not contained within the pack (but\nare known to exist at the receiving end). This can reduce the\nnetwork traffic significantly, but it requires the receiving end\nto know how to \"thicken\" these packs by adding the missing bases\nto the pack.\n```\n\nExample:\n```text\nno-progress\nRequest that progress information that would normally be sent on\nside-band channel 2, during the packfile transfer, should not be\nsent. However, the side-band channel 3 is still used for error\nresponses.\n```\n\nExample:\n```text\ninclude-tag\nRequest that annotated tags should be sent if the objects they\npoint to are being sent.\n```\n\nExample:\n```text\nofs-delta\nIndicate that the client understands PACKv2 with delta referring\nto its base by position in pack rather than by an oid. That is,\nthey can read OBJ_OFS_DELTA (aka type 6) in a packfile.\n```\n\nExample:\n```text\nshallow <oid>\nA client must notify the server of all commits for which it only\nhas shallow copies (meaning that it doesn't have the parents of\na commit) by supplying a 'shallow <oid>' line for each such\nobject so that the server is aware of the limitations of the\nclient's history. This is so that the server is aware that the\nclient may not have all objects reachable from such commits.\n```\n\nExample:\n```text\ndeepen <depth>\nRequests that the fetch/clone should be shallow having a commit\ndepth of <depth> relative to the remote side.\n```\n\nExample:\n```text\ndeepen-relative\nRequests that the semantics of the \"deepen\" command be changed\nto indicate that the depth requested is relative to the client's\ncurrent shallow boundary, instead of relative to the requested\ncommits.\n```\n\nExample:\n```text\ndeepen-since <timestamp>\nRequests that the shallow clone/fetch should be cut at a\nspecific time, instead of depth. Internally it's equivalent to\ndoing \"git rev-list --max-age=<timestamp>\". Cannot be used with\n\"deepen\".\n```\n\nExample:\n```text\ndeepen-not <rev>\nRequests that the shallow clone/fetch should be cut at a\nspecific revision specified by '<rev>', instead of a depth.\nInternally it's equivalent of doing \"git rev-list --not <rev>\".\nCannot be used with \"deepen\", but can be used with\n\"deepen-since\".\n```\n\nExample:\n```text\nfilter <filter-spec>\nRequest that various objects from the packfile be omitted\nusing one of several filtering techniques. These are intended\nfor use with partial clone and partial fetch operations. See\n`rev-list` for possible \"filter-spec\" values. When communicating\nwith other processes, senders SHOULD translate scaled integers\n(e.g. \"1k\") into a fully-expanded form (e.g. \"1024\") to aid\ninteroperability with older receivers that may not understand\nnewly-invented scaling suffixes. However, receivers SHOULD\naccept the following suffixes: 'k', 'm', and 'g' for 1024,\n1048576, and 1073741824, respectively.\n```\n\nExample:\n```text\nwant-ref <ref>\nIndicates to the server that the client wants to retrieve a\nparticular ref, where <ref> is the full name of a ref on the\nserver. It is a protocol error to send want-ref for the\nsame ref more than once.\n```\n\nExample:\n```text\nsideband-all\nInstruct the server to send the whole response multiplexed, not just\nthe packfile section. All non-flush and non-delim PKT-LINE in the\nresponse (not only in the packfile section) will then start with a byte\nindicating its sideband (1, 2, or 3), and the server may send \"0005\\2\"\n(a PKT-LINE of sideband 2 with no payload) as a keepalive packet.\n```\n\nExample:\n```text\npackfile-uris <comma-separated-list-of-protocols>\nIndicates to the server that the client is willing to receive\nURIs of any of the given protocols in place of objects in the\nsent packfile. Before performing the connectivity check, the\nclient should download from all given URIs. Currently, the\nprotocols supported are \"http\" and \"https\".\n```\n\nExample:\n```text\nwait-for-done\nIndicates to the server that it should never send \"ready\", but\nshould wait for the client to say \"done\" before sending the\npackfile.\n```\n\nExample:\n```text\noutput = acknowledgements flush-pkt |\n [acknowledgments delim-pkt] [shallow-info delim-pkt]\n [wanted-refs delim-pkt] [packfile-uris delim-pkt]\n packfile flush-pkt\n```\n\nExample:\n```text\nacknowledgments = PKT-LINE(\"acknowledgments\" LF)\n (nak | *ack)\n (ready)\nready = PKT-LINE(\"ready\" LF)\nnak = PKT-LINE(\"NAK\" LF)\nack = PKT-LINE(\"ACK\" SP obj-id LF)\n```\n\nExample:\n```text\nshallow-info = PKT-LINE(\"shallow-info\" LF)\n *PKT-LINE((shallow | unshallow) LF)\nshallow = \"shallow\" SP obj-id\nunshallow = \"unshallow\" SP obj-id\n```\n\nExample:\n```text\nwanted-refs = PKT-LINE(\"wanted-refs\" LF)\n*PKT-LINE(wanted-ref LF)\nwanted-ref = obj-id SP refname\n```\n\nExample:\n```text\npackfile-uris = PKT-LINE(\"packfile-uris\" LF) *packfile-uri\npackfile-uri = PKT-LINE(40*(HEXDIGIT) SP *%x20-ff LF)\n```\n\nExample:\n```text\npackfile = PKT-LINE(\"packfile\" LF)\n *PKT-LINE(%x01-03 *%x00-ff)\n```\n\nExample:\n```text\nacknowledgments section\n* If the client determines that it is finished with negotiations by\n sending a \"done\" line (thus requiring the server to send a packfile),\n the acknowledgments sections MUST be omitted from the server's\n response.\n```\n\nExample:\n```text\nshallow-info section\n* If the client has requested a shallow fetch/clone, a shallow\n client requests a fetch or the server is shallow then the\n server's response may include a shallow-info section. The\n shallow-info section will be included if (due to one of the\n above conditions) the server needs to inform the client of any\n shallow boundaries or adjustments to the clients already\n existing shallow boundaries.\n```\n\nExample:\n```text\nwanted-refs section\n* This section is only included if the client has requested a\n ref using a 'want-ref' line and if a packfile section is also\n included in the response.\n```\n\nExample:\n```text\npackfile-uris section\n* This section is only included if the client sent\n 'packfile-uris' and the server has at least one such URI to\n send.\n```\n\nExample:\n```text\npackfile section\n* This section is only included if the client has sent 'want'\n lines in its request and either requested that no more\n negotiation be done by sending 'done' or if the server has\n decided it has found a sufficient cut point to produce a\n packfile.\n```\n\nExample:\n```text\nThe stream code can be one of:\n1 - pack data\n2 - progress messages\n3 - fatal error message just before stream aborts\n```\n\nExample:\n```text\nsize\nRequests size information to be returned for each listed object id.\n```\n\nExample:\n```text\noid <oid>\nIndicates to the server an object which the client wants to obtain\ninformation for.\n```\n\nExample:\n```text\noutput = info flush-pkt\n```\n\nExample:\n```text\ninfo = PKT-LINE(attrs) LF)\n\t*PKT-LINE(obj-info LF)\n```\n\nExample:\n```text\nattrs = attr | attrs SP attrs\n```\n\nExample:\n```text\nattr = \"size\"\n```\n\nExample:\n```text\nobj-info = obj-id SP obj-size\n```\n\nExample:\n```text\npr-info = pr-fields | pr-info \";\" pr-fields\n```\n\nExample:\n```text\npr-fields = pr-field | pr-fields \",\" pr-field\n```\n\nExample:\n```text\npr-field = field-name \"=\" field-value\n```\n\nExample:\n```text\npr-names = pr-name | pr-names \";\" pr-name\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.784Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":52,"totalLines":419,"estimatedTokens":2458}}571{"id":"doc-git_git_diff_documentation-73436b69","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/sv","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M fil0\ncopy-edit :100644 100644 abcd123 1234567 C68 fil1 fil2\nrename-edit :100644 100644 abcd123 1234567 R86 fil1 fil3\ncreate :000000 100644 0000000 1234567 A fil4\ndelete :100644 000000 1234567 0000000 D fil5\nunmerged :000000 000000 0000000 0000000 U fil6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M-fil.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/fil1 b/fil2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined fil\n```\n\nExample:\n```text\ndiff --cc fil\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/fil\n+++ b/fil\n```\n\nExample:\n```text\n--- a/fil\n--- a/fil\n--- a/fil\n+++ b/fil\n```\n\nExample:\n```text\n@@@ <från-fil-omfång> <från-fil-omfång> <till-fil-omfånge> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff ärende master (1)\n$ git diff ärende..master (2)\n$ git diff ärende...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.787Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":812}}572{"id":"doc-git_git_diff_documentation-768525f8","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/fr","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nédition en place :100644 100644 bcd1234 0123456 M fichier0\ncopie édition :100644 100644 abcd123 1234567 C68 fichier1 fichier2\nédition renommage :100644 100644 abcd123 1234567 R86 fichier1 fichier3\ncréation :000000 100644 0000000 1234567 A fichier4\nsuppression :100644 000000 1234567 0000000 D fichier5\nnon fusionnné :000000 000000 0000000 0000000 U fichier6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M fichier.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/fichier1 b/fichier2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/fichier\n+++ b/fichier\n```\n\nExample:\n```text\n--- a/fichier\n--- a/fichier\n--- a/fichier\n+++ b/fichier\n```\n\nExample:\n```text\n@@@ <intervalle-de-fichier-source> <intervalle-de-fichier-source> <intervalle-de-fichier-cible> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff sujet master (1)\n$ git diff sujet..master (2)\n$ git diff sujet...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.791Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":843}}573{"id":"doc-git_git_diff_documentation-37d8e918","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.54.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.794Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}574{"id":"doc-git_git_diff_documentation-4dd6f23b","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/es","text":"Example:\n```text\ngit diff [<opciones>] [<confirmación>] [--] [<ruta>…]\ngit diff [<opciones>] --cached [--merge-base] [<confirmación>] [--] [<ruta>…]\ngit diff [<opciones>] [--merge-base] <confirmación> [< confirmación >…] < confirmación > [--] [<ruta>…]\ngit diff [<opciones>] < confirmación >…< confirmación > [--] [<ruta>…]\ngit diff [<opciones>] <blob> <blob>\ngit diff [<opciones>] --no-index [--] <ruta> <ruta> [<espcificación-de-ruta>…]\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M fichero0\ncopy-edit :100644 100644 abcd123 1234567 C68 fichero1 fichero2\nrename-edit :100644 100644 abcd123 1234567 R86 fichero1 fichero3\ncreate :000000 100644 0000000 1234567 A fichero4\ndelete :100644 000000 1234567 0000000 D fichero5\nunmerged :000000 000000 0000000 0000000 U fichero6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M fichero.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/fichero1 b/fichero2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined fichero\n```\n\nExample:\n```text\ndiff --cc fichero\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/fichero\n+++ b/fichero\n```\n\nExample:\n```text\n--- a/fichero\n--- a/fichero\n--- a/fichero\n+++ b/fichero\n```\n\nExample:\n```text\n@@@ <rango-desde-fichero> <rango-desde-fichero> <rango-hacia-fichero> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tLEEME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tLEEME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.798Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":184,"estimatedTokens":916}}575{"id":"doc-git_git_diff_documentation-4e38670b","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.55.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.802Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}576{"id":"doc-git_git_diff_documentation-32b05eab","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/ru","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nизменения :100644 100644 bcd1234 0123456 M файл0\nкопирование-правка :100644 100644 abcd123 1234567 C68 файл1 файл2\nпереимещение-правка :100644 100644 abcd123 1234567 R86 файл1 файл3\nсоздание :000000 100644 0000000 1234567 A файл4\nудаление :100644 000000 1234567 0000000 D файл5\nне-слитый :000000 000000 0000000 0000000 U файл6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M файл.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/файл1 b/файл2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined файл\n```\n\nExample:\n```text\ndiff --cc файл\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/файл\n+++ b/файл\n```\n\nExample:\n```text\n--- a/файл\n--- a/файл\n--- a/файл\n+++ b/файл\n```\n\nExample:\n```text\n@@@ <исходный-диапазон> <исходный-диапазон> <результирующий-диапазон> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":826}}577{"id":"doc-git_git_diff_documentation-3239b207","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.52.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}578{"id":"doc-git_git_diff_documentation-62be504f","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.43.1","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}579{"id":"doc-git_git_diff_documentation-a0603891","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.46.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.817Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}580{"id":"doc-git_git_diff_documentation-10626b01","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/zh_HANS-CN","text":"Example:\n```text\n'git diff' [<options>] [<commit>] [--] [<path>…]。\n'git diff' [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]。\n'git diff' [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\n'git diff' [<options>] <commit>…<commit> [--] [<path>…]。\n'git diff' [<options>] <blob> <blob\n'git diff' [<options>] --no-index [--] <path> <path>。\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":184,"estimatedTokens":877}}581{"id":"doc-git_git_diff_documentation-b3abea9f","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.45.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}582{"id":"doc-git_git_diff_documentation-fa873a02","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/uk","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nстарий режим <режим>\nновий режим <режим>\nвидалений файл режим <режим>\nновий файл режим <режим>\nкопіювати з <шлях>\nкопіювати до <шлях>\nперейменувати з <шлях>\nперейменувати в <шлях>\nіндекс подібності <номер>\nіндекс несхожості <номер>\nіндекс <хеш>..<хеш> <режим>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nіндекс <hash>,<hash>..<hash>\nрежим <mode>,<mode>..<mode>\nновий файловий режим <mode>\nрежим видаленого файлу <mode>,<mode>\n```\n\nExample:\n```text\n--- a/файл\n+++ б/файл\n```\n\nExample:\n```text\n--- a/файл\n--- a/файл\n--- a/файл\n+++ б/файл\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.824Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":872}}583{"id":"doc-git_git_diff_documentation-69d64fe7","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.47.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}584{"id":"doc-git_git_diff_documentation-9da890c8","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.41.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}585{"id":"doc-git_git_diff_documentation-d7fcc71b","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.42.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}586{"id":"doc-git_git_diff_documentation-dab32751","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.39.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}587{"id":"doc-git_git_diff_documentation-a86111b7","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.40.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}588{"id":"doc-git_git_diff_documentation-ef2754db","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.51.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.844Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}589{"id":"doc-git_git_config_documentation-3a8a8c5d","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.40.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}590{"id":"doc-git_git_diff_documentation-0843503f","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.42.1","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}591{"id":"doc-git_git_diff_documentation-5f9d1b95","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.43.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.869Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}592{"id":"doc-git_git_diff_documentation-86675402","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.45.3","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.872Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}593{"id":"doc-git_git_diff_documentation-b5065d7a","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.44.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.876Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":197,"estimatedTokens":923}}594{"id":"doc-git_git_diff_documentation-86cae5a0","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.30.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.878Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}595{"id":"doc-git_git_diff_documentation-16da2484","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.53.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.882Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}596{"id":"doc-git_git_diff_documentation-37fd6b3d","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.25.1","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.889Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":195,"estimatedTokens":892}}597{"id":"doc-git_git_diff_documentation-79ecd7cd","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.48.0","text":"Example:\n```text\ngitdiff--gitdiff--cached--merge-base--gitdiff--merge-base--gitdiff--gitdiffgitdiff--no-index--\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\noldmodenewmodedeletedfilemodenewfilemodecopyfromcopytorenamefromrenametosimilarityindexdissimilarityindexindex..\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex,..mode,..newfilemodedeletedfilemode,\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n$ git diff AUTO_MERGE (4)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":179,"estimatedTokens":815}}598{"id":"doc-git_git_diff_documentation-835a017a","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.32.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.895Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}599{"id":"doc-git_git_diff_documentation-df3c43c7","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.24.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":195,"estimatedTokens":899}}600{"id":"doc-git_git_diff_documentation-e1a9f991","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.33.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.901Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}601{"id":"doc-git_git_diff_documentation-92aa38ff","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.22.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":195,"estimatedTokens":899}}602{"id":"doc-git_git_diff_documentation-20336524","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.25.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":195,"estimatedTokens":899}}603{"id":"doc-git_git_diff_documentation-491ca701","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.36.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}604{"id":"doc-git_git_diff_documentation-0e1cfab4","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.29.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.912Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":909}}605{"id":"doc-git_git_diff_documentation-6881dda9","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.34.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}606{"id":"doc-git_git_diff_documentation-c0325725","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.20.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":795}}607{"id":"doc-git_git_diff_documentation-eb909065","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.37.2","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}608{"id":"doc-git_git_diff_documentation-954b3a27","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.21.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.923Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":795}}609{"id":"doc-git_git_diff_documentation-e3b4d05a","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.28.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.930Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":909}}610{"id":"doc-git_git_diff_documentation-6816e294","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.31.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}611{"id":"doc-git_git_diff_documentation-502d5bf7","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.19.2","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.936Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":809}}612{"id":"doc-git_git_diff_documentation-184733a2","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.17.0","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.938Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}613{"id":"doc-git_git_diff_documentation-61867b1a","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.9.5","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.940Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}614{"id":"doc-git_git_diff_documentation-c104260f","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.5.6","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.942Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}615{"id":"doc-git_git_diff_documentation-917bca70","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.11.4","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.945Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}616{"id":"doc-git_git_diff_documentation-499a256e","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.38.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [--merge-base] [<commit>] [--] [<path>…]\ngit diff [<options>] [--merge-base] <commit> [<commit>…] <commit> [--] [<path>…]\ngit diff [<options>] <commit>…<commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234 0123456 M file0\ncopy-edit :100644 100644 abcd123 1234567 C68 file1 file2\nrename-edit :100644 100644 abcd123 1234567 R86 file1 file3\ncreate :000000 100644 0000000 1234567 A file4\ndelete :100644 000000 1234567 0000000 D file5\nunmerged :000000 000000 0000000 0000000 U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4a 0000000 M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tphooey.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8 cc95eb0 4866510 MM\tdesc.c\tdesc.c\tdesc.c\n::100755 100755 100755 52b7a2d 6d1ac04 d2ac7d7 RM\tfoo.sh\tbar.sh\tbar.sh\n::100644 100644 100644 e07d6c5 9042e82 ee91881 RR\tfooey.c\tfuey.c\tphooey.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.948Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":196,"estimatedTokens":917}}617{"id":"doc-git_git_diff_documentation-8b3b2e44","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.8.6","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.950Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}618{"id":"doc-git_git_diff_documentation-65c1a815","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.18.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.952Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":809}}619{"id":"doc-git_git_diff_documentation-b6c9fc18","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.15.4","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.955Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}620{"id":"doc-git_git_diff_documentation-d1714bda","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.19.0","text":"Example:\n```text\ngit diff [<options>] [<commit>] [--] [<path>…]\ngit diff [<options>] --cached [<commit>] [--] [<path>…]\ngit diff [<options>] <commit> <commit> [--] [<path>…]\ngit diff [<options>] <blob> <blob>\ngit diff [<options>] --no-index [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.957Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":809}}621{"id":"doc-git_git_diff_documentation-c97e5033","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.16.6","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.960Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}622{"id":"doc-git_git_diff_documentation-dcdc7c47","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.14.6","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.962Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}623{"id":"doc-git_git_diff_documentation-b4f9677d","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.12.5","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.968Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}624{"id":"doc-git_git_diff_documentation-7d929e83","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.6.7","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.971Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}625{"id":"doc-git_git_diff_documentation-78ac0b00","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.13.7","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.973Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}626{"id":"doc-git_git_diff_documentation-6ff45f01","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.3.10","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.975Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}627{"id":"doc-git_git_diff_documentation-72f87968","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.4.12","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.977Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}628{"id":"doc-git_git_diff_documentation-9cb4e8b0","source":"documentation","title":"Git - git-diff Documentation","url":"http://git-scm.com/docs/git-diff/2.0.5","text":"Example:\n```text\ngit diff [options] [<commit>] [--] [<path>…]\ngit diff [options] --cached [<commit>] [--] [<path>…]\ngit diff [options] <commit> <commit> [--] [<path>…]\ngit diff [options] <blob> <blob>\ngit diff [options] [--no-index] [--] <path> <path>\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\nin-place edit :100644 100644 bcd1234... 0123456... M file0\ncopy-edit :100644 100644 abcd123... 1234567... C68 file1 file2\nrename-edit :100644 100644 abcd123... 1234567... R86 file1 file3\ncreate :000000 100644 0000000... 1234567... A file4\ndelete :100644 000000 1234567... 0000000... D file5\nunmerged :000000 000000 0000000... 0000000... U file6\n```\n\nExample:\n```text\n:100644 100644 5be4a4...... 000000...... M file.c\n```\n\nExample:\n```text\n::100644 100644 100644 fabadb8... cc95eb0... 4866510... MM\tdescribe.c\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\narch/{i386 => x86}/Makefile | 4 +--\n```\n\nExample:\n```text\n1\t2\tREADME\n3\t1\tarch/{i386 => x86}/Makefile\n```\n\nExample:\n```text\n1\t2\tREADME NUL\n3\t1\tNUL arch/i386/Makefile NUL arch/x86/Makefile NUL\n```\n\nExample:\n```text\n$ git diff (1)\n$ git diff --cached (2)\n$ git diff HEAD (3)\n```\n\nExample:\n```text\n$ git diff test (1)\n$ git diff HEAD -- ./test (2)\n$ git diff HEAD^ HEAD (3)\n```\n\nExample:\n```text\n$ git diff topic master (1)\n$ git diff topic..master (2)\n$ git diff topic...master (3)\n```\n\nExample:\n```text\n$ git diff --diff-filter=MRC (1)\n$ git diff --name-status (2)\n$ git diff arch/i386 include/asm-i386 (3)\n```\n\nExample:\n```text\n$ git diff --find-copies-harder -B -C (1)\n$ git diff -R (2)\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.979Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":178,"estimatedTokens":807}}629{"id":"doc-git_git_config_documentation-5bdc6f70","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/fr","text":"Example:\n```text\ngit config list [<option-de-fichier>] [<option-d-affichage>] [--includes]\ngit config get [<option-de-fichier>] [<option-d-affichage>] [--includes] [--all] [--regexp] [--value=<motif>] [--fixed-value] [--default=<default>] [--url=<url>] <nom>\ngit config set [<option-de-fichier>] [--type=<type>] [--all] [--value=<motif>] [--fixed-value] <nom> <valeur>\ngit config unset [<option-de-fichier>] [--all] [--value=<motif>] [--fixed-value] <nom>\ngit config rename-section [<option-de-fichier>] <ancien-nom> <nouveau-nom>\ngit config remove-section [<option-de-fichier>] <nom>\ngit config edit [<option-de-fichier>]\ngit config [<option-de-fichier>] --get-colorbool <nom> [<stdout-est-tty>]\n```\n\nExample:\n```text\n#\n# C'est le fichier de configuration, et\n# un caractère '#' ou ';' indique\n# un commentaire\n#\n\n; variables de base\n[core]\n\t; ne pas faire confiance au mode des fichiers\n\tfilemode = false\n\n; Notre algorithme de diff\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; paramètres du proxy\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; pour tout le reste\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for exemple.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}votre color d'espace et bleu sont échangées${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://bon.exemple.com http.sslverify\ntrue\n% git config get --type=bool --url=https://faible.exemple.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"sous-section\"]\n```\n\nExample:\n```text\n# Variables core\n[core]\n\t; Ne pas se fier au modes des fichiers\n\tfilemode = false\n\n# Notre algorithme de diff\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Réglages proxy\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ;pour le reste\n\n[include]\n\tpath = /chemin/vers/foo.inc ; inclure par chemin absolu\n\tpath = foo.inc ; trouver \"foo.inc\" relativement au fichier actuel\n\tpath = ~/foo.inc ; trouver \"foo.inc\" dans votre répertoire `$HOME`\n\n; inclure si $GIT_DIR est /chemin/vers/foo/.git\n[includeIf \"gitdir:/chemin/vers/foo/.git\"]\n\tpath = /chemin/vers/foo.inc\n\n; inclure tous les dépôts dans /chemin/vers/groupe\n[includeIf \"gitdir:/chemin/vers/groupe\"]\n\tpath = /chemin/vers/foo.inc\n\n; inclure pour tous les dépôts à l'intérieur de $HOME/vers/groupe\n[includeIf \"gitdir:~/vers/groupe/\"]\n\tpath = /chemin/vers/foo.inc\n\nles chemins relatifs sont toujours relatifs au fichier\n; incluant (si la condition est vraie) ; leur emplacement n'est pas\n; affecté par la condition\n[includeIf \"gitdir:/chemin/vers/groupe/\"]\n\tpath = foo.inc\n\n; n'inclure que si nous sommes dans un arbre de travail où foo-branch\n; actuellement extrait\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; inclure seulement si un fichier distant avec l'URL donnée existe (note\n; qu'une telle URL peut être fournie plus tard dans un fichier ou dans un fichier\n; ou dans un fichier lu après la lecture de ce fichier, comme dans cet exemple).\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nExemple :\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nCela ne résultera qu'en b (a et c sont effacés).\n```\n\nExample:\n```text\np deadbee Le titre de ce commit\np fa1afe1 Le titre du commit suivant\n...\n```\n\nExample:\n```text\npick deadbee Le titre de ce commit\n\tpick fa1afe1 Le titre du commit suivant\n\t...\n```\n\nExample:\n```text\n[section.sous-section]\n clé = valeur1\n```\n\nExample:\n```text\n[section.sous-section]\n clé = valeur1\n clé = valeur2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.986Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":221,"estimatedTokens":1190}}630{"id":"doc-git_git_config_documentation-d36ca020","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/zh_HANS-CN","text":"Example:\n```text\ngit config list [<文件选项>] [<展示选项>] [--includes]\ngit config get [<文件选项>] [<display-option>] [--includes] [--all] [--regexp=<正则表达式>] [--value=<value>] [--fixed-value] [--default=<default>] <名称>\ngit config set [<文件选项>] [--type=<类型>] [--all] [--value=<value>] [--fixed-value] <名称> <value>\ngit config unset [<文件选项>] [--all] [--value=<value>] [--fixed-value] <名称> <value>\ngit config rename-section [<文件选项>] <旧名称> <新名称>\ngit config remove-section [<文件选项>] <名称>\ngit config edit [<文件选项>]\ngit config [<文件选项>] --get-colorbool <名称> [<标准输出是否是终端>]\n```\n\nExample:\n```text\n#\n# 这就是配置文件,并且\n# 一个'#' 或 ';' 字符表示\n# 一个注释\n#\n\n; 核心变量\n[core]\n\t; 不信任文件模式\n\tfilemode = false\n\n; 我们的差异算法\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trename = true\n\n; 代理设置\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; 适用于其他所有网站\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookiFile= /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"小节\"]\n```\n\nExample:\n```text\n# 核心变量\n[core]\n\t; 不信任文件模式\n\tfilemode = false\n\n# 我们的差异算法\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# 代理设置\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; 其余为\n\n[include]\n\tpath = /path/to/foo.inc ; 按绝对路径包含\n\tpath = foo.inc ; find \"foo.inc\" 相对于当前文件\n\tpath = ~/foo.inc ; 在您的 `$HOME` 目录中找到 \"foo.inc\"\n\n;如果 $GIT_DIR 是 /path/to/foo/.git 就包含\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n;包括 /path/to/group 内的所有仓库\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; 包括 $HOME/to/group 内的所有仓库\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; 相对路径总是相对于包括\n; 文件(如果条件为真);其位置不受\n; 的位置不受条件的影响。\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; 只有工作区当前检出了 foo-branch\n; 才包括\n[includeIf \"onbranch:foo-branch\"] 。\n\t路径 = foo.inc\n\n; 只有在给定 URL 的远程仓库存在的情况下才包括(注意\n; 这样的URL可能在以后的文件中提供,或者在这个文件被读取后的一个\n; 文件中提供,正如在这个例子中看到的那样)\n[includeIf \"hasconfig:remote.*.url:https://example.com/*\" ]\n\t路径 = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n例如:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\n这将导致只剩下 b(a 和 c 被清除)。\n```\n\nExample:\n```text\np deadbee 本次提交的一行说明\np fa1afe1 下一次提交的一行说明\n...\n```\n\nExample:\n```text\npick deadbee 本次提交的一行说明\npick fa1afe1 下一次提交的一行说明\n...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.988Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":211,"estimatedTokens":891}}631{"id":"doc-git_git_config_documentation-86a42bd2","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/uk","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# Це конфігураційний файл, і\n# символ '#' або ';' вказує\n# на коментар\n#\n\n; основні змінні\n[core]\n\t; Не покладатися на атрибути файлів\n\tfilemode = false\n\n; Наш diff алгоритм\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Налаштування проксі-сервера\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" для example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Основні змінні\n[core]\n\t; Не довіряти режимам файлів\n\tfilemode = false\n\n# Наш алгоритм diff\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Налаштування проксі-сервера\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nПриклад:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nУ результаті залишиться лише b (a та c будуть очищені).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.992Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":221,"estimatedTokens":1135}}632{"id":"doc-git_git_config_documentation-fdb3abc4","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/sv","text":"Example:\n```text\ngit config list [<fil-flaggor>] [<visningsalternativ] [--includes]\ngit config get [<fil-flaggor>] [<visningsalternativ>] [--includes] [--all] [--regexp] [--value=<mönster>] [--fixed-value] [--default=<standard>] [--url=<url>] <namn>\ngit config set [<fil-flaggor>] [--type=<typ>] [--all] [--value=<mönster>] [--fixed-value] <namn> <värde>\ngit config unset [<fil-flaggor>] [--all] [--value=<mönster>] [--fixed-value] <namn>\ngit config rename-section [<fil-flaggor>] <gammalt-namn> <nytt-namn>\ngit config remove-section [<fil-flaggor>] <namn>\ngit config edit [<fil-flaggor>]\ngit config [<file-option>] --get-colorbool <namn> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# Detta är konfigurationsfilen, och\n# ett '#' eller ';'-tecken indikerar\n# en kommentar\n#\n\n; kärnvariabler\n[core]\n\t; Lita inte på fillägen\n\tfilemode = false\n\n; Vår diff-algoritm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxyinställningar\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; för alla de andra\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"underavsnitt\"]\n```\n\nExample:\n```text\n# Kärnvariabler\n[core]\n\t; Lita inte på fillägen\n\tfilemode = false\n\n# Vår diff-algoritm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"utveckling\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxyinställningar\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; för resten\n\n[include]\n\tpath = /path/to/foo.inc ; inkludera med absolut sökväg\n\tpath = foo.inc ; hitta \"foo.inc\" relativt till den aktuella filen\n\tpath = ~/foo.inc ; hitta \"foo.inc\" i din `$HOME`-katalog\n\n; inkludera om $GIT_DIR är /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; inkludera för alla kodförråd inuti /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; inkludera för alla kodförråd i $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relativa sökvägar är alltid relativa till den inkluderande\n; filen (om villkoret är sant); deras plats påverkas inte\n; av villkoret\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; inkludera endast om vi är i ett arbetsträd där foo-branch är\n; för närvarande utcheckad\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; inkludera endast om en fjär med den angivna URL:en finns (observera\n; att en sådan URL kan tillhandahållas senare i en fil eller i en\n; fil som läses efter att denna fil har lästs, som ses i detta exempel)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nExempel:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nDetta ger endast b (a och c rensas).\n```\n\nExample:\n```text\npick deadbee Enrad i denna incheckning\npick fa1afe1 Enrad i nästa incheckning\n...\n```\n\nExample:\n```text\n[sektion.undersecktion]\n nyckel = värde1\n```\n\nExample:\n```text\n[sektion.undersecktion]\n nyckel = värde1\n nyckel = värde2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:37.998Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":214,"estimatedTokens":1113}}633{"id":"doc-git_git_config_documentation-ab250a1a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/ru","text":"Example:\n```text\ngit config list [<параметр-файла>] [<параметр-отображения>] [--includes]\ngit config get [<параметр-файла>] [<параметр-отображения>] [--includes] [--all] [--regexp] [--value=<шаблон>] [--fixed-value] [--default=<значение-по-умолчанию>] [--url=<url>] <имя>\ngit config set [<параметр-файла>] [--type=<тип>] [--all] [--value=<шаблон>] [--fixed-value] <имя> <значение>\ngit config unset [<параметр-файла>] [--all] [--value=<шаблон>] [--fixed-value] <имя>\ngit config rename-section [<параметр-файла>] <старое-имя> <новое-имя>\ngit config remove-section [<параметр-файла>] <имя>\ngit config edit [<параметр-файла>]\ngit config [<параметр-файла>] --get-colorbool <имя> [<stdout-это-tty>]\n```\n\nExample:\n```text\n#\n# Это файл конфигурации, и\n# символ '#' или ';' обозначает\n# комментарий\n#\n\n; основные переменные\n[core]\n\t; Не доверять режимам файлов\n\tfilemode = false\n\n; Наш алгоритм сравнения\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Настройки прокси\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; для всех остальных\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' раздел.ключ значение\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}ваш цвет пробелов или синий обратный${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[раздел \"подраздел\"]\n```\n\nExample:\n```text\n# Основные переменные\n[core]\n\t; Не доверять режимам файлов\n\tfilemode = false\n\n# Наш алгоритм сравнения\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Настройки прокси\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; для остальных\n\n[include]\n\tpath = /path/to/foo.inc ; включить по абсолютному пути\n\tpath = foo.inc ; найти «foo.inc» относительно текущего файла\n\tpath = ~/foo.inc ; найти «foo.inc» в вашем каталоге `$HOME`\n\n; включить, если $GIT_DIR — это /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; подключить для всех репозиториев внутри /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; подключить для всех репозиториев внутри $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; относительные пути всегда отсчитываются от подключающего\n; файла (если условие истинно); их расположение не\n; зависит от условия\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; подключить только если мы находимся в рабочем дереве, где\n; в данный момент извлечена ветка foo-branch\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; подключить только если существует удалённый репозиторий с данным URL (примечание:\n; такой URL может быть указан позже в этом файле или в файле,\n; прочитанном после этого, как показано в примере)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nПример:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nВ результате останется только b (a и c будут очищены).\n```\n\nExample:\n```text\np deadbee Однострочное описание коммита\n\tp fa1afe1 Однострочное описание следующего коммита\n\t...\n```\n\nExample:\n```text\npick deadbee Однострочное описание коммита\n\tpick fa1afe1 Однострочное описание следующего коммита\n\t...\n```\n\nExample:\n```text\n[раздел.подраздел]\n key = value1\n```\n\nExample:\n```text\n[раздел.подраздел]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.001Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":221,"estimatedTokens":1164}}634{"id":"doc-git_git_config_documentation-5cbe6cfd","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.49.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.025Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}635{"id":"doc-git_git_config_documentation-b220ba43","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.50.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.052Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}636{"id":"doc-git_git_config_documentation-dfb182cc","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.51.1","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.068Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1374}}637{"id":"doc-git_git_config_documentation-6ca368b2","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.51.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\n`short`;; the ref name prefixes `refs/heads/`, `refs/tags/` and\n\t`refs/remotes/` are not printed.\n`full`;; the full ref name (including prefix) are printed.\n`auto`;; if the output is going to a terminal,\n\tthe ref names are shown as if `short` were given, otherwise no ref\n\tnames are shown.\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.088Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":274,"estimatedTokens":1452}}638{"id":"doc-git_git_verify_commit_documentation-803d3d22","source":"documentation","title":"Git - git-verify-commit Documentation","url":"http://git-scm.com/docs/git-verify-commit","text":"Example:\n```text\ngitverify-commit-v--verbose--raw\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.088Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}639{"id":"doc-git_git_config_documentation-17f823f3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.29.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.101Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1238}}640{"id":"doc-git_git_config_documentation-0300bfe1","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.42.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.120Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}641{"id":"doc-git_git_sparse_checkout_documentation-9da122ce","source":"documentation","title":"Git - git-sparse-checkout Documentation","url":"http://git-scm.com/docs/git-sparse-checkout","text":"Example:\n```text\ngit sparse-checkout (init | list | set | add | reapply | disable | check-rules | clean) [<options>]\n```\n\nExample:\n```text\ngit sparse-checkout set '/toplevel-dir/*.c'\n```\n\nExample:\n```text\ngit sparse-checkout set relative-dir\n```\n\nExample:\n```text\ncurrent/subdirectory/toplevel-dir/*.c\n```\n\nExample:\n```text\ncurrent/subdirectory/relative-dir\n```\n\nExample:\n```text\ngit sparse-checkout set --no-cone '/*' '!unwanted'\n```\n\nExample:\n```text\n/*\n!unwanted\n```\n\nExample:\n```text\n/*\n!/*/\n```\n\nExample:\n```text\n/*\n!/*/\n/A/\n!/A/*/\n/A/B/\n!/A/B/*/\n/A/B/C/\n```\n\nExample:\n```text\n$ git sparse-checkout list\nA/B/C\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.121Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":60,"estimatedTokens":158}}642{"id":"doc-git_git_rerere_documentation-732fa754","source":"documentation","title":"Git - git-rerere Documentation","url":"http://git-scm.com/docs/git-rerere","text":"Example:\n```text\ngit rerere [clear | forget <pathspec>… | diff | status | remaining | gc]\n```\n\nExample:\n```text\no---*---o topic\n /\n o---o---o---*---o---o master\n```\n\nExample:\n```text\n$ git switch topic\n\t$ git merge master\n\n o---*---o---+ topic\n / /\n o---o---o---*---o---o master\n```\n\nExample:\n```text\n$ git switch topic\n\t$ git merge master\n\t$ ... work on both topic and master branches\n\t$ git switch master\n\t$ git merge topic\n\n o---*---o---+---o---o topic\n / / \\\n o---o---o---*---o---o---o---o---+ master\n```\n\nExample:\n```text\n$ git switch topic\n\t$ git merge master\n\t$ git reset --hard HEAD^ ;# rewind the test merge\n\t$ ... work on both topic and master branches\n\t$ git switch master\n\t$ git merge topic\n\n o---*---o-------o---o topic\n / \\\n o---o---o---*---o---o---o---o---+ master\n```\n\nExample:\n```text\no---*---o-------o---o topic\n /\n o---o---o---*---o---o---o---o master\n\n\t$ git rebase master topic\n\n\t\t\t\t o---*---o-------o---o topic\n\t\t\t\t /\n o---o---o---*---o---o---o---o master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.122Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":63,"estimatedTokens":292}}643{"id":"doc-git_git_fast_export_documentation-6e4c2d1c","source":"documentation","title":"Git - git-fast-export Documentation","url":"http://git-scm.com/docs/git-fast-export","text":"Example:\n```text\ngit fast-export [<options>] | git fast-import\n```\n\nExample:\n```text\n$ git fast-export --all | (cd /empty/repository && git fast-import)\n```\n\nExample:\n```text\n$ git fast-export master~5..master |\n\tsed \"s|refs/heads/master|refs/heads/other|\" |\n\tgit fast-import\n```\n\nExample:\n```text\n$ git fast-export --anonymize --all >anon-stream\n```\n\nExample:\n```text\n$ git init anon-repo\n$ cd anon-repo\n$ git fast-import <../anon-stream\n$ ... test your bug ...\n```\n\nExample:\n```text\n$ perl -pe 's/\\d+/X/g' <anon-stream | sort -u | less\n```\n\nExample:\n```text\n$ git fast-export --anonymize --all \\\n --anonymize-map=sensitive:foo \\\n --anonymize-map=secret.c:bar.c \\\n >stream\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.122Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":7,"totalLines":44,"estimatedTokens":177}}644{"id":"doc-git_git_config_documentation-4687b2b0","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.48.1","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.138Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}645{"id":"doc-git_git_config_documentation-ef43cf1a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.53.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.163Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":246,"estimatedTokens":1235}}646{"id":"doc-git_git_config_documentation-dcb51c79","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.52.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.189Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":246,"estimatedTokens":1235}}647{"id":"doc-git_git_config_documentation-4431bfa2","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.48.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.209Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}648{"id":"doc-git_git_config_documentation-5ce5e7bf","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.54.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n# Without subsection (ASCII alphanumeric and dash only)\n[alias]\n co = checkout\n st = status\n\n# With subsection (allows any characters, including UTF-8)\n[alias \"hämta\"]\n command = fetch\n[alias \"rätta till\"]\n command = commit --amend\n```\n\nExample:\n```text\n$ git config --global alias.last \"cat-file commit HEAD\"\n# Which is equivalent to\n$ git config --global alias.last.command \"cat-file commit HEAD\"\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[status]\n\tcompareBranches = @{upstream} @{push}\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.227Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":273,"estimatedTokens":1361}}649{"id":"doc-git_git_config_documentation-6c788b73","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.55.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n# Without subsection (ASCII alphanumeric and dash only)\n[alias]\n co = checkout\n st = status\n\n# With subsection (allows any characters, including UTF-8)\n[alias \"hämta\"]\n command = fetch\n[alias \"rätta till\"]\n command = commit --amend\n```\n\nExample:\n```text\n$ git config --global alias.last \"cat-file commit HEAD\"\n# Which is equivalent to\n$ git config --global alias.last.command \"cat-file commit HEAD\"\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[status]\n\tcompareBranches = @{upstream} @{push}\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.256Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":273,"estimatedTokens":1361}}650{"id":"doc-git_git_config_documentation-f42215f9","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.51.2","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.280Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":246,"estimatedTokens":1235}}651{"id":"doc-git_git_config_documentation-b4ab3ea4","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.35.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.294Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1283}}652{"id":"doc-git_git_config_documentation-2fe0a600","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.35.5","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.311Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1283}}653{"id":"doc-git_git_config_documentation-8ae45b7d","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.34.5","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.325Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}654{"id":"doc-git_git_config_documentation-fc096610","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.35.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.347Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1283}}655{"id":"doc-git_git_config_documentation-1b2062cc","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.39.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.371Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}656{"id":"doc-git_git_config_documentation-5b5f77de","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.35.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.384Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1283}}657{"id":"doc-git_git_config_documentation-eac465d1","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.35.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.402Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1283}}658{"id":"doc-git_git_config_documentation-a779600a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.416Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}659{"id":"doc-git_git_config_documentation-466b2cb4","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.433Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}660{"id":"doc-git_git_config_documentation-ebaaff23","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.5","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.446Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}661{"id":"doc-git_git_config_documentation-294069e6","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.34.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.463Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}662{"id":"doc-git_git_config_documentation-87c3a89c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.34.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.476Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}663{"id":"doc-git_git_config_documentation-d62d8bb9","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.47.2","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.504Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}664{"id":"doc-git_git_config_documentation-660ed95b","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.46.3","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.529Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1371}}665{"id":"doc-git_git_config_documentation-434adb8a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.47.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.544Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1371}}666{"id":"doc-git_git_config_documentation-73ed39bc","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.34.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.562Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}667{"id":"doc-git_git_config_documentation-ea29e5d0","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.34.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.576Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}668{"id":"doc-git_git_config_documentation-7d0946d3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.594Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}669{"id":"doc-git_git_config_documentation-90ebba5a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.607Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}670{"id":"doc-git_git_config_documentation-830de9f6","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.33.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.624Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}671{"id":"doc-git_git_config_documentation-0500a029","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.32.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.637Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}672{"id":"doc-git_git_config_documentation-326788aa","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.32.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.659Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}673{"id":"doc-git_git_config_documentation-129c3f91","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.32.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.672Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}674{"id":"doc-git_git_cvsexportcommit_documentation-f82e7ec3","source":"documentation","title":"Git - git-cvsexportcommit Documentation","url":"http://git-scm.com/docs/git-cvsexportcommit","text":"Example:\n```text\ngit cvsexportcommit [-h] [-u] [-v] [-c] [-P] [-p] [-a] [-d <cvsroot>]\n\t[-w <cvs-workdir>] [-W] [-f] [-m <msgprefix>] [<parent-commit>] <commit-id>\n```\n\nExample:\n```text\n$ export GIT_DIR=~/project/.git\n$ cd ~/project_cvs_checkout\n$ git cvsexportcommit -v <commit-sha1>\n$ cvs commit -F .msg <files>\n```\n\nExample:\n```text\n$ git cvsexportcommit -v -c -w ~/project_cvs_checkout <commit-sha1>\n```\n\nExample:\n```text\n$ export GIT_DIR=~/project/.git\n$ cd ~/project_cvs_checkout\n$ git cherry cvshead myhead | sed -n 's/^+ //p' | xargs -l1 git cvsexportcommit -c -p -v\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.673Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":27,"estimatedTokens":148}}675{"id":"doc-git_git_archimport_documentation-8cd93376","source":"documentation","title":"Git - git-archimport Documentation","url":"http://git-scm.com/docs/git-archimport","text":"Example:\n```text\ngit archimport [-h] [-v] [-o] [-a] [-f] [-T] [-D <depth>] [-t <tempdir>]\n\t <archive>/<branch>[:<git-branch>]…\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.673Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":38}}676{"id":"doc-git_git_quiltimport_documentation-cd554f78","source":"documentation","title":"Git - git-quiltimport Documentation","url":"http://git-scm.com/docs/git-quiltimport","text":"Example:\n```text\ngit quiltimport [--dry-run | -n] [--author <author>] [--patches <dir>]\n\t\t[--series <file>] [--keep-non-patch]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.673Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":36}}677{"id":"doc-git_git_cvsimport_documentation-398324e2","source":"documentation","title":"Git - git-cvsimport Documentation","url":"http://git-scm.com/docs/git-cvsimport","text":"Example:\n```text\ngit cvsimport [-o <branch-for-HEAD>] [-h] [-v] [-d <CVSROOT>]\n\t [-A <author-conv-file>] [-p <options-for-cvsps>] [-P <file>]\n\t [-C <git-repository>] [-z <fuzz>] [-i] [-k] [-u] [-s <subst>]\n\t [-a] [-m] [-M <regex>] [-S <regex>] [-L <commit-limit>]\n\t [-r <remote>] [-R] [<CVS-module>]\n```\n\nExample:\n```text\nexon=Andreas Ericsson <ae@op5.se>\n\tspawn=Simon Pawn <spawn@frog-pond.org> America/Chicago\n```\n\nExample:\n```text\nsrc/widget.c 1.1 1d862f173cdc7325b6fa6d2ae1cfd61fd1b512b7\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.674Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":21,"estimatedTokens":133}}678{"id":"doc-git_git_cvsserver_documentation-75fad65a","source":"documentation","title":"Git - git-cvsserver Documentation","url":"http://git-scm.com/docs/git-cvsserver","text":"Example:\n```text\nexport CVS_SERVER=\"git cvsserver\"\ncvs -d :ext:user@server/path/repo.git co <HEAD_name>\n```\n\nExample:\n```text\ncvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver\n```\n\nExample:\n```text\ngit-cvsserver [<options>] [pserver|server] [<directory> …]\n```\n\nExample:\n```text\ncvspserver stream tcp nowait nobody git-cvsserver pserver\n```\n\nExample:\n```text\n[gitcvs]\n\tauthdb = /etc/cvsserver/passwd\n```\n\nExample:\n```text\nmyuser:sqkNi8zPf01HI\n myuser:$1$9K7FzU28$VfF6EoPYCJEYcVQwATgOP/\n myuser:$5$.NqmNH1vwfzGpV8B$znZIcumu1tNLATgV2l6e1/mY8RzhUDHMOaVOeL1cxV3\n```\n\nExample:\n```text\ncvs -d:pserver:someuser:somepassword@server:/path/repo.git co <HEAD_name>\n```\n\nExample:\n```text\ncvs -d \":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git\" co <HEAD_name>\n```\n\nExample:\n```text\n[gitcvs]\n enabled=1\n # optional for debugging\n\tlogFile=/path/to/logfile\n```\n\nExample:\n```text\n[gitcvs]\n enabled=0\n\n [gitcvs \"ext\"]\n enabled=1\n```\n\nExample:\n```text\nexport CVSROOT=:ext:user@server:/var/git/project.git\n export CVS_SERVER=\"git cvsserver\"\n```\n\nExample:\n```text\ncvs co -d project-master master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.674Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":73,"estimatedTokens":293}}679{"id":"doc-git_gitweb_documentation-6603d318","source":"documentation","title":"Git - gitweb Documentation","url":"http://git-scm.com/docs/gitweb","text":"Example:\n```text\nour $projectroot = '/path/to/parent/directory';\n```\n\nExample:\n```text\nfoo.git Joe+R+Hacker+<joe@example.com>\nfoo/bar.git O+W+Ner+<owner@example.org>\n```\n\nExample:\n```text\nread_config_file(\"gitweb_config.perl\");\n$projects_list = $projectroot;\n```\n\nExample:\n```text\n#!/bin/sh\n\nexport GITWEB_CONFIG=\"gitweb_make_index.perl\"\nexport GATEWAY_INTERFACE=\"CGI/1.1\"\nexport HTTP_ACCEPT=\"*/*\"\nexport REQUEST_METHOD=\"GET\"\nexport QUERY_STRING=\"a=project_index\"\n\nperl -- /var/www/cgi-bin/gitweb.cgi\n```\n\nExample:\n```text\nour $export_ok = \"git-daemon-export-ok\";\n```\n\nExample:\n```text\n$export_auth_hook = sub {\n\tuse Apache2::SubRequest ();\n\tuse Apache2::Const -compile => qw(HTTP_OK);\n\tmy $path = \"$_[0]/HEAD\";\n\tmy $r = Apache2::RequestUtil->request;\n\tmy $sub = $r->lookup_file($path);\n\treturn $sub->filename eq $path\n\t && $sub->status == Apache2::Const::HTTP_OK;\n};\n```\n\nExample:\n```text\nUnnamed repository; edit this file to name it for gitweb.\n```\n\nExample:\n```text\n.../gitweb.cgi/<repo>/<action>/<revision>:/<path>?<arguments>\n```\n\nExample:\n```text\n.../gitweb.cgi/<repo>/<action>/<revision-from>:/<path-from>..<revision-to>:/<path-to>?<arguments>\n```\n\nExample:\n```text\n$feature{'blame'}{'default'} = [1];\n```\n\nExample:\n```text\nScriptAlias /cgi-bin/ \"/var/www/cgi-bin/\"\n\n<Directory \"/var/www/cgi-bin\">\n Options Indexes FollowSymlinks ExecCGI\n AllowOverride None\n Order allow,deny\n Allow from all\n</Directory>\n```\n\nExample:\n```text\nhttp://server/cgi-bin/gitweb.cgi\n```\n\nExample:\n```text\nAlias /perl \"/var/www/perl\"\n\n<Directory \"/var/www/perl\">\n SetHandler perl-script\n PerlResponseHandler ModPerl::Registry\n PerlOptions +ParseHeaders\n Options Indexes FollowSymlinks +ExecCGI\n AllowOverride None\n Order allow,deny\n Allow from all\n</Directory>\n```\n\nExample:\n```text\nhttp://server/perl/gitweb.cgi\n```\n\nExample:\n```text\nFastCgiServer /usr/share/gitweb/gitweb.cgi\nScriptAlias /gitweb /usr/share/gitweb/gitweb.cgi\n\nAlias /gitweb/static /usr/share/gitweb/static\n<Directory /usr/share/gitweb/static>\n SetHandler default-handler\n</Directory>\n```\n\nExample:\n```text\nhttp://server/gitweb\n```\n\nExample:\n```text\n<VirtualHost *:80>\n ServerName git.example.org\n DocumentRoot /pub/git\n SetEnv GITWEB_CONFIG /etc/gitweb.conf\n\n # turning on mod rewrite\n RewriteEngine on\n\n # make the front page an internal rewrite to the gitweb script\n RewriteRule ^/$ /cgi-bin/gitweb.cgi\n\n # make access for \"dumb clients\" work\n RewriteRule ^/(.*\\.git/(?!/?(HEAD|info|objects|refs)).*)?$ \\\n\t\t/cgi-bin/gitweb.cgi%{REQUEST_URI} [L,PT]\n</VirtualHost>\n```\n\nExample:\n```text\n@stylesheets = (\"/some/absolute/path/gitweb.css\");\n$my_uri = \"/\";\n$home_link = \"/\";\n$per_request_config = 1;\n```\n\nExample:\n```text\n<VirtualHost *:80>\n ServerName git.example.org\n DocumentRoot /pub/git\n SetEnv GITWEB_CONFIG /etc/gitweb.conf\n\n # turning on mod rewrite\n RewriteEngine on\n\n # make the front page an internal rewrite to the gitweb script\n RewriteRule ^/$ /cgi-bin/gitweb.cgi [QSA,L,PT]\n\n # look for a public_git directory in unix users' home\n # http://git.example.org/~<user>/\n RewriteRule ^/\\~([^\\/]+)(/|/gitweb.cgi)?$\t/cgi-bin/gitweb.cgi \\\n\t\t[QSA,E=GITWEB_PROJECTROOT:/home/$1/public_git/,L,PT]\n\n # http://git.example.org/+<user>/\n #RewriteRule ^/\\+([^\\/]+)(/|/gitweb.cgi)?$\t/cgi-bin/gitweb.cgi \\\n\t\t [QSA,E=GITWEB_PROJECTROOT:/home/$1/public_git/,L,PT]\n\n # http://git.example.org/user/<user>/\n #RewriteRule ^/user/([^\\/]+)/(gitweb.cgi)?$\t/cgi-bin/gitweb.cgi \\\n\t\t [QSA,E=GITWEB_PROJECTROOT:/home/$1/public_git/,L,PT]\n\n # defined list of project roots\n RewriteRule ^/scm(/|/gitweb.cgi)?$ /cgi-bin/gitweb.cgi \\\n\t\t[QSA,E=GITWEB_PROJECTROOT:/pub/scm/,L,PT]\n RewriteRule ^/var(/|/gitweb.cgi)?$ /cgi-bin/gitweb.cgi \\\n\t\t[QSA,E=GITWEB_PROJECTROOT:/var/git/,L,PT]\n\n # make access for \"dumb clients\" work\n RewriteRule ^/(.*\\.git/(?!/?(HEAD|info|objects|refs)).*)?$ \\\n\t\t/cgi-bin/gitweb.cgi%{REQUEST_URI} [L,PT]\n</VirtualHost>\n```\n\nExample:\n```text\n$projectroot = $ENV{'GITWEB_PROJECTROOT'} || \"/pub/git\";\n```\n\nExample:\n```text\nhttp://git.example.org/~<user>/\n```\n\nExample:\n```text\n$feature{'pathinfo'}{'default'} = [1];\n```\n\nExample:\n```text\nhttp://git.example.com/project.git/shortlog/sometag\n```\n\nExample:\n```text\n<VirtualHost *:80>\n\tServerAlias git.example.com\n\n\tDocumentRoot /var/www/gitweb\n\n\t<Directory /var/www/gitweb>\n\t\tOptions ExecCGI\n\t\tAddHandler cgi-script cgi\n\n\t\tDirectoryIndex gitweb.cgi\n\n\t\tRewriteEngine On\n\t\tRewriteCond %{REQUEST_FILENAME} !-f\n\t\tRewriteCond %{REQUEST_FILENAME} !-d\n\t\tRewriteRule ^.* /gitweb.cgi/$0 [L,PT]\n\t</Directory>\n</VirtualHost>\n```\n\nExample:\n```text\n<VirtualHost *:80>\n\tServerAlias git.example.com\n\n\tDocumentRoot /var/www/gitweb\n\n\tAliasMatch ^(/.*?)(\\.git)(/.*)?$ /pub/git$1$3\n\t<Directory /var/www/gitweb>\n\t\tOptions ExecCGI\n\t\tAddHandler cgi-script cgi\n\n\t\tDirectoryIndex gitweb.cgi\n\n\t\tRewriteEngine On\n\t\tRewriteCond %{REQUEST_FILENAME} !-f\n\t\tRewriteCond %{REQUEST_FILENAME} !-d\n\t\tRewriteRule ^.* /gitweb.cgi/$0 [L,PT]\n\t</Directory>\n</VirtualHost>\n```\n\nExample:\n```text\nhttp://git.example.com/project.git\n```\n\nExample:\n```text\nhttp://git.example.com/project\n```\n\nExample:\n```text\nhttp://git.example.com/project/command/abranch..git/abranch\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.676Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":28,"totalLines":265,"estimatedTokens":1326}}680{"id":"doc-git_git_merge_index_documentation-98a4f904","source":"documentation","title":"Git - git-merge-index Documentation","url":"http://git-scm.com/docs/git-merge-index","text":"Example:\n```text\ngit merge-index [-o] [-q] <merge-program> (-a | ( [--] <file>…) )\n```\n\nExample:\n```text\ntorvalds@ppc970:~/merge-test> git merge-index cat MM\nThis is MM from the original tree.\t\t# original\nThis is modified MM in the branch A.\t\t# merge1\nThis is modified MM in the branch B.\t\t# merge2\nThis is modified MM in the branch B.\t\t# current contents\n```\n\nExample:\n```text\ntorvalds@ppc970:~/merge-test> git merge-index cat AA MM\ncat: : No such file or directory\nThis is added AA in the branch A.\nThis is added AA in the branch B.\nThis is added AA in the branch B.\nfatal: merge program failed\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.676Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":25,"estimatedTokens":154}}681{"id":"doc-git_git_p4_documentation-09201ad2","source":"documentation","title":"Git - git-p4 Documentation","url":"http://git-scm.com/docs/git-p4","text":"Example:\n```text\ngit p4 clone [<sync-options>] [<clone-options>] <p4-depot-path>…\ngit p4 sync [<sync-options>] [<p4-depot-path>…]\ngit p4 rebase\ngit p4 submit [<submit-options>] [<master-branch-name>]\n```\n\nExample:\n```text\n$ git p4 clone //depot/path/project\n```\n\nExample:\n```text\n$ cd project\n$ vi foo.h\n$ git commit -a -m \"edited foo.h\"\n```\n\nExample:\n```text\n$ git p4 rebase\n```\n\nExample:\n```text\n$ git p4 submit\n```\n\nExample:\n```text\n$ git p4 clone //depot/path/project@all\n```\n\nExample:\n```text\n$ git p4 sync\n```\n\nExample:\n```text\n$ mkdir repo-git\n$ cd repo-git\n$ git init\n$ git p4 sync //path/in/your/perforce/depot\n```\n\nExample:\n```text\n$ git p4 submit topicbranch\n```\n\nExample:\n```text\n$ git p4 submit --commit <sha1>\n$ git p4 submit --commit <sha1..sha1>\n```\n\nExample:\n```text\n$ git p4 submit --shelve\n$ git p4 submit --update-shelve 1234 --update-shelve 2345\n```\n\nExample:\n```text\n$ git p4 sync\n$ git p4 unshelve 12345\n$ git show p4-unshelved/12345\n<submit more changes via p4 to the same files>\n$ git p4 unshelve 12345\n<refuses to unshelve until git is in sync with p4 again>\n```\n\nExample:\n```text\n$ git init\n $ git p4 sync --branch=refs/remotes/p4/proj2 //depot/proj2\n```\n\nExample:\n```text\n//depot/main/...\n//depot/branch1/...\n```\n\nExample:\n```text\ngit p4 clone --detect-branches //depot@all\n```\n\nExample:\n```text\ngit init depot\ncd depot\ngit config git-p4.branchList main:branch1\ngit p4 clone --detect-branches //depot@all .\n```\n\nExample:\n```text\ngit config git-p4.branchList main:branchA\ngit config --add git-p4.branchList main:branchB\n```\n\nExample:\n```text\ngit config git-p4.largeFileSystem GitLFS\n```\n\nExample:\n```text\ngit config --add git-p4.mapUser \"p4user = First Last <mail@address.com>\"\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.688Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":117,"estimatedTokens":435}}682{"id":"doc-git_git_for_each_repo_documentation-7b226559","source":"documentation","title":"Git - git-for-each-repo Documentation","url":"http://git-scm.com/docs/git-for-each-repo","text":"Example:\n```text\ngit for-each-repo --config=<config> [--] <arguments>\n```\n\nExample:\n```text\ngit for-each-repo --config=maintenance.repo maintenance run\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.689Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":43}}683{"id":"doc-git_git_mktree_documentation-949be8fa","source":"documentation","title":"Git - git-mktree Documentation","url":"http://git-scm.com/docs/git-mktree","text":"Example:\n```text\ngit mktree [-z] [--missing] [--batch]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.689Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":18}}684{"id":"doc-git_git_mktag_documentation-9ab04534","source":"documentation","title":"Git - git-mktag Documentation","url":"http://git-scm.com/docs/git-mktag","text":"Example:\n```text\ngit mktag\n```\n\nExample:\n```text\ngit mktag <my-tag\ngit hash-object -t tag -w --stdin <my-tag\n```\n\nExample:\n```text\ngit -c fsck.extraHeaderEntry=ignore mktag <my-tag-with-headers\n```\n\nExample:\n```text\nobject <hash>\ntype <typename>\ntag <tagname>\ntagger <tagger>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.689Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":25,"estimatedTokens":74}}685{"id":"doc-git_git_merge_file_documentation-f3caf8b4","source":"documentation","title":"Git - git-merge-file Documentation","url":"http://git-scm.com/docs/git-merge-file","text":"Example:\n```text\ngit merge-file [-L <current-name> [-L <base-name> [-L <other-name>]]]\n\t[--ours|--theirs|--union] [-p|--stdout] [-q|--quiet] [--marker-size=<n>]\n\t[--[no-]diff3] [--object-id] <current> <base> <other>\n```\n\nExample:\n```text\n<<<<<<< A\nlines in file A\n=======\nlines in file B\n>>>>>>> B\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.690Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":17,"estimatedTokens":79}}686{"id":"doc-git_git_commit_graph_documentation-1a83562d","source":"documentation","title":"Git - git-commit-graph Documentation","url":"http://git-scm.com/docs/git-commit-graph","text":"Example:\n```text\ngit commit-graph verify [--object-dir <dir>] [--shallow] [--[no-]progress]\ngit commit-graph write [--object-dir <dir>] [--append]\n\t\t\t[--split[=<strategy>]] [--reachable | --stdin-packs | --stdin-commits]\n\t\t\t[--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]\n\t\t\t<split-options>\n```\n\nExample:\n```text\n$ git commit-graph write\n```\n\nExample:\n```text\n$ echo <pack-index> | git commit-graph write --stdin-packs\n```\n\nExample:\n```text\n$ git show-ref -s | git commit-graph write --stdin-commits\n```\n\nExample:\n```text\n$ git rev-parse HEAD | git commit-graph write --stdin-commits --append\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.690Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":30,"estimatedTokens":157}}687{"id":"doc-git_git_multi_pack_index_documentation-09e43f7f","source":"documentation","title":"Git - git-multi-pack-index Documentation","url":"http://git-scm.com/docs/git-multi-pack-index","text":"Example:\n```text\ngit multi-pack-index [<options>] write [--preferred-pack=<pack>]\n\t\t [--[no-]bitmap] [--[no-]incremental] [--[no-]stdin-packs]\n\t\t [--refs-snapshot=<path>] [--[no-]write-chain-file]\n\t\t\t [--base=<checksum>]\ngit multi-pack-index [<options>] compact [--[no-]incremental]\n\t\t [--[no-]bitmap] [--base=<checksum>] [--[no-]write-chain-file]\n\t\t\t <from> <to>\ngit multi-pack-index [<options>] verify\ngit multi-pack-index [<options>] expire\ngit multi-pack-index [<options>] repack [--batch-size=<size>]\n```\n\nExample:\n```text\n$ git multi-pack-index write\n```\n\nExample:\n```text\n$ git multi-pack-index write --preferred-pack=<pack> --bitmap\n```\n\nExample:\n```text\n$ git multi-pack-index --object-dir <alt> write\n```\n\nExample:\n```text\n$ git multi-pack-index verify\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.691Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":35,"estimatedTokens":201}}688{"id":"doc-git_git_index_pack_documentation-184cddc5","source":"documentation","title":"Git - git-index-pack Documentation","url":"http://git-scm.com/docs/git-index-pack","text":"Example:\n```text\ngit index-pack [-v] [-o <index-file>] [--[no-]rev-index] <pack-file>\ngit index-pack --stdin [--fix-thin] [--keep] [-v] [-o <index-file>]\n\t\t [--[no-]rev-index] [<pack-file>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.691Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":52}}689{"id":"doc-git_git_prune_packed_documentation-fa68040b","source":"documentation","title":"Git - git-prune-packed Documentation","url":"http://git-scm.com/docs/git-prune-packed","text":"Example:\n```text\ngit prune-packed [-n | --dry-run] [-q | --quiet]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.691Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":21}}690{"id":"doc-git_git_pack_objects_documentation-fdd4ceab","source":"documentation","title":"Git - git-pack-objects Documentation","url":"http://git-scm.com/docs/git-pack-objects","text":"Example:\n```text\ngit pack-objects [-q | --progress | --all-progress] [--all-progress-implied]\n\t\t [--no-reuse-delta] [--delta-base-offset] [--non-empty]\n\t\t [--local] [--incremental] [--window=<n>] [--depth=<n>]\n\t\t [--revs [--unpacked | --all]] [--keep-pack=<pack-name>]\n\t\t [--cruft] [--cruft-expiration=<time>]\n\t\t [--stdout [--filter=<filter-spec>] | <base-name>]\n\t\t [--shallow] [--keep-true-parents] [--[no-]sparse]\n\t\t [--name-hash-version=<n>] [--path-walk] < <object-list>\n```\n\nExample:\n```text\n[pack]\nisland = refs/heads/\nisland = refs/tags/\n```\n\nExample:\n```text\n[pack]\nisland = refs/virtual/([0-9]+)/heads/\nisland = refs/virtual/([0-9]+)/tags/\nisland = refs/virtual/([0-9]+)/(pull)/\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.693Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":28,"estimatedTokens":180}}691{"id":"doc-git_git_config_documentation-f8572fb3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.37.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.707Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}692{"id":"doc-git_git_config_documentation-c6dde1e3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.38.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.726Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}693{"id":"doc-git_git_diagnose_documentation-53cb5d5e","source":"documentation","title":"Git - git-diagnose Documentation","url":"http://git-scm.com/docs/git-diagnose","text":"Example:\n```text\ngit diagnose [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n\t [--mode=<mode>]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.726Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":7,"estimatedTokens":34}}694{"id":"doc-git_git_verify_tag_documentation-d6d962dd","source":"documentation","title":"Git - git-verify-tag Documentation","url":"http://git-scm.com/docs/git-verify-tag","text":"Example:\n```text\ngitverify-tag-v--verbose--format=--raw\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.726Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":19}}695{"id":"doc-git_git_show_branch_documentation-0475d965","source":"documentation","title":"Git - git-show-branch Documentation","url":"http://git-scm.com/docs/git-show-branch","text":"Example:\n```text\ngit show-branch [-a | --all] [-r | --remotes] [--topo-order | --date-order]\n\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n\t\t[--more=<n> | --list | --independent | --merge-base]\n\t\t[--no-name | --sha1-name] [--topics]\n\t\t[(<rev> | <glob>)…]\ngit show-branch (-g | --reflog)[=<n>[,<base>]] [--list] [<ref>]\n```\n\nExample:\n```text\n$ git show-branch master fixes mhf\n* [master] Add 'git show-branch'.\n ! [fixes] Introduce \"reset type\" flag to \"git reset\"\n ! [mhf] Allow \"+remote:local\" refspec to cause --force when fetching.\n---\n + [mhf] Allow \"+remote:local\" refspec to cause --force when fetching.\n + [mhf~1] Use git-octopus when pulling more than one head.\n + [fixes] Introduce \"reset type\" flag to \"git reset\"\n + [mhf~2] \"git fetch --force\".\n + [mhf~3] Use .git/remote/origin, not .git/branches/origin.\n + [mhf~4] Make \"git pull\" and \"git fetch\" default to origin\n + [mhf~5] Infamous 'octopus merge'\n + [mhf~6] Retire git-parse-remote.\n + [mhf~7] Multi-head fetch.\n + [mhf~8] Start adding the $GIT_DIR/remotes/ support.\n*++ [master] Add 'git show-branch'.\n```\n\nExample:\n```text\n[showbranch]\n\tdefault = --topo-order\n\tdefault = heads/*\n```\n\nExample:\n```text\n$ git show-branch --reflog=\"10,1 hour ago\" --list master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":43,"estimatedTokens":317}}696{"id":"doc-git_git_annotate_documentation-ad33f016","source":"documentation","title":"Git - git-annotate Documentation","url":"http://git-scm.com/docs/git-annotate","text":"Example:\n```text\ngit annotate [<options>] [<rev-opts>] [<rev>] [--] <file>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.727Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":23}}697{"id":"doc-git_git_whatchanged_documentation-14ab08a7","source":"documentation","title":"Git - git-whatchanged Documentation","url":"http://git-scm.com/docs/git-whatchanged","text":"Example:\n```text\ngitwhatchanged\n```\n\nExample:\n```text\ngit log --raw --no-merges\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":25}}698{"id":"doc-git_git_merge_tree_documentation-315aa17c","source":"documentation","title":"Git - git-merge-tree Documentation","url":"http://git-scm.com/docs/git-merge-tree","text":"Example:\n```text\ngit merge-tree [--write-tree] [<options>] <branch1> <branch2>\ngit merge-tree [--trivial-merge] <base-tree> <branch1> <branch2> (deprecated)\n```\n\nExample:\n```text\n<OID of toplevel tree>\n```\n\nExample:\n```text\n<OID of toplevel tree>\n<Conflicted file info>\n<Informational messages>\n```\n\nExample:\n```text\n<Merge status>\n<OID of toplevel tree>\n<Conflicted file info>\n<Informational messages>\nNUL\n<Merge status>\n<OID of toplevel tree>\nNUL\n```\n\nExample:\n```text\n0: merge had conflicts\n1: merge was clean\n```\n\nExample:\n```text\n<mode> <object> <stage> <filename>\n```\n\nExample:\n```text\n<list-of-paths><conflict-type>NUL<conflict-message>NUL\n```\n\nExample:\n```text\n<number-of-paths>NUL<path1>NUL<path2>NUL...<pathN>NUL\n```\n\nExample:\n```text\nvi message.txt\nBRANCH1=refs/heads/test\nBRANCH2=main\nNEWTREE=$(git merge-tree --write-tree $BRANCH1 $BRANCH2) || {\n echo \"There were conflicts...\" 1>&2\n exit 1\n}\nNEWCOMMIT=$(git commit-tree $NEWTREE -F message.txt \\\n -p $BRANCH1 -p $BRANCH2)\ngit update-ref $BRANCH1 $NEWCOMMIT\n```\n\nExample:\n```text\n[<base-commit> -- ]<branch1> <branch2>\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":71,"estimatedTokens":277}}699{"id":"doc-git_git_repack_documentation-81feaafc","source":"documentation","title":"Git - git-repack Documentation","url":"http://git-scm.com/docs/git-repack","text":"Example:\n```text\ngit repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n\t[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]\n\t[--write-midx[=<mode>]] [--name-hash-version=<n>] [--path-walk]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":8,"estimatedTokens":58}}700{"id":"doc-git_git_config_documentation-01c7e491","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.43.6","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.744Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}701{"id":"doc-git_git_config_documentation-fbf496fd","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.45.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--comment=<message>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] [--comment=<message>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--comment=<message>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.763Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":276,"estimatedTokens":1566}}702{"id":"doc-git_git_config_documentation-00426e7c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.47.1","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.778Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1369}}703{"id":"doc-git_git_config_documentation-e77e1aeb","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.46.2","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1371}}704{"id":"doc-git_git_config_documentation-b7063773","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.46.1","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.828Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1371}}705{"id":"doc-git_git_config_documentation-e8f7b754","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.44.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nIf only a single pack bitmap is available, and\n`pack.allowPackReuse` is set to \"multi\", reuse parts of just the\nbitmapped packfile. This can reduce memory and CPU usage to\nserve fetches, but might result in sending a slightly larger\npack. Defaults to true.\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":263,"estimatedTokens":1455}}706{"id":"doc-git_git_config_documentation-c99143d7","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.44.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nIf only a single pack bitmap is available, and\n`pack.allowPackReuse` is set to \"multi\", reuse parts of just the\nbitmapped packfile. This can reduce memory and CPU usage to\nserve fetches, but might result in sending a slightly larger\npack. Defaults to true.\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":263,"estimatedTokens":1455}}707{"id":"doc-git_git_config_documentation-42ba0d7a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.45.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--comment=<message>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] [--comment=<message>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--comment=<message>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":27,"totalLines":276,"estimatedTokens":1566}}708{"id":"doc-git_git_config_documentation-aa485bc8","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.46.0","text":"Example:\n```text\ngit config list [<file-option>] [<display-option>] [--includes]\ngit config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp=<regexp>] [--value=<value>] [--fixed-value] [--default=<default>] <name>\ngit config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>\ngit config rename-section [<file-option>] <old-name> <new-name>\ngit config remove-section [<file-option>] <name>\ngit config edit [<file-option>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\n```\n\nExample:\n```text\nIf _<message>_ begins with one or more whitespaces followed\nby \"#\", it is used as-is. If it begins with \"#\", a space is\nprepended before it is used. Otherwise, a string \" # \" (a\nspace followed by a hash followed by a space) is prepended\nto it. And the resulting string is placed immediately after\nthe value defined for the variable. The _<message>_ must\nnot contain linefeed characters (no multi-line comments are\npermitted).\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config set core.filemode true\n```\n\nExample:\n```text\n% git config set --value='for kernel.org$' core.gitproxy '\"ssh\" for kernel.org'\n```\n\nExample:\n```text\n% git config unset diff.renames\n```\n\nExample:\n```text\n% git config get core.filemode\n```\n\nExample:\n```text\n% git config get --value=\"for kernel.org$\" core.gitproxy\n```\n\nExample:\n```text\n% git config get --all --show-names core.gitproxy\n```\n\nExample:\n```text\n% git config set --all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='! for ' core.gitproxy ssh\n```\n\nExample:\n```text\n% git config set --value='[!]' section.key value\n```\n\nExample:\n```text\n% git config set --append core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config get --type=color --default=\"blue reverse\" color.diff.whitespace)\nRESET=$(git config get --type=color --default=\"reset\" \"\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config get --type=bool --url=https://good.example.com http.sslverify\ntrue\n% git config get --type=bool --url=https://weak.example.com http.sslverify\nfalse\n% git config get --url=https://weak.example.com http\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[core]\n# single character for older versions\ncommentChar = \"#\"\n# string for newer versions (which will override commentChar\n# because it comes later in the file)\ncommentString = \"//\"\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":264,"estimatedTokens":1373}}709{"id":"doc-git_git_config_documentation-bdde4909","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.18.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.906Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":31,"totalLines":225,"estimatedTokens":1094}}710{"id":"doc-git_git_config_documentation-fa23e75a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.42.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.924Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}711{"id":"doc-git_git_config_documentation-51a8ad7c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.43.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.939Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}712{"id":"doc-git_git_config_documentation-0b35c512","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.42.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.958Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}713{"id":"doc-git_git_config_documentation-79a823c3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.41.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.972Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}714{"id":"doc-git_git_config_documentation-9836b6a7","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.43.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:38.996Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}715{"id":"doc-git_git_config_documentation-51ff50e3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.41.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.019Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}716{"id":"doc-git_git_config_documentation-555a633a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.36.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.033Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}717{"id":"doc-git_git_config_documentation-2b58284d","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.38.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.051Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}718{"id":"doc-git_git_config_documentation-50b31bdb","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.37.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.065Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}719{"id":"doc-git_git_config_documentation-7d665cf2","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.36.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.083Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}720{"id":"doc-git_git_config_documentation-4c918e11","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.40.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.097Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}721{"id":"doc-git_git_config_documentation-386c52f7","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.36.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.119Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}722{"id":"doc-git_git_config_documentation-0874c82a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.38.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.133Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}723{"id":"doc-git_git_config_documentation-2765c8e9","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.8.6","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.152Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":868}}724{"id":"doc-git_git_config_documentation-0def9989","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.17.0","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.162Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":31,"totalLines":225,"estimatedTokens":1078}}725{"id":"doc-git_git_config_documentation-5dddee0f","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.16.6","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.171Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":31,"totalLines":225,"estimatedTokens":1078}}726{"id":"doc-git_git_config_documentation-88333b15","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.11.4","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.187Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":868}}727{"id":"doc-git_git_config_documentation-9c3c5ed3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.10.5","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.196Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":868}}728{"id":"doc-git_git_config_documentation-3958bef8","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.9.5","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.205Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":868}}729{"id":"doc-git_git_config_documentation-0af1a0eb","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.5","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.226Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}730{"id":"doc-git_git_config_documentation-fb9c7d76","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.248Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}731{"id":"doc-git_git_config_documentation-df7d9eab","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.32.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.261Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}732{"id":"doc-git_git_config_documentation-4095f68f","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.32.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.278Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}733{"id":"doc-git_git_config_documentation-856875ad","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.291Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}734{"id":"doc-git_git_config_documentation-78c20b85","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.308Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}735{"id":"doc-git_git_config_documentation-bd91beb3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.321Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}736{"id":"doc-git_git_config_documentation-b65394a5","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.3","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.338Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}737{"id":"doc-git_git_config_documentation-7aced79a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.5","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.351Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}738{"id":"doc-git_git_config_documentation-8af88b54","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.375Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}739{"id":"doc-git_git_config_documentation-333f1139","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.31.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.388Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}740{"id":"doc-git_git_config_documentation-860f2084","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.6","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.411Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}741{"id":"doc-git_git_config_documentation-bb6e0622","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.4","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.433Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}742{"id":"doc-git_git_config_documentation-b50814d9","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.25.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.445Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":237,"estimatedTokens":1187}}743{"id":"doc-git_git_config_documentation-9449f80b","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.28.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.462Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":23,"totalLines":234,"estimatedTokens":1201}}744{"id":"doc-git_git_config_documentation-465f4cf1","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.27.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.474Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":23,"totalLines":234,"estimatedTokens":1201}}745{"id":"doc-git_git_config_documentation-835c1bee","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.23.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.485Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":34,"totalLines":246,"estimatedTokens":1169}}746{"id":"doc-git_git_config_documentation-91347f48","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.30.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] name [value [value-pattern]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all name value [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all name [value-pattern]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp name_regex [value-pattern]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] [--fixed-value] --unset name [value-pattern]\ngit config [<file-option>] [--fixed-value] --unset-all name [value-pattern]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.507Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":240,"estimatedTokens":1270}}747{"id":"doc-git_git_config_documentation-7f24133a","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.26.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.520Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":237,"estimatedTokens":1206}}748{"id":"doc-git_git_config_documentation-23c645a3","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.22.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.540Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1131}}749{"id":"doc-git_git_config_documentation-ffc10b2c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.25.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.552Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":23,"totalLines":219,"estimatedTokens":1128}}750{"id":"doc-git_git_config_documentation-5f5f982f","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.37.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--fixed-value] [--show-origin] [--show-scope] [-z|--null] <name> [<value> [<value-pattern>]]\ngit config [<file-option>] [--type=<type>] --add <name> <value>\ngit config [<file-option>] [--type=<type>] [--fixed-value] --replace-all <name> <value> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] --get-all <name> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [--show-origin] [--show-scope] [-z|--null] [--fixed-value] [--name-only] --get-regexp <name-regex> [<value-pattern>]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch <name> <URL>\ngit config [<file-option>] [--fixed-value] --unset <name> [<value-pattern>]\ngit config [<file-option>] [--fixed-value] --unset-all <name> [<value-pattern>]\ngit config [<file-option>] --rename-section <old-name> <new-name>\ngit config [<file-option>] --remove-section <name>\ngit config [<file-option>] [--show-origin] [--show-scope] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color <name> [<default>]\ngit config [<file-option>] --get-colorbool <name> [<stdout-is-tty>]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n\n; include only if a remote with the given URL exists (note\n; that such a URL may be provided later in a file or in a\n; file read after this file is read, as seen in this example)\n[includeIf \"hasconfig:remote.*.url:https://example.com/**\"]\n\tpath = foo.inc\n[remote \"origin\"]\n\turl = https://example.com/git\n```\n\nExample:\n```text\nOtherwise, this variable contains the pathname of the \"fsmonitor\"\nhook command.\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\ngit config --system --add receive.procReceiveRefs ad:refs/heads\ngit config --system --add receive.procReceiveRefs !:refs/heads\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.573Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":254,"estimatedTokens":1385}}751{"id":"doc-git_git_config_documentation-651e7a14","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.21.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.584Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1131}}752{"id":"doc-git_git_config_documentation-c237e490","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.22.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.599Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1131}}753{"id":"doc-git_git_config_documentation-49b2e81c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.19.2","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.609Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1128}}754{"id":"doc-git_git_config_documentation-e22bc455","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.20.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.619Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1131}}755{"id":"doc-git_git_config_documentation-dda47ecd","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.12.5","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.632Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":868}}756{"id":"doc-git_git_config_documentation-6357d556","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.25.1","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n[format]\n\tnotes = true\n\tnotes = foo\n\tnotes = false\n\tnotes = bar\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.644Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":23,"totalLines":219,"estimatedTokens":1128}}757{"id":"doc-git_git_config_documentation-2dee8d51","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.24.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --type=bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --type=bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\n; include only if we are in a worktree where foo-branch is\n; currently checked out\n[includeIf \"onbranch:foo-branch\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.661Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":210,"estimatedTokens":1106}}758{"id":"doc-git_git_config_documentation-6e2c6bf6","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.19.0","text":"Example:\n```text\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [--type=<type>] --add name value\ngit config [<file-option>] [--type=<type>] --replace-all name value [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [--type=<type>] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [--type=<type>] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\nExample:\n```text\np deadbee The oneline of the commit\n\tp fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\npick deadbee The oneline of the commit\n\tpick fa1afe1 The oneline of the next commit\n\t...\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n```\n\nExample:\n```text\n[section.subsection]\n key = value1\n key = value2\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.671Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":33,"totalLines":238,"estimatedTokens":1128}}759{"id":"doc-git_git_config_documentation-b13f17f2","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.7.6","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.679Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":847}}760{"id":"doc-git_git_config_documentation-18e9d550","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.3.10","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookiefile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.690Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}761{"id":"doc-git_git_config_documentation-b789c080","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.5.6","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.697Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}762{"id":"doc-git_git_config_documentation-d0c94b39","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.4.12","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.704Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}763{"id":"doc-git_git_config_documentation-7f6d193c","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.14.6","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.714Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":211,"estimatedTokens":1024}}764{"id":"doc-git_git_config_documentation-e38b74fc","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.15.4","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.728Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":211,"estimatedTokens":1024}}765{"id":"doc-git_git_checkout_documentation-63696293","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/pt_BR","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<ramo>]\ngit checkout [-q] [-f] [-m] --detach [<ramo>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <novo-ramo>] [<ponto-de-partida>]\ngit checkout [-f] <tree-ish> [--] <pathspec>…\ngit checkout [-f] <tree-ish> --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<estilo>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<estilo>] --pathspec-from-file=<arquivo> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<árvore>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <ramo> --track <remoto>/<ramo>\n```\n\nExample:\n```text\n$ git branch -f <ramo> [<ponto-de-partida>]\n$ git checkout <ramo>\n```\n\nExample:\n```text\nHEAD (refere-se ao ramo 'master')\n |\n v\na---b---c ramo 'master' (refere-se ao commit 'c')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ editar; git adicionar; git commit\n\n HEAD (refere-se ao ramo 'master')\n |\n v\na---b---c---d ramo 'master' (refere-se ao commit 'd')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # ou\n$ git checkout master^^\n\n HEAD (refere-se ao commit 'b')\n |\n v\na---b---c---d ramo 'master' (refere-se ao commit 'd')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ editar; git adicionar; git commit\n\n HEAD (refere-se ao commit 'e')\n |\n v\n e\n /\na---b---c---d ramo 'master' (refere-se ao commit 'd')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ editar; git adicionar; git commit\n\n\t HEAD (refere-se ao commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d ramo 'master' (refere-se ao commit 'd')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refere-se ao ramo 'master')\n e---f |\n / v\na---b---c---d ramo 'master' (refere-se ao commit 'd')\n ^\n |\n tag 'v2.0' (refere-se ao commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # ou\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.729Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":168,"estimatedTokens":756}}766{"id":"doc-git_git_checkout_documentation-809d8aaa","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.54.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.731Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":159,"estimatedTokens":664}}767{"id":"doc-git_git_checkout_documentation-d555c5b7","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.50.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout-f--gitcheckout-f--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.732Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":160,"estimatedTokens":675}}768{"id":"doc-git_git_checkout_documentation-61234721","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.51.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout-f--gitcheckout-f--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.734Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":160,"estimatedTokens":675}}769{"id":"doc-git_git_checkout_documentation-d3229852","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/uk","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (посилається на гілку «master»')\n |\n v\na---b---c гілка 'master' (посилається на коміт 'c'))\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (посилається на гілку «master»')\n |\n v\na---b---c---d гілка 'master' (стосується комміту 'd')\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # або\n$ git checkout master^^\n\n HEAD (посилається на коміт 'b')\n |\n v\na---b---c---d гілка 'master' (стосується комміту 'd')\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (посилається на commit 'e')\n |\n v\n e\n /\na---b---c---d гілка 'master' (посилається на коміт 'd')\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (посилається на коміт 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d гілка 'master' (посилається на коміт 'd')\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (стосується гілки «головна»)\n e---f |\n / v\na---b---c---d гілка 'master' (стосується комміту 'd')\n ^\n |\n tag 'v2.0' (посилається на коміт 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # або\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nпомилка: Ви внесли локальні зміни до 'frotz'; гілки не перемикаються.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nЗастосовано autostash.\nГулку змінено на 'mytopic'\nНаступні шляхи містять локальні зміни:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nВаші локальні зміни збережено у сховку, однак їх застосування\nпризвело до конфліктів. Ви можете або усунути конфлікти,\nа потім видалити сховок за допомогою команди «git stash drop», або, якщо\nви не хочете усувати їх зараз, виконати команду «git reset --hard» і\nзастосувати локальні зміни пізніше за допомогою команди «git stash pop».\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.735Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":751}}770{"id":"doc-git_git_checkout_documentation-073d8d53","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/fr","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branche> --track <distant>/<branche>\n```\n\nExample:\n```text\nHEAD (se réfère à la branche 'master')\n |\n v\na---b---c branch 'master' (se réfère au commit 'c')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (se réfère à la branche 'master')\n |\n v\na---b---c---d branche 'master' (se réfère au commit 'd')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # ou\n$ git checkout master^^\n\n HEAD (se réfère au commit 'b')\n |\n v\na---b---c---d branch 'master' (se réfère au commit 'd')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (se réfère au commit 'e')\n |\n v\n e\n /\na---b---c---d branche 'master' (se réfère au commit 'd')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (se réfère au commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branche 'master' (se réfère au commit 'd')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (se réfère au branch 'master')\n e---f |\n / v\na---b---c---d branche 'master' (se réfère au commit 'd')\n ^\n |\n tag 'v2.0' (se réfère au commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # ou \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # ou\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout monsujet\n```\n\nExample:\n```text\n$ git checkout monsujet\nerror: Vos modifications locales aux fichiers suivants seraient écrasées par l'extraction :\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nVos modifications locales sont remisées, mais leur application\na produit des conflits. Vous pouvez soit résoudre les conflits\net ensuite supprimer la remise avec \"git stash drop\", ou, si vous\nne voulez pas les résoudre maintenant, lancez \"git reset --hard\" et\nappliquez les modifications locales plus tard avec \"git stash pop\".\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.736Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":756}}771{"id":"doc-git_git_checkout_documentation-f583aa7c","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.47.1","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f] <tree-ish> [--] <pathspec>…\ngit checkout [-f] <tree-ish> --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.738Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":168,"estimatedTokens":741}}772{"id":"doc-git_git_checkout_documentation-f4ecebbb","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.52.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.739Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":159,"estimatedTokens":664}}773{"id":"doc-git_git_checkout_documentation-6c9a369f","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.53.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.741Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":159,"estimatedTokens":664}}774{"id":"doc-git_git_checkout_documentation-f6c4b662","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/zh_HANS-CN","text":"Example:\n```text\ngitcheckout'-q-f-mgitcheckout'-q-f-m--detachgitcheckout'-q-f-m--detachgitcheckout'-q-f-m-b-B--orphangitcheckout'-f--gitcheckout'-f--pathspec-from-file=--pathspec-file-nulgitcheckout'-f--ours--theirs-m--conflict=--gitcheckout'-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout'-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <分支> --track <远程仓库>/<分支>\n```\n\nExample:\n```text\nHEAD('master'分支的引用)\n |\n v\na---b---c branch 'master'('c' 提交的引用)\n ^\n |\n tag 'v2.0' ('b' 提交的引用)\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (指向'master'分支)\n |\n v\na---b---c---d 分支'master' (指向提交'd')\n ^\n |\n tag 'v2.0' (指向提交'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # 或\n$ git checkout master^^\n\n HEAD (指向提交'b')\n |\n v\na---b---c---d 分支'master'(指向提交'd')\n ^\n |\n tag 'v2.0' (指向提交'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (指向提交'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (指向提交'd')\n ^\n |\n tag 'v2.0' (指向提交'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD(指向提交'f')。\n\t |\n\t v\n e---f\n /\na---b---c---d 分支\"master\"(指向提交'd')。\n ^\n |\n tag 'v2.0'(指向提交'b')。\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD(指向分支 'master')\n e---f |\n / v\na---b---c---d branch 'master' (指向提交 'd')\n ^\n |\n tag 'v2.0' (指向提交 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # 或\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\n错误:您对 'footz' 有本地更改;未切换分支。\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nYour local changes are stashed, however applying them\nresulted in conflicts. You can either resolve the conflicts\nand then discard the stash with \"git stash drop\", or, if you\ndo not want to resolve them now, run \"git reset --hard\" and\napply the local changes later by running \"git stash pop\".\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.742Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":153,"estimatedTokens":623}}775{"id":"doc-git_git_config_documentation-51b15c29","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.6.7","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.750Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":181,"estimatedTokens":847}}776{"id":"doc-git_git_checkout_documentation-2ef0b5f2","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/ru","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <ветка> --track <внешний-репозиторий>/<ветка>\n```\n\nExample:\n```text\nHEAD (ссылается на ветку 'master')\n |\n v\na---b---c ветка 'master' (ссылается на коммит 'c')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (ссылается на ветку 'master')\n |\n v\na---b---c---d ветка 'master' (ссылается на коммит 'd')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # или\n$ git checkout master^^\n\n HEAD (ссылается на коммит 'b')\n |\n v\na---b---c---d ветка 'master' (ссылается на коммит 'd')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (ссылается на коммит 'e')\n |\n v\n e\n /\na---b---c---d ветка 'master' (ссылается на коммит 'd')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (ссылается на коммит 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d ветка 'master' (ссылается на коммит 'd')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (ссылается на ветку 'master')\n e---f |\n / v\na---b---c---d ветка 'master' (ссылается на коммит 'd')\n ^\n |\n метка 'v2.0' (ссылается на коммит 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # или \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # или\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nошибка: У вас есть локальные изменения в 'frotz'; переключение веток не выполняется.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nПрименён автотайник.\nПереключено на ветку 'mytopic'\nСледующие пути имеют локальные изменения:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nВаши локальные изменения спрятаны, однако их применение\nпривело к конфликтам. Вы можете либо разрешить конфликты,\nа затем удалить тайник с помощью «git stash drop», либо, если\nвы не хотите разрешать их сейчас, выполните «git reset --hard»\nи примените локальные изменения позже с помощью «git stash pop».\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.751Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":751}}777{"id":"doc-git_git_checkout_documentation-f2884d5a","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/sv","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <gren> --track <fjärr>/<gren>\n```\n\nExample:\n```text\nHEAD (hänvisar till gren 'master')\n |\n v\na---b---c gren 'master' (rhänvisar to incheckning 'c')\n ^\n |\n tagg 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (hänvisar till gren 'master')\n |\n v\na---b---c---d gren 'master' (hänvisar till incheckning 'd')\n ^\n |\n tagg 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # eller\n$ git checkout master^^\n\n HEAD (hänvisar till incheckning 'b')\n |\n v\na---b---c---d gren 'master' (hänvisar till incheckning 'd')\n ^\n |\n tagg 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (hänvisar till incheckning 'e')\n |\n v\n e\n /\na---b---c---d gren 'master' (hänvisar till incheckning 'd')\n ^\n |\n tagg 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (hänvisar till incheckning 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d gren 'master' (hänvisar till incheckning 'd')\n ^\n |\n tagg 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (hänvisar till gren 'master')\n e---f |\n / v\na---b---c---d gren 'master' (refers to incheckning 'd')\n ^\n |\n tag 'v2.0' (hänvisar till incheckning 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # eller \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # eller\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- fil.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mittämne\n```\n\nExample:\n```text\n$ git checkout mittämne\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nYour local changes are stashed, however applying them\nresulted in conflicts. You can either resolve the conflicts\nand then discard the stash with \"git stash drop\", or, if you\ndo not want to resolve them now, run \"git reset --hard\" and\napply the local changes later by running \"git stash pop\".\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.753Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":758}}778{"id":"doc-git_git_config_documentation-60d774e9","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.13.7","text":"Example:\n```text\ngit config [<file-option>] [type] [--show-origin] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [--show-origin] [-z|--null] [--name-only] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [--show-origin] [-z|--null] [--name-only] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookieFile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo.inc ; find \"foo.inc\" relative to the current file\n\tpath = ~/foo.inc ; find \"foo.inc\" in your `$HOME` directory\n```\n\nExample:\n```text\n; include if $GIT_DIR is /path/to/foo/.git\n[includeIf \"gitdir:/path/to/foo/.git\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside /path/to/group\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; include for all repositories inside $HOME/to/group\n[includeIf \"gitdir:~/to/group/\"]\n\tpath = /path/to/foo.inc\n```\n\nExample:\n```text\n; relative paths are always relative to the including\n; file (if the condition is true); their location is not\n; affected by the condition\n[includeIf \"gitdir:/path/to/group/\"]\n\tpath = foo.inc\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.767Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":29,"totalLines":211,"estimatedTokens":1024}}779{"id":"doc-git_git_checkout_documentation-18d55091","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.55.0","text":"Example:\n```text\ngitcheckout-q-f-mgitcheckout-q-f-m--detachgitcheckout-q-f-m--detachgitcheckout-q-f-m-b-B--orphangitcheckout--gitcheckout--pathspec-from-file=--pathspec-file-nulgitcheckout-f--ours--theirs-m--conflict=--gitcheckout-f--ours--theirs-m--conflict=--pathspec-from-file=--pathspec-file-nulgitcheckout-p--patch--\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\ngit checkout -- file.txt\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nYour local changes are stashed, however applying them\nresulted in conflicts. You can either resolve the conflicts\nand then discard the stash with \"git stash drop\", or, if you\ndo not want to resolve them now, run \"git reset --hard\" and\napply the local changes later by running \"git stash pop\".\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.768Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":158,"estimatedTokens":724}}780{"id":"doc-git_git_checkout_documentation-cc6c7515","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.40.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.770Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":716}}781{"id":"doc-git_git_checkout_documentation-d0cf0caf","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.43.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f] <tree-ish> [--] <pathspec>…\ngit checkout [-f] <tree-ish> --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.771Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":168,"estimatedTokens":741}}782{"id":"doc-git_git_checkout_documentation-e0ffcc39","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.41.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.773Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":716}}783{"id":"doc-git_git_checkout_documentation-74ea610b","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.44.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f] <tree-ish> [--] <pathspec>…\ngit checkout [-f] <tree-ish> --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.774Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":168,"estimatedTokens":741}}784{"id":"doc-git_git_checkout_documentation-814cd3fc","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.38.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.776Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}785{"id":"doc-git_git_config_documentation-2bd6c088","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.1.4","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookiefile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.783Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}786{"id":"doc-git_git_config_documentation-666f1083","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.0.5","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookiefile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.789Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}787{"id":"doc-git_git_config_documentation-5d8c0a86","source":"documentation","title":"Git - git-config Documentation","url":"http://git-scm.com/docs/git-config/2.2.3","text":"Example:\n```text\ngit config [<file-option>] [type] [-z|--null] name [value [value_regex]]\ngit config [<file-option>] [type] --add name value\ngit config [<file-option>] [type] --replace-all name value [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-all name [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]\ngit config [<file-option>] [type] [-z|--null] --get-urlmatch name URL\ngit config [<file-option>] --unset name [value_regex]\ngit config [<file-option>] --unset-all name [value_regex]\ngit config [<file-option>] --rename-section old_name new_name\ngit config [<file-option>] --remove-section name\ngit config [<file-option>] [-z|--null] -l | --list\ngit config [<file-option>] --get-color name [default]\ngit config [<file-option>] --get-colorbool name [stdout-is-tty]\ngit config [<file-option>] -e | --edit\n```\n\nExample:\n```text\n#\n# This is the config file, and\n# a '#' or ';' character indicates\n# a comment\n#\n```\n\nExample:\n```text\n; core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n; Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n; Proxy settings\n[core]\n\tgitproxy=proxy-command for kernel.org\n\tgitproxy=default-proxy ; for all the rest\n```\n\nExample:\n```text\n; HTTP\n[http]\n\tsslVerify\n[http \"https://weak.example.com\"]\n\tsslVerify = false\n\tcookieFile = /tmp/cookie.txt\n```\n\nExample:\n```text\n% git config core.filemode true\n```\n\nExample:\n```text\n% git config core.gitproxy '\"ssh\" for kernel.org' 'for kernel.org$'\n```\n\nExample:\n```text\n% git config --unset diff.renames\n```\n\nExample:\n```text\n% git config --get core.filemode\n```\n\nExample:\n```text\n% git config core.filemode\n```\n\nExample:\n```text\n% git config --get core.gitproxy \"for kernel.org$\"\n```\n\nExample:\n```text\n% git config --get-all core.gitproxy\n```\n\nExample:\n```text\n% git config --replace-all core.gitproxy ssh\n```\n\nExample:\n```text\n% git config core.gitproxy ssh '! for '\n```\n\nExample:\n```text\n% git config section.key value '[!]'\n```\n\nExample:\n```text\n% git config --add core.gitproxy '\"proxy-command\" for example.com'\n```\n\nExample:\n```text\n#!/bin/sh\nWS=$(git config --get-color color.diff.whitespace \"blue reverse\")\nRESET=$(git config --get-color \"\" \"reset\")\necho \"${WS}your whitespace color or blue reverse${RESET}\"\n```\n\nExample:\n```text\n% git config --bool --get-urlmatch http.sslverify https://good.example.com\ntrue\n% git config --bool --get-urlmatch http.sslverify https://weak.example.com\nfalse\n% git config --get-urlmatch http https://weak.example.com\nhttp.cookiefile /tmp/cookie.txt\nhttp.sslverify false\n```\n\nExample:\n```text\n[section \"subsection\"]\n```\n\nExample:\n```text\n# Core variables\n[core]\n\t; Don't trust file modes\n\tfilemode = false\n```\n\nExample:\n```text\n# Our diff algorithm\n[diff]\n\texternal = /usr/local/bin/diff-wrapper\n\trenames = true\n```\n\nExample:\n```text\n[branch \"devel\"]\n\tremote = origin\n\tmerge = refs/heads/devel\n```\n\nExample:\n```text\n# Proxy settings\n[core]\n\tgitProxy=\"ssh\" for \"kernel.org\"\n\tgitProxy=default-proxy ; for the rest\n```\n\nExample:\n```text\n[include]\n\tpath = /path/to/foo.inc ; include by absolute path\n\tpath = foo ; expand \"foo\" relative to the current file\n\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n```\n\nExample:\n```text\nWhen preserve, also pass `--preserve-merges` along to 'git rebase'\nso that locally committed merge commits will not be flattened\nby running 'git pull'.\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.797Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":188,"estimatedTokens":884}}788{"id":"doc-git_git_difftool_documentation-a33d4a01","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.0.5","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.797Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}789{"id":"doc-git_git_mergetool_documentation-1d918208","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/zh_HANS-CN","text":"Example:\n```text\n'git mergetool' [--tool=<工具>] [-y |--[no-]prompt] [<文件>…] 。\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.798Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}790{"id":"doc-git_git_mergetool_documentation-8b6132e7","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.38.2","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.798Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}791{"id":"doc-git_git_checkout_documentation-9c05e74f","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.39.3","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.800Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}792{"id":"doc-git_git_checkout_documentation-9e43e570","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.43.1","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f] <tree-ish> [--] <pathspec>…\ngit checkout [-f] <tree-ish> --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo # or \"git switch -c foo\" (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.801Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":168,"estimatedTokens":741}}793{"id":"doc-git_git_checkout_documentation-46f7679f","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.34.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.803Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}794{"id":"doc-git_git_checkout_documentation-0b99bece","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.35.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new-branch>] [<start-point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start-point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.804Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}795{"id":"doc-git_git_checkout_documentation-e1d7d744","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.27.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.810Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}796{"id":"doc-git_git_checkout_documentation-36d712d2","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.30.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.812Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}797{"id":"doc-git_git_checkout_documentation-ec690a14","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.23.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.813Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":677}}798{"id":"doc-git_git_checkout_documentation-448e3bc3","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.21.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.814Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":677}}799{"id":"doc-git_git_checkout_documentation-46c65d66","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.22.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.816Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":677}}800{"id":"doc-git_git_checkout_documentation-0447420a","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.25.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.817Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}801{"id":"doc-git_git_remote_documentation-7d5fa6d5","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/fr","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":298}}802{"id":"doc-git_git_remote_documentation-5ca77cd4","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/sv","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.818Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":298}}803{"id":"doc-git_git_checkout_documentation-887ba128","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.29.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <pathspec>…\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] --pathspec-from-file=<file> [--pathspec-file-nul]\ngit checkout (-p|--patch) [<tree-ish>] [--] [<pathspec>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.820Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":698}}804{"id":"doc-git_git_checkout_documentation-4c8f15ea","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.16.6","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.821Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":663}}805{"id":"doc-git_git_checkout_documentation-d08fb5b4","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.14.6","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.822Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":663}}806{"id":"doc-git_git_checkout_documentation-04698706","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.10.5","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.823Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}807{"id":"doc-git_git_checkout_documentation-47ac87cd","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.13.7","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.825Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}808{"id":"doc-git_git_checkout_documentation-30a60ccd","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.19.0","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":663}}809{"id":"doc-git_git_remote_documentation-0180d4e0","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/uk","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nЗ git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.826Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":297}}810{"id":"doc-git_git_remote_documentation-61c2168f","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/ru","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.827Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":298}}811{"id":"doc-git_git_remote_documentation-48a6aa20","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/pt_BR","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>\ngit remote rename [--[no-]progress] <antigo> <novo>\ngit remote remove <nome>\ngit remote set-head <nome> (-a | --auto | -d | --delete | <ramo>)\ngit remote set-branches [--add] <nome> <ramo>…\ngit remote get-url [--push] [--all] <nome>\ngit remote set-url [--push] <nome> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <nome> <newurl>\ngit remote set-url --delete [--push] <nome> <URL>\ngit remote [-v | --verbose] show [-n] <nome>…\ngit remote prune [-n | --dry-run] <nome>…\ngit remote [-v | --verbose] update [-p | --prune] [(<grupo> | <remoto>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nDo git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.828Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":377}}812{"id":"doc-git_git_checkout_documentation-dbc9e9c6","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.9.5","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.829Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}813{"id":"doc-git_git_checkout_documentation-4152a133","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.4.12","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.830Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}814{"id":"doc-git_git_checkout_documentation-8c9b0f8c","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.5.6","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.831Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}815{"id":"doc-git_git_checkout_documentation-70d76f69","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.0.5","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.832Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}816{"id":"doc-git_git_checkout_documentation-0c03f4b3","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.19.2","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [<tree-ish>] [--] <pathspec>…\ngit checkout (-p|--patch) [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n |\n v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to branch 'master')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.834Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":166,"estimatedTokens":677}}817{"id":"doc-git_git_remote_documentation-00b19f28","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.30.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.835Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}818{"id":"doc-git_git_remote_documentation-dd68c35c","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.9.5","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}819{"id":"doc-git_git_remote_documentation-e243f074","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.53.0","text":"Example:\n```text\ngitremote-v--verbosegitremoteadd-t-m-f--no-tags--mirror=fetchpushgitremoterename--no-progressgitremoteremovegitremoteset-head-a--auto-d--deletegitremoteset-branches--addgitremoteget-url--push--allgitremoteset-url--pushgitremoteset-url--add--pushgitremoteset-url--delete--pushgitremote-v--verboseshow-ngitremoteprune-n--dry-rungitremote-v--verboseupdate-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.836Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":298}}820{"id":"doc-git_git_remote_documentation-c50cbac8","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.45.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>\ngit remote rename [--[no-]progress] <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <URL>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":377}}821{"id":"doc-git_git_remote_documentation-a22ce7d3","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.23.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.837Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}822{"id":"doc-git_git_remote_documentation-9794454c","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.36.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>\ngit remote rename [--[no-]progress] <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <URL>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.838Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":377}}823{"id":"doc-git_git_checkout_documentation-7be5a0b4","source":"documentation","title":"Git - git-checkout Documentation","url":"http://git-scm.com/docs/git-checkout/2.7.6","text":"Example:\n```text\ngit checkout [-q] [-f] [-m] [<branch>]\ngit checkout [-q] [-f] [-m] --detach [<branch>]\ngit checkout [-q] [-f] [-m] [--detach] <commit>\ngit checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]\ngit checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…\ngit checkout [-p|--patch] [<tree-ish>] [--] [<paths>…]\n```\n\nExample:\n```text\n$ git checkout -b <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git branch -f <branch> [<start point>]\n$ git checkout <branch>\n```\n\nExample:\n```text\nHEAD (refers to branch 'master')\n\t |\n\t v\na---b---c branch 'master' (refers to commit 'c')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to branch 'master')\n\t\t|\n\t\tv\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout v2.0 # or\n$ git checkout master^^\n\n HEAD (refers to commit 'b')\n |\n v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n HEAD (refers to commit 'e')\n |\n v\n e\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ edit; git add; git commit\n\n\t HEAD (refers to commit 'f')\n\t |\n\t v\n e---f\n /\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout master\n\n\t HEAD (refers to branch 'master')\n e---f |\n / v\na---b---c---d branch 'master' (refers to commit 'd')\n ^\n |\n tag 'v2.0' (refers to commit 'b')\n```\n\nExample:\n```text\n$ git checkout -b foo (1)\n$ git branch foo (2)\n$ git tag foo (3)\n```\n\nExample:\n```text\n$ git reflog -2 HEAD # or\n$ git log -g -2 HEAD\n```\n\nExample:\n```text\n$ git checkout master (1)\n$ git checkout master~2 Makefile (2)\n$ rm -f hello.c\n$ git checkout hello.c (3)\n```\n\nExample:\n```text\n$ git checkout -- '*.c'\n```\n\nExample:\n```text\n$ git checkout -- hello.c\n```\n\nExample:\n```text\n$ git checkout mytopic\n```\n\nExample:\n```text\n$ git checkout mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git checkout -m mytopic\nAuto-merging frotz\nERROR: Merge conflict in frotz\nfatal: merge program failed\n```\n\nExample:\n```text\n$ edit frotz\n$ git add frotz\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.839Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":165,"estimatedTokens":652}}824{"id":"doc-git_git_remote_documentation-c1ccb087","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.35.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <URL>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}825{"id":"doc-git_git_remote_documentation-eee36ba1","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.18.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.840Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}826{"id":"doc-git_git_remote_documentation-592ae3fa","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.29.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}827{"id":"doc-git_git_remote_documentation-b5a0bc42","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.37.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL>\ngit remote rename [--[no-]progress] <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <URL>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.841Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":377}}828{"id":"doc-git_git_remote_documentation-65bf0f8f","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.7.6","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}829{"id":"doc-git_git_remote_documentation-70a924b0","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/zh_HANS-CN","text":"Example:\n```text\ngitremote'-v--verbosegitremoteadd'-t-m-f--no-tags--mirror=fetchpushgitremoterename'--no-progressgitremoteremove'gitremoteset-head'-a--auto-d--deletegitremoteset-branches'--addgitremoteget-url'--push--allgitremoteset-url'--pushgitremoteset-url--add'--pushgitremoteset-url--delete'--pushgitremote'-v--verboseshow'-ngitremoteprune'-n--dry-rungitremote'-v--verboseupdate'-p--prune\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git switch -c staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.842Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":42,"estimatedTokens":301}}830{"id":"doc-git_git_remote_documentation-1a0ef103","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.17.0","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote get-url [--push] [--all] <name>\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":54,"estimatedTokens":373}}831{"id":"doc-git_git_switch_documentation-f96a831f","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.30.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.843Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}832{"id":"doc-git_git_remote_documentation-c9405338","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.0.5","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.844Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":53,"estimatedTokens":363}}833{"id":"doc-git_git_switch_documentation-6f03796b","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.35.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}834{"id":"doc-git_git_remote_documentation-ba95cdee","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.6.7","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.845Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":53,"estimatedTokens":363}}835{"id":"doc-git_git_remote_documentation-95e6cac8","source":"documentation","title":"Git - git-remote Documentation","url":"http://git-scm.com/docs/git-remote/2.3.10","text":"Example:\n```text\ngit remote [-v | --verbose]\ngit remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>\ngit remote rename <old> <new>\ngit remote remove <name>\ngit remote set-head <name> (-a | --auto | -d | --delete | <branch>)\ngit remote set-branches [--add] <name> <branch>…\ngit remote set-url [--push] <name> <newurl> [<oldurl>]\ngit remote set-url --add [--push] <name> <newurl>\ngit remote set-url --delete [--push] <name> <url>\ngit remote [-v | --verbose] show [-n] <name>…\ngit remote prune [-n | --dry-run] <name>…\ngit remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)…]\n```\n\nExample:\n```text\n$ git remote\norigin\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n$ git remote add staging git://git.kernel.org/.../gregkh/staging.git\n$ git remote\norigin\nstaging\n$ git fetch staging\n...\nFrom git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n * [new branch] master -> staging/master\n * [new branch] staging-linus -> staging/staging-linus\n * [new branch] staging-next -> staging/staging-next\n$ git branch -r\n origin/HEAD -> origin/master\n origin/master\n staging/master\n staging/staging-linus\n staging/staging-next\n$ git checkout -b staging staging/master\n...\n```\n\nExample:\n```text\n$ mkdir project.git\n$ cd project.git\n$ git init\n$ git remote add -f -t master -m master origin git://example.com/git.git/\n$ git merge origin\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.846Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":3,"totalLines":53,"estimatedTokens":363}}836{"id":"doc-git_git_switch_documentation-087ca85f","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.50.0","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f _<new-branch>_\n$ git switch _<new-branch>_\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch `new-topic` set up to track remote branch `new-topic` from `origin`\nSwitched to a new branch `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.846Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":259}}837{"id":"doc-git_git_switch_documentation-ea869a9d","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.23.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.847Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}838{"id":"doc-git_git_switch_documentation-22dd8fe9","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.27.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.848Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}839{"id":"doc-git_git_switch_documentation-cdc5f011","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.38.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.848Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}840{"id":"doc-git_git_switch_documentation-2ca803e7","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/sv","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <ny-gren>\n$ git switch <ny-gren>\n```\n\nExample:\n```text\n$ git branch -f _<ny-gren>_\n$ git switch _<ny-gren>_\n```\n\nExample:\n```text\n$ git switch -c <gren> --track <fjärr>/<gren>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mittämne\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mittämne\nSlår ihop frotz automatiskt\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nVäxlade till en ny gren \"fixup\"\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch `new-topic` set up to track remote branch `new-topic` from `origin`\nSwitched to a new branch `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c bra-överraskningar\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.849Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":259}}841{"id":"doc-git_git_switch_documentation-898acaeb","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/uk","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f _<new-branch>_\n$ git switch _<new-branch>_\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch `new-topic` set up to track remote branch `new-topic` from `origin`\nSwitched to a new branch `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.849Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":259}}842{"id":"doc-git_git_switch_documentation-09e3d0d5","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/pt_BR","text":"Example:\n```text\ngit switch [<opções>] [--no-guess] <ramo>\ngit switch [<opções>] --detach [<ponto-de-partida>]\ngit switch [<opções>] (-c|-C) <novo-ramo> [<ponto-de-partida>]\ngit switch [<opções>] --orphan <novo-ramo>\n```\n\nExample:\n```text\n$ git branch <novo-ramo>\n$ git switch <novo-ramo>\n```\n\nExample:\n```text\n$ git branch -f <novo-ramo>\n$ git switch <novo-ramo>\n```\n\nExample:\n```text\n$ git switch -c <ramo> --track <remoto>/<ramo>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerro: você tem alterações locais em 'frotz'; não mudar de ramo.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nFoi alternado para um novo ramo 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nO ramo 'new-topic' foi configurada para monitorar o ramo remoto 'new-topic' da 'origin'\nFoi alternado para um novo ramo 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":296}}843{"id":"doc-git_git_switch_documentation-c1c3a578","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/ru","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <новая-ветка>\n$ git switch <новая-ветка>\n```\n\nExample:\n```text\n$ git branch -f _<новая-ветка>_\n$ git switch _<новая-ветка>_\n```\n\nExample:\n```text\n$ git switch -c <ветка> --track <внешний-репозиторий>/<ветка>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch моя-тема\n```\n\nExample:\n```text\n$ git switch моя-тема\nошибка: У вас есть локальные изменения в 'frotz'; переключение веток не выполняется.\n```\n\nExample:\n```text\n$ git switch -m моя-тема\nАвтослияние frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c исправление HEAD~3\nПереключено на новую ветку 'исправление'\n```\n\nExample:\n```text\n$ git switch новая-тема\nВетка `новая-тема` настроена на отслеживание внешней ветки `новая-тема` из `origin`\nПереключено на новую ветку `новая-тема`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD сейчас указывает на 9fc9555312 Слияние ветки 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c хорошие-сюрпризы\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.850Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":278}}844{"id":"doc-git_git_switch_documentation-6b480cea","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.43.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.851Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}845{"id":"doc-git_git_switch_documentation-0838dde6","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.55.0","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f _<new-branch>_\n$ git switch _<new-branch>_\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nApplied autostash.\nSwitched to branch 'mytopic'\nThe following paths have local changes:\nM\tfrotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch `new-topic` set up to track remote branch `new-topic` from `origin`\nSwitched to a new branch `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":279}}846{"id":"doc-git_git_switch_documentation-3bd90d73","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/zh_HANS-CN","text":"Example:\n```text\ngitswitch'--no-guessgitswitch'--detachgitswitch'-c-Cgitswitch'--orphan\n```\n\nExample:\n```text\n$ git branch <新分支>\n$ git switch <新分支>\n```\n\nExample:\n```text\n$ git branch -f <新分支>\n$ git switch <新分支>\n```\n\nExample:\n```text\n$ git switch -c <分支> --track <远程仓库>/<分支>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: 你对 'footz' 进行了本地更改,而不是切换分支。\n```\n\nExample:\n```text\n$ git switch -m mytopic\n自动合并 frotz 中\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\n切换到新分支 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\n设置了分支 `new-topic`,以跟踪来自 `origin` 的远程分支 `new-topic`\n切换到一个新分支 `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD 现为 9fc9555312 合并分支 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.852Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":222}}847{"id":"doc-git_git_switch_documentation-aac0f976","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.43.1","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.853Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}848{"id":"doc-git_git_switch_documentation-056775ed","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/2.44.0","text":"Example:\n```text\ngit switch [<options>] [--no-guess] <branch>\ngit switch [<options>] --detach [<start-point>]\ngit switch [<options>] (-c|-C) <new-branch> [<start-point>]\ngit switch [<options>] --orphan <new-branch>\n```\n\nExample:\n```text\n$ git branch <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git branch -f <new-branch>\n$ git switch <new-branch>\n```\n\nExample:\n```text\n$ git switch -c <branch> --track <remote>/<branch>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch mytopic\n```\n\nExample:\n```text\n$ git switch mytopic\nerror: You have local changes to 'frotz'; not switching branches.\n```\n\nExample:\n```text\n$ git switch -m mytopic\nAuto-merging frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nSwitched to a new branch 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranch 'new-topic' set up to track remote branch 'new-topic' from 'origin'\nSwitched to a new branch 'new-topic'\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD is now at 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c good-surprises\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.854Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":77,"estimatedTokens":291}}849{"id":"doc-git_git_switch_documentation-a068e5b3","source":"documentation","title":"Git - git-switch Documentation","url":"http://git-scm.com/docs/git-switch/fr","text":"Example:\n```text\ngitswitch--no-guessgitswitch--detachgitswitch-c-Cgitswitch--orphan\n```\n\nExample:\n```text\n$ git branch <nouvelle-branche>\n$ git switch <nouvelle-branche>\n```\n\nExample:\n```text\n$ git branch -f _<nouvelle-branche>_\n$ git switch _<nouvelle-branche>_\n```\n\nExample:\n```text\n$ git switch -c <branche> --track <distant>/<branche>\n```\n\nExample:\n```text\n$ git switch master\n```\n\nExample:\n```text\n$ git switch monsujet\n```\n\nExample:\n```text\n$ git switch monsujet\nerror : Vos modifications locales aux fichiers suivants seraient écrasées par l'extraction :\n```\n\nExample:\n```text\n$ git switch -m monsujet\nFusion automatique de frotz\n```\n\nExample:\n```text\n$ git switch -\n```\n\nExample:\n```text\n$ git switch -c fixup HEAD~3\nBasculement sur la nouvelle branche 'fixup'\n```\n\nExample:\n```text\n$ git switch new-topic\nBranche `new-topic` configurée pour suivre la branche distante `new-topic` depuis `origin`\nBasculement sur la nouvelle branche `new-topic`\n```\n\nExample:\n```text\n$ git switch --detach HEAD~3\nHEAD est maintenant sur 9fc9555312 Merge branch 'cc/shared-index-permbits'\n```\n\nExample:\n```text\n$ git switch -c bonne-surprise\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.855Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":13,"totalLines":74,"estimatedTokens":288}}850{"id":"doc-git_git_merge_documentation-007bbb37","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/zh_HANS-CN","text":"Example:\n```text\n'git merge' [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <策略>] [-X <策略选项>] [-S[<键 ID>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <信息>] [-F <文件>]\n\t[--into-name <分支>] [<提交>…]\n'git merge' (--continue |--abort |--quit)\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\n这里是与共同的祖先相比没有变化的行。\n祖先没有变化,或者因为只有一方发生了变化而得到干净的解决、\n或者因为两边都有相同的变化而被干净地解决了。\n<<<<<<< yours:sample.txt\n冲突的解决是困难的;\n让我们去购物吧。\n=======\nGit让冲突解决变得简单。\n>>>>>>> theirs:sample.txt\n而这里是另一行干净利落的解决或未修改的内容。\n```\n\nExample:\n```text\n这里是与共同的祖先相比没有变化的行。\n祖先没有变化,或者因为只有一方发生了变化而得到了干净的解决、\n<<<<<<< yours:sample.txt\n或干净地解决了,因为双方都以同样的方式改变了。\n冲突的解决是很难的;\n让我们去购物吧。\n||||||| base:sample.txt\n或干净利落地解决了,因为双方的变化都一样。\n冲突的解决是很难的。\n=======\n或干净利落地解决了,因为双方都有相同的变化。\nGit使冲突解决变得容易。\n>>>>>>> theirs:sample.txt\n而这里是另一行被干净地解决或未修改的。\n```\n\nExample:\n```text\n这里是与共同的祖先相比没有变化的行。\n祖先没有变化,或者因为只有一方发生了变化而得到干净的解决、\n或者因为两边都有相同的变化而被干净地解决了。\n<<<<<<< yours:sample.txt\n冲突的解决是困难的;\n让我们去购物吧。\n||||||| base:sample.txt\n或干净利落地解决,因为双方的变化都一样。\n冲突的解决是很难的。\n=======\nGit 让冲突解决变得简单。\n>>>>>>> theirs:sample.txt\n而这里是另一行被干净地解决或未修改的内容。\n```\n\nExample:\n```text\n$ git merge 修复增强功能\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.856Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":89,"estimatedTokens":343}}851{"id":"doc-git_git_merge_documentation-3dba7d7b","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/pt_BR","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nAqui estão as linhas que não são alteradas em relação ao ancestral\ncomum ou resolvido de maneira limpa porque apenas um lado foi alterado\nou foi resolvido de forma limpa porque ambos os lados foram igualmente alterados.\n<<<<<<< yours:sample.txt\nA resolução de conflitos é difícil;\nvamos às compras.\n=======\nO Git facilita a resolução de conflitos.\n>>>>>>> theirs:sample.txt\nE aqui está outra linha que foi claramente resolvida ou não foi modificada.\n```\n\nExample:\n```text\nAqui estão as linhas que não são alteradas em relação ao ancestral\ncomum ou foi resolvido de maneira limpa porque apenas um lado foi alterado.\n<<<<<<< seu:sample.txt\nou resolvidos de forma limpa porque ambos os lados foram alterados igualmente.\nA resolução de conflitos é difícil;\nvamos às compras.\n||||||| base:sample.txt\nou resolvidos de forma limpa porque ambos os lados foram igualmente alterados.\nA resolução de conflitos é difícil.\n=======\nou resolvidos de forma limpa porque ambos os lados foram alterados igualmente.\nO git facilita a resolução de conflitos.\n>>>>>>> deles:sample.txt\nE aqui está outra linha que foi resolvida ou não foi modificada.\n```\n\nExample:\n```text\nAqui estão as linhas que não são alteradas a partir do ancestral\ncomum ou foi resolvido de maneira limpa porque apenas um lado foi alterado,\nou foi resolvido de maneira limpa porque apenas um lado foi alterado.\n<<<<<<< seu:sample.txt\nA resolução de conflitos é difícil;\nvamos às compras.\n||||||| base:sample.txt\nou resolvidos de forma limpa porque ambos os lados foram igualmente alterados.\nA resolução de conflitos é difícil;\n=======\nO Git facilita a resolução de conflitos.\n>>>>>>> deles:sample.txt\nE aqui está outra linha que foi claramente resolvida ou não foi modificada.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.858Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":591}}852{"id":"doc-git_git_merge_documentation-920326d0","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/uk","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nОсь рядки, які або залишилися без змін порівняно зі спільним\nпредком, або розвʼязані без конфліктів, оскільки змінилася лише одна сторона,\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\n<<<<<<< ваш:sample.txt\nРозвʼязання конфліктів — це складно;\nХодімо на закупи.\n=======\nGit спрощує розв’язання конфліктів.\n>>>>>>> їхній:sample.txt\nА ось ще один рядок, який розв’язано без конфліктів або який залишився без змін.\n```\n\nExample:\n```text\nОсь рядки, які або залишилися без змін порівняно зі спільним\nпредком, або розвʼязані без конфліктів, оскільки змінилася лише одна сторона,\n<<<<<<< ваш:sample.txt\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\nРозвʼязання конфліктів — це складно;\nХодімо на закупи.\n||||||| базовий:sample.txt\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\nРозвʼязання конфліктів — це складно.\n=======\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\nGit спрощує вирішення конфліктів.\n>>>>>>> їхній:sample.txt\nА ось ще один рядок, який розв’язано без конфліктів або який залишився без змін.\n```\n\nExample:\n```text\nОсь рядки, які або залишилися без змін порівняно зі спільним\nпредком, або розвʼязані без конфліктів, оскільки змінилася лише одна сторона,\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\n<<<<<<< ваш:sample.txt\nРозвʼязання конфліктів — це складно;\nХодімо на закупи.\n||||||| base:sample.txt\nабо розвʼязані без конфліктів, оскільки обидві сторони змінилися однаково.\nРозвʼязання конфліктів — це складно.\n=======\nGit спрощує вирішення конфліктів.\n>>>>>>> їхній:sample.txt\nА ось ще один рядок, який розв’язано без конфліктів або який залишився без змін.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.859Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":588}}853{"id":"doc-git_git_merge_documentation-3497b460","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.50.0","text":"Example:\n```text\ngitmerge-n--stat--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.861Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":525}}854{"id":"doc-git_git_merge_documentation-3e8898c8","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/ru","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nВот строки, которые либо не изменились по сравнению с общим\nпредком, либо чисто разрешены, потому что изменилась только одна сторона,\nлибо чисто разрешены, потому что обе стороны изменились одинаково.\n<<<<<<< yours:sample.txt\nРазрешение конфликтов — это сложно;\nпойдём по магазинам.\n=======\nGit делает разрешение конфликтов лёгким.\n>>>>>>> theirs:sample.txt\nА вот другая строка, которая либо чисто разрешена, либо не изменена.\n```\n\nExample:\n```text\nВот строки, которые либо не изменились по сравнению с общим\nпредком, либо чисто разрешены, потому что изменилась только одна сторона,\n<<<<<<< yours:sample.txt\nлибо чисто разрешены, потому что обе стороны изменились одинаково.\nРазрешение конфликтов — это сложно;\nпойдём по магазинам.\n||||||| base:sample.txt\nлибо чисто разрешены, потому что обе стороны изменились идентично.\nРазрешение конфликтов — это сложно.\n=======\nлибо чисто разрешены, потому что обе стороны изменились одинаково.\nGit делает разрешение конфликтов лёгким.\n>>>>>>> theirs:sample.txt\nА вот другая строка, которая либо чисто разрешена, либо не изменена.\n```\n\nExample:\n```text\nВот строки, которые либо не изменились по сравнению с общим\nпредком, либо чисто разрешены, потому что изменилась только одна сторона,\nлибо чисто разрешены, потому что обе стороны изменились одинаково.\n<<<<<<< yours:sample.txt\nРазрешение конфликтов — это сложно;\nпойдём по магазинам.\n||||||| base:sample.txt\nлибо чисто разрешены, потому что обе стороны изменились идентично.\nРазрешение конфликтов — это сложно.\n=======\nGit делает разрешение конфликтов лёгким.\n>>>>>>> theirs:sample.txt\nА вот другая строка, которая либо чисто разрешена, либо не изменена.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.862Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":571}}855{"id":"doc-git_git_merge_documentation-ed1e31d4","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.54.0","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.864Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":532}}856{"id":"doc-git_git_merge_documentation-47e2ae2b","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.49.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.866Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}857{"id":"doc-git_git_merge_documentation-503edf86","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.51.0","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.868Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":532}}858{"id":"doc-git_git_merge_documentation-bbd202c0","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.52.0","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.870Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":532}}859{"id":"doc-git_git_merge_documentation-7ab55064","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/sv","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C ämne\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C ämne\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHär är rader som antingen är oförändrade från den gemensamma\nförfadern, eller är rent upplösta eftersom bara en sida har ändrats,\neller är rent upplösta eftersom båda sidor har ändrats på samma sätt.\n<<<<<<<< din:prov.txt\nKonfliktlösning är svårt;\nlåt oss gå och handla.\n=======\nGit gör konfliktlösning enkelt.\n>>>>>>>> deras:prov.txt\nOch här är en annan rad som är rent upplöst eller omodifierad.\n```\n\nExample:\n```text\nHär är rader som antingen är oförändrade från den gemensamma\nförfadern, eller rent lösta eftersom bara en sida ändrades,\n<<<<<<<< din:prov.txt\neller rent lösta eftersom båda sidor ändrades på samma sätt.\nKonfliktlösning är svårt;\nlåt oss gå och handla.\n||||||| bas:prov.txt\neller rent lösta eftersom båda sidor ändrades identiskt.\nKonfliktlösning är svårt.\n=======\neller rent lösta eftersom båda sidor ändrades på samma sätt.\nGit gör konfliktlösning enkel.\n>>>>>>> deras:prov.txt\nOch här är en annan rad som är rent löst eller omodifierad.\n```\n\nExample:\n```text\nHär är rader som antingen är oförändrade från den gemensamma\nförfadern, eller rent lösta eftersom bara en sida ändrades,\neller rent lösta eftersom båda sidor ändrades på samma sätt.\n<<<<<<<< din:prov.txt\nKonfliktlösning är svårt;\nlåt oss gå och shoppa.\n||||||| bas:prov.txt\neller rent lösta eftersom båda sidor ändrades identiskt.\nKonfliktlösning är svårt.\n=======\nGit gör konfliktlösning enkel.\n>>>>>>>> deras:prov.txt\nOch här är en annan rad som är rent löst eller omodifierad.\n```\n\nExample:\n```text\n$ git merge fixar förbättringar\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.873Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":525}}860{"id":"doc-git_git_merge_documentation-8872a283","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.43.1","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.875Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}861{"id":"doc-git_git_merge_documentation-0a1e5194","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.43.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.877Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}862{"id":"doc-git_git_merge_documentation-dd8a5b51","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.53.0","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C topic\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.879Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":532}}863{"id":"doc-git_git_merge_documentation-85f7cff2","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.33.1","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.881Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}864{"id":"doc-git_git_merge_documentation-ce9dca36","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/fr","text":"Example:\n```text\ngitmerge-n--stat--compact-summary--no-commit--squash--no-edit--no-verify-s-X-S--no-allow-unrelated-histories--no-rerere-autoupdate-m-F--into-namegitmerge--continue--abort--quit\n```\n\nExample:\n```text\nA---B---C sujet\n /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nVoici des lignes qui sont soit inchangées par rapport à l'ancêtre\ncommun, ou résolues proprement parce qu'un seul côté a changé,\nou parce que les deux côtés ont changé de la même manière.\n<<<<<<< yours : exemple.txt\nLa résolution des conflits est difficile ;\nallons faire du shopping.\n=======\nGit facilite la résolution des conflits.\n>>>>>>> theirs : exemple.txt\nEt voici une autre ligne qui est résolue proprement ou non modifiée.\n```\n\nExample:\n```text\nVoici les lignes qui sont soit inchangées par rapport à l'ancêtre\ncommun, ou proprement résolues parce qu'un seul côté a changé,\n<<<<<<<< yours:exemple.txt\nou parce que les deux côtés ont changé de la même façon.\nLa résolution des conflits est difficile ;\nAllons faire du shopping.\n||||||| base:sample.txt\nou parce que les deux côtés ont changé de la même façon.\nLa résolution des conflits est difficile.\n=======\nou parce que les deux côtés ont changé de la même façon.\nGit facilite la résolution des conflits.\n>>>>>>> theirs:exemple.txt\nEt voici une autre ligne qui est proprement résolue ou non modifiée.\n```\n\nExample:\n```text\nVoici les lignes qui sont soit inchangées par rapport à l'ancêtre\ncommun, ou proprement résolu parce qu'un seul côté a changé,\nou parce que les deux côtés ont changé de la même manière.\n<<<<<<<< yours:exemple.txt\nLa résolution des conflits est difficile ;\nAllons faire du shopping.\n||||||| base:sample.txt\nou parce que les deux côtés ont changé de la même manière.\nLa résolution des conflits est difficile.\n=======\nGit facilite la résolution des conflits.\n>>>>>>> theirs:exemple.txt\nEt voici une autre ligne qui est proprement résolue ou non modifiée.\n```\n\nExample:\n```text\n$ git merge corrections améliorations\n```\n\nExample:\n```text\n$ git merge -s ours obsolète\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.883Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":91,"estimatedTokens":570}}865{"id":"doc-git_git_merge_documentation-38fe332e","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.42.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.885Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}866{"id":"doc-git_git_merge_documentation-0b5ec547","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.47.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.890Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}867{"id":"doc-git_git_merge_documentation-299ab83a","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.38.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.892Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}868{"id":"doc-git_git_merge_documentation-a3d4916d","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.30.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.894Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}869{"id":"doc-git_git_merge_documentation-7cfd55e5","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.39.3","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.896Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}870{"id":"doc-git_git_merge_documentation-ff9a9093","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.34.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.898Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}871{"id":"doc-git_git_merge_documentation-b3e25514","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.33.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.900Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}872{"id":"doc-git_git_merge_documentation-49c49a99","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.29.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.902Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}873{"id":"doc-git_git_merge_documentation-823b5d9f","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.23.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.904Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":354}}874{"id":"doc-git_git_merge_documentation-9600afb5","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.22.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.905Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":353}}875{"id":"doc-git_git_merge_documentation-4a04e25a","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.19.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.907Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":353}}876{"id":"doc-git_git_merge_documentation-34854b16","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.35.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>]\n\t[--into-name <branch>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\n<<<<<<< yours:sample.txt\nor cleanly resolved because both sides changed the same way.\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nor cleanly resolved because both sides changed the same way.\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed,\nor cleanly resolved because both sides changed the same way.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n||||||| base:sample.txt\nor cleanly resolved because both sides changed identically.\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.909Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":10,"totalLines":96,"estimatedTokens":559}}877{"id":"doc-git_git_merge_documentation-1612f8cb","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.22.1","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.911Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":353}}878{"id":"doc-git_git_merge_documentation-a7a978d2","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.20.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":353}}879{"id":"doc-git_git_difftool_documentation-0cf71f9b","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/fr","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<chemin>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.913Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}880{"id":"doc-git_git_merge_documentation-9f5dc1bf","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.17.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.915Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}881{"id":"doc-git_git_merge_documentation-ccbba95f","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.16.6","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.917Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}882{"id":"doc-git_git_merge_documentation-26199e32","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.25.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.919Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}883{"id":"doc-git_git_merge_documentation-94942c5f","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.13.7","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.920Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}884{"id":"doc-git_git_merge_documentation-a8c76c1f","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.27.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.926Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}885{"id":"doc-git_git_merge_documentation-cae99498","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.24.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>…]\ngit merge (--continue | --abort | --quit)\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.928Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":358}}886{"id":"doc-git_git_merge_documentation-0bde9687","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.18.0","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.929Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}887{"id":"doc-git_git_merge_documentation-75459902","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.12.5","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.931Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":76,"estimatedTokens":358}}888{"id":"doc-git_git_merge_documentation-66edf37c","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.9.5","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.933Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":353}}889{"id":"doc-git_git_merge_documentation-e52fbc98","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.2.3","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<key-id>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}890{"id":"doc-git_git_difftool_documentation-5efd5ce5","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/zh_HANS-CN","text":"Example:\n```text\ngit difftool [<选项>] [<提交> [<提交>]] [--] [<路径>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.934Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":21}}891{"id":"doc-git_git_merge_documentation-291fb443","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.15.4","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.936Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}892{"id":"doc-git_git_merge_documentation-b08a7a26","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.6.7","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.938Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}893{"id":"doc-git_git_merge_documentation-7819144a","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.8.6","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.939Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}894{"id":"doc-git_git_merge_documentation-b394a9c9","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.5.6","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<key-id>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.941Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}895{"id":"doc-git_git_merge_documentation-a3339c58","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.14.6","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]\n\t[--[no-]allow-unrelated-histories]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge --abort\ngit merge --continue\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.942Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":75,"estimatedTokens":350}}896{"id":"doc-git_git_difftool_documentation-c3e9ec34","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/ru","text":"Example:\n```text\ngit difftool [<параметры>] [<коммит> [<коммит>]] [--] [<путь>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.943Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}897{"id":"doc-git_git_merge_documentation-99a8a858","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.0.5","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<key-id>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.944Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}898{"id":"doc-git_git_merge_documentation-3a5ef966","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.1.4","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<key-id>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.946Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}899{"id":"doc-git_git_difftool_documentation-ddbc480c","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/uk","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.946Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}900{"id":"doc-git_git_merge_documentation-53219928","source":"documentation","title":"Git - git-merge Documentation","url":"http://git-scm.com/docs/git-merge/2.4.12","text":"Example:\n```text\ngit merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]\n\t[-s <strategy>] [-X <strategy-option>] [-S[<key-id>]]\n\t[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…]\ngit merge <msg> HEAD <commit>…\ngit merge --abort\n```\n\nExample:\n```text\nA---B---C topic\n\t /\n D---E---F---G master\n```\n\nExample:\n```text\nA---B---C topic\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\ngit fetch origin\ngit merge v1.2.3^0\ngit merge --ff-only v1.2.3\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\nHere are lines that are either unchanged from the common\nancestor, or cleanly resolved because only one side changed.\n<<<<<<< yours:sample.txt\nConflict resolution is hard;\nlet's go shopping.\n|||||||\nConflict resolution is hard.\n=======\nGit makes conflict resolution easy.\n>>>>>>> theirs:sample.txt\nAnd here is another line that is cleanly resolved or unmodified.\n```\n\nExample:\n```text\n$ git merge fixes enhancements\n```\n\nExample:\n```text\n$ git merge -s ours obsolete\n```\n\nExample:\n```text\n$ git merge --no-commit maint\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.948Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":74,"estimatedTokens":344}}901{"id":"doc-git_git_difftool_documentation-fbfa1475","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/pt_BR","text":"Example:\n```text\ngit difftool [<opções>] [<commit> [<commit>]] [--] [<caminho>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.948Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}902{"id":"doc-git_git_difftool_documentation-ab0839df","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.43.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.949Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}903{"id":"doc-git_git_difftool_documentation-e95dfbc3","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.49.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.949Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}904{"id":"doc-git_git_difftool_documentation-c7607969","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.38.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.950Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}905{"id":"doc-git_git_difftool_documentation-a12668a9","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.41.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.950Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}906{"id":"doc-git_git_difftool_documentation-a9425b67","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.52.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.950Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}907{"id":"doc-git_git_difftool_documentation-ff25ea19","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.55.0","text":"Example:\n```text\ngitdifftool--\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.951Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":12}}908{"id":"doc-git_git_difftool_documentation-faa7f685","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/sv","text":"Example:\n```text\ngit difftool [<flaggor>] [<incheckning> [<incheckning>]] [--] [<sökväg>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.951Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":28}}909{"id":"doc-git_git_difftool_documentation-2b9d05c0","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.44.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.952Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}910{"id":"doc-git_git_difftool_documentation-63312a8d","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.12.5","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.952Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}911{"id":"doc-git_git_difftool_documentation-734aac7d","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.9.5","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.953Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}912{"id":"doc-git_git_difftool_documentation-2c054027","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.31.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.953Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}913{"id":"doc-git_git_difftool_documentation-449a4a65","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.22.0","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.953Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}914{"id":"doc-git_git_mergetool_documentation-341ecff2","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/sv","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.955Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}915{"id":"doc-git_git_mergetool_documentation-327b8a98","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.52.0","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.956Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":889}}916{"id":"doc-git_git_mergetool_documentation-829c61d0","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/uk","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.956Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}917{"id":"doc-git_git_mergetool_documentation-04b1f06a","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.51.1","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.957Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":889}}918{"id":"doc-git_git_mergetool_documentation-5f887525","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.43.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.958Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}919{"id":"doc-git_git_mergetool_documentation-e8d1bb1c","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/pt_BR","text":"Example:\n```text\ngit mergetool [--tool=<ferramenta>] [-y | --[no-]prompt] [<arquivo>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.958Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":27}}920{"id":"doc-git_git_difftool_documentation-7821d540","source":"documentation","title":"Git - git-difftool Documentation","url":"http://git-scm.com/docs/git-difftool/2.2.3","text":"Example:\n```text\ngit difftool [<options>] [<commit> [<commit>]] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.959Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":25}}921{"id":"doc-git_git_mergetool_documentation-287fb521","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/fr","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.959Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}922{"id":"doc-git_git_mergetool_documentation-579184d2","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.41.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.960Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}923{"id":"doc-git_git_mergetool_documentation-aaecbf69","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.11.4","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.960Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}924{"id":"doc-git_git_mergetool_documentation-da14516f","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/ru","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.961Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":17}}925{"id":"doc-git_git_mergetool_documentation-f0e80452","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.45.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.962Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}926{"id":"doc-git_git_mergetool_documentation-9374cc9c","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.22.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.962Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}927{"id":"doc-git_git_mergetool_documentation-f73449b9","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.38.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.963Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}928{"id":"doc-git_git_mergetool_documentation-1b480045","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.55.0","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.964Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":889}}929{"id":"doc-git_git_mergetool_documentation-39fe827e","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.50.0","text":"Example:\n```text\ngitmergetool--tool=-y--no-prompt\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.965Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":889}}930{"id":"doc-git_git_mergetool_documentation-41dafcec","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.31.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.965Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}931{"id":"doc-git_git_range_diff_documentation-c1116020","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/zh_HANS-CN","text":"Example:\n```text\ngit range-diff [--color=[<何时>]] [--no-color] [<差异选项>]\n\t[--no-dual-color] [--creation-factor=<系数>]\n\t[--left-only | --right-only] [--diff-merges=<格式>]\n\t[--remerge-diff]\n\t( <范围1> <范围2> | <修订1>…<修订2> | <基础> <修订1> <修订2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: 描述一个错误\n +描述一个错误\n @@ -324,5 +324,6\n 这是意料之中的。\n\n -+出乎意料的是,它也会崩溃。\n ++出乎意料的是,它也会崩溃。这是一个bug,陪审团还在讨论如何最好地修复它。\n ++如何最好地修复它,还没有定论。详见 #314 号记录。\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.965Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":322}}932{"id":"doc-git_git_mergetool_documentation-1a708907","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.37.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n`@` > `+` > `/` > `,`\n```\n\nExample:\n```text\nlayout = \"LOCAL,BASE,REMOTE / MERGED\"\n```\n\nExample:\n```text\n------------------------------------------\n| | | |\n| | | |\n| LOCAL | MERGED | REMOTE |\n| | | |\n| | | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| |\n| |\n| MERGED |\n| |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| | |\n| | |\n| | |\n| LOCAL | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| <TAB #1> | TAB #2 | TAB #3 | |\n------------------------------------------\n| | | |\n| LOCAL | BASE | REMOTE |\n| | | |\n------------------------------------------\n| |\n| MERGED |\n| |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | <TAB #2> | TAB #3 | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | LOCAL |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n------------------------------------------\n| TAB #1 | TAB #2 | <TAB #3> | |\n------------------------------------------\n| | |\n| | |\n| | |\n| BASE | REMOTE |\n| | |\n| | |\n| | |\n------------------------------------------\n```\n\nExample:\n```text\n---------------------------------------------\n| TAB #1 | TAB #2 | TAB #3 | <TAB #4> |\n---------------------------------------------\n| LOCAL | |\n|---------------------| |\n| BASE | MERGED |\n|---------------------| |\n| REMOTE | |\n---------------------------------------------\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.966Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":11,"totalLines":122,"estimatedTokens":897}}933{"id":"doc-git_git_mergetool_documentation-93460afe","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.1.4","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.967Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}934{"id":"doc-git_git_mergetool_documentation-2692c236","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.0.5","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.967Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}935{"id":"doc-git_git_mergetool_documentation-06f793a1","source":"documentation","title":"Git - git-mergetool Documentation","url":"http://git-scm.com/docs/git-mergetool/2.20.0","text":"Example:\n```text\ngit mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.967Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":6,"estimatedTokens":24}}936{"id":"doc-git_git_range_diff_documentation-205cab8b","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/pt_BR","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Se prepare para o inevitável!\n1: c0debee = 2: cab005e Adicione uma mensagem de ajuda no início\n2: f00dbal ! 3: decafe1 Descreva o problema\n @@ -1,3 +1,3 @@\n Autor: A U Thor <author@example.com>\n\n -TODO: Descreva um problema\n +Descreva um problema\n @@ -324,5 +324,6\n Já era esperado.\n\n -+O que é inesperado é que também irá travar.\n ++Inesperadamente, ele também trava. Este é um bug, e o júri é\n ++ainda está no ar a maneira de como melhor consertar. Consulte o tíquete #314 para obter mais detalhes.\n\n Contato\n3: bedhead <-: ------- PARA DESFAZER\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.968Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":374}}937{"id":"doc-git_git_range_diff_documentation-d5f5dbb2","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.52.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.969Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":359}}938{"id":"doc-git_git_range_diff_documentation-16724500","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.43.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.969Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":90,"estimatedTokens":348}}939{"id":"doc-git_git_range_diff_documentation-f0d49d75","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/sv","text":"Example:\n```text\ngit range-diff [--color=[<när>]] [--no-color] [<diff-flaggor>]\n\t[--no-dual-color] [--creation-factor=<faktor>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <sökväg>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Förbered dig på det oundvikliga!\n1: c0debee = 2: cab005e Lägg till ett användbart meddelande i början\n2: f00dbal ! 3: decafe1 Beskriv en bugg\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Beskriv en bugg\n +Beskriv en bugg\n @@ -324,5 +324,6\n Detta är förväntat.\n\n -+Det oväntade är att den också kommer att krascha.\n ++Oväntat kraschar den också. Detta är en bugg, och juryn är'\n ++fortfarande ute efter hur man bäst åtgärdar den. Se ärende #314 för mer information.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.970Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":369}}940{"id":"doc-git_git_range_diff_documentation-f0dbf41a","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/uk","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Приготуйтеся до неминучого!\n1: c0debee = 2: cab005e Додайте корисне повідомлення на початку\n2: f00dbal ! 3: decafe1 Опишіть помилку\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Опишіть помилку\n +Опишіть помилку\n @@ -324,5 +324,6\n Це очікувано.\n\n -+Несподівано, але програма також вилітає.\n ++Несподівано, але вона також вилітає. Це помилка, і поки що\n ++немає єдиної думки щодо того, як її найкраще виправити. Детальніше див. тікет #314.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.971Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":361}}941{"id":"doc-git_git_range_diff_documentation-6a7523dd","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.55.0","text":"Example:\n```text\ngitrange-diff--color=--no-color--no-dual-color--creation-factor=--left-only--right-only--diff-merges=--remerge-diff--no-notes--notes=--\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.971Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":86,"estimatedTokens":327}}942{"id":"doc-git_git_range_diff_documentation-de63b32b","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.48.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.972Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":359}}943{"id":"doc-git_git_range_diff_documentation-f904fffc","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.31.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.972Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":89,"estimatedTokens":344}}944{"id":"doc-git_git_range_diff_documentation-8e3b09f3","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/fr","text":"Example:\n```text\ngit range-diff [--color=[<quand>]] [--no-color] [<options-de-diff>]\n\t[--no-dual-color] [--creation-factor=<facteur>]\n\t[--left-only | --right-only] [--diff-merges=<format>]\n\t[--remerge-diff]\n\t( <plage1> <plage2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <chemin>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Décrire un bogue\n +Décrire un bogue\n @@ -324,5 +324,6\n C'est attendu.\n\n -+Ce qui est inattendu est il va aussi se crasher\n ++Étonnamment, il se crash aussi. C'est un bogue et le jury\n ++délibère toujours pour le corriger. Voir ticket #314 pour plus de détails.\n\n Contact\n3: bedead < -: ------- À-DÉFAIRE\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.973Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":363}}945{"id":"doc-git_git_range_diff_documentation-644be7ed","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/ru","text":"Example:\n```text\ngit range-diff [--color=[<когда>]] [--no-color] [<параметры-сравнения>]\n\t[--no-dual-color] [--creation-factor=<фактор>]\n\t[--left-only | --right-only] [--diff-merges=<формат>]\n\t[--remerge-diff]\n\t( <диапазон1> <диапазон2> | <ред1>…<ред2> | <основа> <ред1> <ред2> )\n\t[[--] <путь>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Подготовка к неизбежному!\n1: c0debee = 2: cab005e Добавление полезного сообщения в начале\n2: f00dbal ! 3: decafe1 Описание бага\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Описать баг\n +Описать баг\n @@ -324,5 +324,6\n Это было ожидаемо.\n\n -+Неожиданным было то, что он ещё и упадёт.\n ++Но неожиданно, что он к тому же падает. Это баг и присяжные заседатели всё\n ++ещё совещаются, как его лучше пофиксить. См. подробности в тикете #314.\n\n Для связи:\n3: bedead < -: ------- ОТКАТИ МЕНЯ\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.974Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":91,"estimatedTokens":368}}946{"id":"doc-git_git_range_diff_documentation-05a2bd41","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.38.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t[--left-only | --right-only]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n\t[[--] <path>…]\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.974Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":90,"estimatedTokens":348}}947{"id":"doc-git_git_range_diff_documentation-87f524dd","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.25.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.975Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":88,"estimatedTokens":336}}948{"id":"doc-git_git_range_diff_documentation-bb912d3c","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.20.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.976Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":88,"estimatedTokens":336}}949{"id":"doc-git_git_range_diff_documentation-7366448f","source":"documentation","title":"Git - git-range-diff Documentation","url":"http://git-scm.com/docs/git-range-diff/2.19.0","text":"Example:\n```text\ngit range-diff [--color=[<when>]] [--no-color] [<diff-options>]\n\t[--no-dual-color] [--creation-factor=<factor>]\n\t( <range1> <range2> | <rev1>…<rev2> | <base> <rev1> <rev2> )\n```\n\nExample:\n```text\n$ git range-diff @{u} @{1} @\n```\n\nExample:\n```text\n-: ------- > 1: 0ddba11 Prepare for the inevitable!\n1: c0debee = 2: cab005e Add a helpful message at the start\n2: f00dbal ! 3: decafe1 Describe a bug\n @@ -1,3 +1,3 @@\n Author: A U Thor <author@example.com>\n\n -TODO: Describe a bug\n +Describe a bug\n @@ -324,5 +324,6\n This is expected.\n\n -+What is unexpected is that it will also crash.\n ++Unexpectedly, it also crashes. This is a bug, and the jury is\n ++still out there how to fix it best. See ticket #314 for details.\n\n Contact\n3: bedead < -: ------- TO-UNDO\n```\n\nExample:\n```text\n1 A\n\n 2 B\n\n\t\t C\n```\n\nExample:\n```text\n1 A\n\t /\n 2 --------' B\n\n\t\t C\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n\t `----- C\n\t c>0\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n\t |\n o `----- C\n\t c>0\n o o\n\n o o\n```\n\nExample:\n```text\n1 ----. A\n\t | /\n 2 ----+---' B\n .--+-----'\n o -' `----- C\n\t c>0\n o ---------- o\n\n o ---------- o\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.977Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":88,"estimatedTokens":336}}950{"id":"doc-git_git_worktree_documentation-28a54f0a","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/sv","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <gren> <sökväg> <fjärr>/<gren>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/sökväg/till/bar-källa (bare)\n/sökväg/till/länkat-arbetsträd abcd1234 [master]\n/sökväg/till/annat-länkat-arbetsträd 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/sökväg/till/länkat-arbetsträd abcd1234 [master]\n/sökväg/till/låst-arbetsträd acbd5678 (brancha) locked\n/sökväg/till/beskärbart-arbetsträd 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/sökväg/till/länkat-arbetsträd abcd1234 [master]\n/sökväg/till/länkat-arbetsträd-ej-anlending abcd5678 (detached HEAD) locked\n/sökväg/till/länkat-arbetsträd-med-anlending 1234abcd (brancha)\n locked: arbetsträdssökvägen är monterad på en portabel enhet\n/sökväg/till/prunable-worktree 5678abc1 (detached HEAD)\n prunable: ”gitdir”-filen pekar på en ickeexisterande plats\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /sökväg/till/bar-källa\nbare\n\nworktree /sökväg/till/länkat-arbetsträd\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /sökväg/till/annat-länkat-arbetsträd\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /sökväg/till/länkat-arbetsträd-låst-ingen-anledning\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /sökväg/till/länkat-arbetsträd-låst-med-anledning\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked anledningen till att den är låst\n\nworktree /sökväg/till/beskärbart-arbetsträd\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable ”gitdir”-filen pekar på en ickeexisterande plats\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"orsaken\\nvarför är låst\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b kritisk-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'nödlösning för chefen'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.978Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":594}}951{"id":"doc-git_git_worktree_documentation-68a357c9","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/fr","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branche> <chemin> <distant>/<branche>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/chemin/vers/source-nu (bare)\n/chemin/vers/arbre-de-travail-lié abcd1234 [master]\n/chemin/vers/autre-arbre-de-travail-lié 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/chemin/vers/arbre-de-travail-lié abcd1234 [master]\n/chemin/vers/arbre-de-travail-verrouillé abcd568 (branche-a) locked\n/chemin/vers/arbre-de-travail-élagable 5678abcd (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/chemin/vers/arbre-de-travail-lié abcd1234 [master]\n/chemin/vers/arbre-de-travail-verrouillé-pas-de-raison abcd5678 (HEAD détachée) locked\nchemin/vers/arbre-de-travail-verrouillé-avec-raison 1234abcd (branche-a)\n\tlocked: working tree path is mounted on a portable device\nchemin/vers/arbre-de-travail-elagable 5678abc1 (HEAD détachée)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /chemin/vers/source-nu\nbare\n\nworktree /chemin/vers/arbre-de-travail-lié\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /chemin/vers/autre-arbre-de-travail-lié\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /chemin/vers/arbre-de-travail-lié-verrouillé-avec-raison\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/verrrouille-avec-raison\nraison pourquoi l'arbre est verrouillé\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b correctif-d-urgence ../temp master\n$ pushd ../temp\n# ... travail travail travail ...\n$ git commit -a -m 'correction en urgence pour le patron'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.980Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":611}}952{"id":"doc-git_git_worktree_documentation-48c38dd3","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/ru","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <ветка> <путь> <внешний-репозиторий>/<ветка>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/путь/к/голому-источнику (bare)\n/путь/к/связанному-рабочему-каталогу abcd1234 [master]\n/путь/к/другому-связанному-рабочему-каталогу 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/путь/к/связанному-рабочему-каталогу abcd1234 [master]\n/путь/к/заблокированному-рабочему-каталогу acbd5678 (brancha) locked\n/путь/к/подлежащему-подчистке-рабочему-каталогу 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/путь/к/связанному-рабочему-каталогу abcd1234 [master]\n/путь/к/заблокированному-рабочему-каталогу-без-причины abcd5678 (detached HEAD) locked\n/путь/к/заблокированному-рабочему-каталогу-с-причиной 1234abcd (brancha)\n\tlocked: путь рабочего каталога смонтирован на портативном устройстве\n/путь/к/подлежащему-подчистке-рабочему-каталогу 5678abc1 (detached HEAD)\n\tprunable: файл gitdir указывает на несуществующее местоположение\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /путь/к/голому-источнику\nbare\n\nworktree /путь/к/связанному-рабочему-каталогу\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /путь/к/другому-связанному-рабочему-каталогу\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /путь/к/связанному-рабочему-каталогу-заблокированному-без-причины\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /путь/к/связанному-рабочему-каталогу-заблокированному-с-причиной\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked причина почему заблокирован\n\nworktree /путь/к/связанному-рабочему-каталогу-подлежащему-подчистке\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable файл gitdir указывает на несуществующее местоположение\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"причина\\nпочему заблокирован\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... вносим экстренные правки ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.981Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":639}}953{"id":"doc-git_git_worktree_documentation-5c52a095","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/pt_BR","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <ramo> <caminho> <remoto>/<ramo>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (HEAD desanexado)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) bloqueado\n/path/to/prunable-worktree 5678abc (HEAD desanexada) podável\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (HEAD desanexado) bloqueado\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tbloqueado: a árvore de trabalho está montando em um dispositivo portátil\n/path/to/prunable-worktree 5678abc1 (HEAD desanexado)\n\tpodável: o arquivo gitdir aponta para um local que não existe\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'correção de emergência para o chefe'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.982Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":571}}954{"id":"doc-git_git_worktree_documentation-b38d27ab","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.54.0","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.983Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":558}}955{"id":"doc-git_git_worktree_documentation-8b648a31","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.53.0","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.985Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":558}}956{"id":"doc-git_git_worktree_documentation-942231d4","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/zh_HANS-CN","text":"Example:\n```text\ngitworktreeadd'-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist'-v--porcelain-zgitworktreelock'--reasongitworktreemove'gitworktreeprune'-n-v--expiregitworktreeremove'-fgitworktreerepair'gitworktreeunlock'\n```\n\nExample:\n```text\n$ git worktree add --track -b <分支> <路径> <远程仓库>/<分支>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (裸)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (分离式HEAD)\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (分离的 HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\t锁定:工作区路径被安装在一个可移动设备上\n/path/to/prunable-worktree 5678abc1 (分离的 HEAD)\n\t可修剪:gitdir 文件指向不存在的位置\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\n修剪的gitdir文件指向不存在的位置\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n…\nlocked \"reason\\nwhy is locked\"\n…\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... 嗨骇害 ...\n$ git commit -a -m '老板让我赶紧修复的问题'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.985Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":83,"estimatedTokens":474}}957{"id":"doc-git_git_worktree_documentation-8811261e","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/uk","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nФайл gitdir, який можна очистити, вказує на відсутнє місце розташування\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... відповідь на головне питання про життя, Всесвіт і все інше ....\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.986Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":574}}958{"id":"doc-git_git_worktree_documentation-f5b850b9","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.52.0","text":"Example:\n```text\ngitworktreeadd-f--detach--checkout--lock--reason--orphan-b-Bgitworktreelist-v--porcelain-zgitworktreelock--reasongitworktreemovegitworktreeprune-n-v--expiregitworktreeremove-fgitworktreerepairgitworktreeunlock\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.988Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":91,"estimatedTokens":558}}959{"id":"doc-git_git_worktree_documentation-e45dda7c","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.35.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: working tree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.989Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":98,"estimatedTokens":604}}960{"id":"doc-git_git_worktree_documentation-6f2d1f24","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.36.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.990Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":98,"estimatedTokens":604}}961{"id":"doc-git_git_worktree_documentation-00c317eb","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.39.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]]\n\t\t [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.991Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":605}}962{"id":"doc-git_git_tag_documentation-4cb64ef2","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/zh_HANS-CN","text":"Example:\n```text\ngittag'-a-s-u-f-m-F-e--trailer=:gittag'-dgittag'-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag'-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <GPG 键 ID>\n```\n\nExample:\n```text\n好吧,我搞砸了,我推送了一个标签为X的早期版本。\n然后修复了一些东西,又把这个*修复的*目录树重新标签为X。\n\n如果你得到了错误的标签,并希望得到新的标签,\n请删除旧的标签,并通过以下方式获取新的标签:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\n以获得我的最新标签。\n\n你可以通过以下方式测试你的标签\n\n\tgit rev-parse X\n\n如果你有新的版本,应该返回0123456789abcdef。\n\n不便之处,敬请原谅。\n```\n\nExample:\n```text\nLinus,请从这里拉取\n\n\tgit://git..../proj.git master\n\n以获得以下更新...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.992Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":186}}963{"id":"doc-git_git_tag_documentation-8927a966","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.55.0","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.993Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":250}}964{"id":"doc-git_git_tag_documentation-f93855fa","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.52.0","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.994Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":250}}965{"id":"doc-git_git_tag_documentation-4c92c113","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/pt_BR","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t[(--trailer <token>[(=|:)<value>])…]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <id-da-chave-gpg>\n```\n\nExample:\n```text\nOk, eu estraguei tudo e impulsionei uma versão anterior com a tag X. Eu\nentão consertei alguma coisa e marquei novamente a árvore *corrigida* como X novamente.\n\nCaso tenha pego a etiqueta errada e queira a nova, exclua\no antigo e buscar um novo, fazendo:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\npara obter a minha tag atualizada.\n\nVocê pode testar qual tag você possui fazendo.\n\n\tgit rev-parse X\n\no que também retorna 0123456789abcdef.. caso tenha a nova versão.\n\nPerdoe a inconveniência.\n```\n\nExample:\n```text\nLinus, por favor, capture de\n\n\tgit://git..../proj.git master\n\npara obter as seguintes atualizações...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.995Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":61,"estimatedTokens":331}}966{"id":"doc-git_git_tag_documentation-d44ed0f6","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/sv","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <nyckel-id>\n```\n\nExample:\n```text\nOkej, jag gjorde ett misstag och publicerade en tidigare version taggad som X.\nSedan fixade jag något, och taggade om det *fixade* trädet till X igen.\n\nOm du fick fel tagg och vill ha den nya, vänligen radera\nden gamla och hämta den nya genom att göra:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nför att få min uppdaterade tagg.\n\nDu kan testa vilken tagg du har genom att göra\n\n\tgit rev-parse X\n\nvilket borde returnera 0123456789abcdef.. om du har den nya versionen.\n\nUrsäkta besväret.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nför att få följande uppdateringar...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.996Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":257}}967{"id":"doc-git_git_stash_documentation-4ad8d2e4","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.16.6","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.997Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":82,"estimatedTokens":453}}968{"id":"doc-git_git_stash_documentation-daf024b3","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.13.7","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.998Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":84,"estimatedTokens":482}}969{"id":"doc-git_git_tag_documentation-4bcd4b9c","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/fr","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <id-clé>\n```\n\nExample:\n```text\nOk, je me suis trompé, et j'ai sorti une version antérieure étiquetée X. J'ai\ndepuis corrigé quelque chose, et j'ai à nouveau marqué l'arbre *corrigé* comme X.\n\nSi vous vous êtes trompé d'étiquette et que vous voulez la nouvelle, veuillez supprimer\nl'ancienne et aller chercher la nouvelle en faisant :\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\npour obtenir mon étiquette mise à jour.\n\nVous pouvez vérifier quelle étiquette vous avez en faisant\n\n\tgit rev-parse X\n\nqui devrait renvoyer 0123456789abcdef... si vous avez la nouvelle version.\n\nDésolé pour le désagrément.\n```\n\nExample:\n```text\nLinus, veuillez tirer de\n\n\tgit://git..../proj.git master\n\npour récupérer les mises à jour suivantes…\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:39.999Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":279}}970{"id":"doc-git_git_tag_documentation-ec67ab42","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.46.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t[(--trailer <token>[(=|:)<value>])…]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.000Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":61,"estimatedTokens":319}}971{"id":"doc-git_git_stash_documentation-3e973830","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.55.0","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.001Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":573}}972{"id":"doc-git_git_stash_documentation-a381fec4","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/zh_HANS-CN","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2...更新 git-stash 文档\nstash@{1}: On master: 9cc0589... 添加 git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\n文件 foobar 不是最新的,无法合并。\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... 嗨骇害 ...\n$ git switch -c my_wip\n$ git commit -a -m \"我待会还得写点东西\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"速速修复BUG\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... 继续骇入 ...\n```\n\nExample:\n```text\n# ... 嗨骇害 ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"紧急修复\"\n$ git stash pop\n# ... 继续骇入 ...\n```\n\nExample:\n```text\n# ... 嗨骇害 ...\n$ git add --patch foo # 仅将第一部分添加到索引中\n$ git stash push --keep-index # 将所有其他改动保存到贮藏室中\n$ edit/build/test first part\n$ git commit -m '第一个部分' # 提交完全测试过的改动\n$ git stash pop # 准备处理所有其他改动\n# ... 重复以上五个步骤,直到剩下一个提交...\n$ 编辑/构建/测试剩余部分\n$ git commit foo -m '剩余部分'。\n```\n\nExample:\n```text\n# ... 嗨骇害 ...\n$ git add --patch foo # 将不相关的改动添加到索引中\n$ git stash push --staged # 将这些改动保存到贮藏库中\n# ... 嗨骇害, 完成当前改动 ...\n$ git commit -m '大规模测试' # 提交完全测试过的改动\n$ git switch fixup-branch # 切换到另一个分支\n$ git stash pop # 完成已保存更改的工作\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.002Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":467}}973{"id":"doc-git_git_stash_documentation-457452e7","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.54.0","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quietgitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.003Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":562}}974{"id":"doc-git_git_stash_documentation-d4c650ae","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/sv","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Uppdatera git-stash-dokumentationen\nstash@{1}: On master: 9cc0589... Lägg till git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfil-foobarn är inte uppdaterad, kan inte slås samman.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fixa snabbt\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... fortsätta hacka ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fixa snabbt\"\n$ git stash pop\n# ... fortsätta hacka ...\n```\n\nExample:\n```text\n#... hack hack hack...\n$ git add --patch foo # lägg bara till den första delen i indexet\n$ git stash push --keep-index # spara alla andra ändringar i gömman\n$edit/build/test första delen\n$ git commit -m 'Första delen' # incheckning fullständigt testad ändring\n$ git stash pop # förbered dig för att arbeta med alla andra ändringar\n# ... upprepa ovanstående fem steg tills en incheckning återstår ...\n$edit/build/test återstående delar\n$ git commit foo -m 'Återstående delar'\n```\n\nExample:\n```text\n#... hack hack hack...\n$ git add --patch foo # lägg till orelaterade ändringar i indexet\n$ git stash push --staged # spara dessa ändringar i gömman\n# ... hack hack hack, avsluta aktuella ändringar ...\n$ git commit -m 'Massive' # incheckning fullt testade ändringar\n$ git switch fixup-branch # växla till en annan gren\n$ git stash pop # för att avsluta arbetet med de sparade ändringarna\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.004Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":577}}975{"id":"doc-git_git_stash_documentation-bfc687c4","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/uk","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nФайл foobar не оновлений, об'єднання неможливе.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... відповідь на головне питання про життя, Всесвіт і все інше ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... продовжуємо розмірковувати ...\n```\n\nExample:\n```text\n# ... відповідь на головне питання про життя, Всесвіт і все інше...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... продовжуємо розмірковувати ...\n```\n\nExample:\n```text\n# ... відповідь на головне питання про життя, Всесвіт і все інше ...\n$ git add --patch foo # додати лише першу частину до індексу\n$ git stash push --keep-index # зберегти всі інші зміни до сховку\n$ edit/build/test first part\n$ git commit -m 'First part' # зафіксувати повністю перевірені зміни\n$ git stash pop # підготуватися до роботи над усіма іншими змінами\n# ... повторюйте вищезазначені пʼять кроків, поки не залишиться один коміт ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... відповідь на головне питання про життя, Всесвіт і все інше...\n$ git add --patch foo # додати неповʼязані зміни до індексу\n$ git stash push --staged # зберегти ці зміни у сховищі\n# ... відповідь на головне питання про життя, Всесвіт і все інше, плюс завершити поточні зміни ...\n$ git commit -m 'Massive' # зафіксувати повністю перевірені зміни\n$ git switch fixup-branch # перейти до іншої гілки\n$ git stash pop # завершити роботу над збереженими змінами\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.005Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":649}}976{"id":"doc-git_git_stash_documentation-c7f0ad86","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/fr","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfichier foobar pas à jour, fusion impossible.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... travail, travail, travail ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Correction rapide\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue le travail ...\n```\n\nExample:\n```text\n# ... travail, travail, travail ...\n$ git stash\n$ édition de la correction rapide\n$ git commit -a -m \"Correction en catastrophe\"\n$ git stash pop\n# ... continue le travail ...\n```\n\nExample:\n```text\n# ... travail, travail, travail ...\n$ git add --patch foo # ajouter seulement la première partie de l'index\n$ git stash push --keep-index # remiser toutes les autres modifications\n$ éditer/construire/tester la première partie\n$ git commit -m 'Première partie' # valider une modification complètement testée\n$ git stash pop # préparer à travailler sur les autres modifications\n# ... répéter les cinq tâches ci-dessus jusqu'à ce qu'il ne reste qu'un commit ...\n$ éditer/construire/tester le restant\n$ git commit foo -m 'Partie restante'\n```\n\nExample:\n```text\n# ... travail, travail, travail ...\n$ git add --patch foo # ajouter des modifications sans relation à l'index\n$ git stash push --staged # remiser toutes les autres modifications\n$ #... code, code, code, pour finir les modifications actuelles\n$ git commit -m 'Massive' # valider une modification complètement testée\n$ git switch branche-correctif # basculer sur une autre branche\n$ git stash pop # pour terminer de travailler sur les modifications enregistrées\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.006Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":645}}977{"id":"doc-git_git_stash_documentation-5cc02cef","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/ru","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quiet--label-ours=--label-theirs=--label-base=gitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Обновление документации git-stash\nstash@{1}: On master: 9cc0589... Добавление git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nфайл foobar не актуален, невозможно выполнить слияние.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... хак хак хак ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit срочное исправление\n$ git commit -a -m \"Срочное исправление\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... продолжить взлом ...\n```\n\nExample:\n```text\n# ... хак хак хак ...\n$ git stash\n$ edit срочное исправление\n$ git commit -a -m \"Срочное исправление\"\n$ git stash pop\n# ... продолжить взлом ...\n```\n\nExample:\n```text\n# ... хак хак хак ...\n$ git add --patch foo # добавить только первую часть в индекс\n$ git stash push --keep-index # сохранить все остальные изменения в тайник\n$ edit/build/test первую часть\n$ git commit -m 'Первая часть' # зафиксировать полностью протестированное изменение\n$ git stash pop # подготовиться к работе над всеми остальными изменениями\n# ... повторить вышеуказанные пять шагов, пока не останется один коммит ...\n$ edit/build/test оставшиеся части\n$ git commit foo -m 'Оставшиеся части'\n```\n\nExample:\n```text\n# ... хак хак хак ...\n$ git add --patch foo # добавить несвязанные изменения в индекс\n$ git stash push --staged # сохранить эти изменения в тайник\n# ... хак хак хак, закончить текущие изменения ...\n$ git commit -m 'Масштабные' # зафиксировать полностью протестированные изменения\n$ git switch fixup-branch # переключиться на другую ветку\n$ git stash pop # закончить работу над сохранёнными изменениями\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.007Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":611}}978{"id":"doc-git_git_stash_documentation-4e4785a5","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.11.4","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.007Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":81,"estimatedTokens":443}}979{"id":"doc-git_git_stash_documentation-31605b8c","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.0.5","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.008Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":81,"estimatedTokens":443}}980{"id":"doc-git_git_stash_documentation-32620a7a","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.7.6","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.009Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":81,"estimatedTokens":443}}981{"id":"doc-git_git_stash_documentation-d9a71f05","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.14.6","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.009Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":84,"estimatedTokens":482}}982{"id":"doc-git_git_stash_documentation-1846869a","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.12.5","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [<message>]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash save --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.010Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":81,"estimatedTokens":443}}983{"id":"doc-git_git_stash_documentation-64396e8f","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.26.0","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.011Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":83,"estimatedTokens":469}}984{"id":"doc-git_git_stash_documentation-9a48103c","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.35.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u|--include-untracked|--only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-S|--staged] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish curent changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.012Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":94,"estimatedTokens":590}}985{"id":"doc-git_git_stash_documentation-c108d1ce","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.42.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u | --include-untracked | --only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q | --quiet] [<stash>]\ngit stash pop [--index] [-q | --quiet] [<stash>]\ngit stash apply [--index] [-q | --quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [(-m | --message) <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash save [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [<message>]\ngit stash clear\ngit stash create [<message>]\ngit stash store [(-m | --message) <message>] [-q | --quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.013Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":97,"estimatedTokens":644}}986{"id":"doc-git_git_stash_documentation-a24bda66","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.39.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u | --include-untracked | --only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q | --quiet] [<stash>]\ngit stash pop [--index] [-q | --quiet] [<stash>]\ngit stash apply [--index] [-q | --quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [(-m | --message) <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash save [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [<message>]\ngit stash clear\ngit stash create [<message>]\ngit stash store [(-m | --message) <message>] [-q | --quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish curent changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.013Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":97,"estimatedTokens":643}}987{"id":"doc-git_git_stash_documentation-002ca4b8","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.32.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u|--include-untracked|--only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.014Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":83,"estimatedTokens":481}}988{"id":"doc-git_git_stash_documentation-3d9af542","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.51.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u | --include-untracked | --only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q | --quiet] [<stash>]\ngit stash pop [--index] [-q | --quiet] [<stash>]\ngit stash apply [--index] [-q | --quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [(-m | --message) <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash save [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [<message>]\ngit stash clear\ngit stash create [<message>]\ngit stash store [(-m | --message) <message>] [-q | --quiet] <commit>\ngit stash export (--print | --to-ref <ref>) [<stash>…]\ngit stash import <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.015Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":664}}989{"id":"doc-git_git_stash_documentation-900fded1","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.23.0","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.016Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":82,"estimatedTokens":454}}990{"id":"doc-git_git_stash_documentation-217f4604","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.38.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u|--include-untracked|--only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-S|--staged] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish curent changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.017Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":94,"estimatedTokens":590}}991{"id":"doc-git_git_stash_documentation-fe5f0e86","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.43.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u | --include-untracked | --only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q | --quiet] [<stash>]\ngit stash pop [--index] [-q | --quiet] [<stash>]\ngit stash apply [--index] [-q | --quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [(-m | --message) <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash save [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [<message>]\ngit stash clear\ngit stash create [<message>]\ngit stash store [(-m | --message) <message>] [-q | --quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.018Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":97,"estimatedTokens":644}}992{"id":"doc-git_git_stash_documentation-43340abd","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.52.0","text":"Example:\n```text\ngitstashlistgitstashshow-u--include-untracked--only-untrackedgitstashdrop-q--quietgitstashpop--index-q--quietgitstashapply--index-q--quietgitstashbranchgitstashpush-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--all-m--message--pathspec-from-file=--pathspec-file-nul--gitstashsave-p--patch-S--staged-k--no-keep-index-q--quiet-u--include-untracked-a--allgitstashcleargitstashcreategitstashstore-m--message-q--quietgitstashexport--print--to-refgitstashimport\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add unrelated changes to the index\n$ git stash push --staged # save these changes to the stash\n# ... hack hack hack, finish current changes ...\n$ git commit -m 'Massive' # commit fully tested changes\n$ git switch fixup-branch # switch to another branch\n$ git stash pop # to finish work on the saved changes\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.019Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":83,"estimatedTokens":562}}993{"id":"doc-git_git_stash_documentation-44ae3fbc","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.17.0","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.020Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":82,"estimatedTokens":453}}994{"id":"doc-git_git_stash_documentation-61f6544d","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.24.0","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.021Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":82,"estimatedTokens":454}}995{"id":"doc-git_git_stash_documentation-f39a7943","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.22.0","text":"Example:\n```text\ngit stash list [<options>]\ngit stash show [<options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git checkout -b my_wip\n$ git commit -a -m \"WIP\"\n$ git checkout master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git checkout my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.021Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":82,"estimatedTokens":456}}996{"id":"doc-git_git_stash_documentation-c171b011","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/2.31.0","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [<diff-options>] [<stash>]\ngit stash drop [-q|--quiet] [<stash>]\ngit stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]\n\t [-u|--include-untracked] [-a|--all] [-m|--message <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash clear\ngit stash create [<message>]\ngit stash store [-m|--message <message>] [-q|--quiet] <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Fix in a hurry\"\n$ git stash pop\n# ... continue hacking ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # add just first part to the index\n$ git stash push --keep-index # save all other changes to the stash\n$ edit/build/test first part\n$ git commit -m 'First part' # commit fully tested change\n$ git stash pop # prepare to work on all other changes\n# ... repeat above five steps until one commit remains ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Remaining parts'\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:40.022Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":8,"totalLines":83,"estimatedTokens":471}}997{"id":"doc-git_git_worktree_documentation-5e088bcf","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.28.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.977Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":55,"estimatedTokens":298}}998{"id":"doc-git_git_worktree_documentation-85a0c778","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.43.1","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]]\n\t\t [--orphan] [(-b | -B) <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.978Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":610}}999{"id":"doc-git_git_worktree_documentation-90ee77af","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.33.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: working tree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.980Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":98,"estimatedTokens":603}}1000{"id":"doc-git_git_worktree_documentation-9c64a6d7","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.48.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]]\n\t\t [--orphan] [(-b | -B) <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.981Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":610}}1001{"id":"doc-git_git_worktree_documentation-c330fb69","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.42.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]]\n\t\t [--orphan] [(-b | -B) <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.983Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":610}}1002{"id":"doc-git_git_worktree_documentation-ede087b2","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.31.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktreee acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: working tree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.984Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":98,"estimatedTokens":598}}1003{"id":"doc-git_git_worktree_documentation-91b6372f","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.19.2","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.985Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":50,"estimatedTokens":282}}1004{"id":"doc-git_git_worktree_documentation-98c38a92","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.42.1","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]]\n\t\t [--orphan] [(-b | -B) <new-branch>] <path> [<commit-ish>]\ngit worktree list [-v | --porcelain [-z]]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree acbd5678 (brancha) locked\n/path/to/prunable-worktree 5678abc (detached HEAD) prunable\n```\n\nExample:\n```text\n$ git worktree list --verbose\n/path/to/linked-worktree abcd1234 [master]\n/path/to/locked-worktree-no-reason abcd5678 (detached HEAD) locked\n/path/to/locked-worktree-with-reason 1234abcd (brancha)\n\tlocked: worktree path is mounted on a portable device\n/path/to/prunable-worktree 5678abc1 (detached HEAD)\n\tprunable: gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n\nworktree /path/to/linked-worktree-locked-no-reason\nHEAD 5678abc5678abc5678abc5678abc5678abc5678c\nbranch refs/heads/locked-no-reason\nlocked\n\nworktree /path/to/linked-worktree-locked-with-reason\nHEAD 3456def3456def3456def3456def3456def3456b\nbranch refs/heads/locked-with-reason\nlocked reason why is locked\n\nworktree /path/to/linked-worktree-prunable\nHEAD 1233def1234def1234def1234def1234def1234b\ndetached\nprunable gitdir file points to non-existent location\n```\n\nExample:\n```text\n$ git worktree list --porcelain\n...\nlocked \"reason\\nwhy is locked\"\n...\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.986Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":610}}1005{"id":"doc-git_git_worktree_documentation-867b244e","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.30.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.987Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":56,"estimatedTokens":306}}1006{"id":"doc-git_git_worktree_documentation-7f0e5378","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.29.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree repair [<path>…]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.994Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":56,"estimatedTokens":306}}1007{"id":"doc-git_git_worktree_documentation-8b083f72","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.20.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.995Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":55,"estimatedTokens":298}}1008{"id":"doc-git_git_worktree_documentation-4109e6ed","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.19.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.996Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":50,"estimatedTokens":282}}1009{"id":"doc-git_git_worktree_documentation-fb353613","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.22.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git config extensions.worktreeConfig true\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.997Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":55,"estimatedTokens":298}}1010{"id":"doc-git_git_worktree_documentation-5083978e","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.18.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [-f] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\n$ git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\n$ git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ git worktree remove ../temp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.998Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":50,"estimatedTokens":282}}1011{"id":"doc-git_git_worktree_documentation-dcef89e0","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.12.5","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [-b <new-branch>] <path> [<branch>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:41.999Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":44,"estimatedTokens":240}}1012{"id":"doc-git_git_worktree_documentation-49c011ee","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.16.6","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.000Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":49,"estimatedTokens":265}}1013{"id":"doc-git_git_worktree_documentation-b3bb39e0","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.10.5","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [-b <new-branch>] <path> [<branch>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.000Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":44,"estimatedTokens":240}}1014{"id":"doc-git_git_worktree_documentation-1dbb4755","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.7.6","text":"Example:\n```text\ngit worktree add [-f] [--detach] [-b <new-branch>] <path> [<branch>]\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree list [--porcelain]\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.001Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":217}}1015{"id":"doc-git_git_worktree_documentation-8c873d74","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.13.7","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<branch>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.002Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":44,"estimatedTokens":242}}1016{"id":"doc-git_git_worktree_documentation-da17c8b2","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.6.7","text":"Example:\n```text\ngit worktree add [-f] [--detach] [-b <new-branch>] <path> [<branch>]\ngit worktree prune [-n] [-v] [--expire <expire>]\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.002Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":89}}1017{"id":"doc-git_git_worktree_documentation-cecb6a6d","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.17.0","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [--lock] [-b <new-branch>] <path> [<commit-ish>]\ngit worktree list [--porcelain]\ngit worktree lock [--reason <string>] <worktree>\ngit worktree move <worktree> <new-path>\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree remove [--force] <worktree>\ngit worktree unlock <worktree>\n```\n\nExample:\n```text\n$ git worktree add --track -b <branch> <path> <remote>/<branch>\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.003Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":5,"totalLines":51,"estimatedTokens":285}}1018{"id":"doc-git_git_worktree_documentation-d555b137","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.9.5","text":"Example:\n```text\ngit worktree add [-f] [--detach] [--checkout] [-b <new-branch>] <path> [<branch>]\ngit worktree prune [-n] [-v] [--expire <expire>]\ngit worktree list [--porcelain]\n```\n\nExample:\n```text\nS git worktree list\n/path/to/bare-source (bare)\n/path/to/linked-worktree abcd1234 [master]\n/path/to/other-linked-worktree 1234abc (detached HEAD)\n```\n\nExample:\n```text\nS git worktree list --porcelain\nworktree /path/to/bare-source\nbare\n\nworktree /path/to/linked-worktree\nHEAD abcd1234abcd1234abcd1234abcd1234abcd1234\nbranch refs/heads/master\n\nworktree /path/to/other-linked-worktree\nHEAD 1234abc1234abc1234abc1234abc1234abc1234a\ndetached\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.004Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":4,"totalLines":42,"estimatedTokens":220}}1019{"id":"doc-git_git_stash_documentation-9764073f","source":"documentation","title":"Git - git-stash Documentation","url":"http://git-scm.com/docs/git-stash/pt_BR","text":"Example:\n```text\ngit stash list [<log-options>]\ngit stash show [-u | --include-untracked | --only-untracked] [<diff-options>] [<stash>]\ngit stash drop [-q | --quiet] [<stash>]\ngit stash pop [--index] [-q | --quiet] [<stash>]\ngit stash apply [--index] [-q | --quiet] [<stash>]\ngit stash branch <branchname> [<stash>]\ngit stash [push [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [(-m | --message) <message>]\n\t [--pathspec-from-file=<file> [--pathspec-file-nul]]\n\t [--] [<pathspec>…]]\ngit stash save [-p | --patch] [-S | --staged] [-k | --[no-]keep-index] [-q | --quiet]\n\t [-u | --include-untracked] [-a | --all] [<message>]\ngit stash clear\ngit stash create [<message>]\ngit stash store [(-m | --message) <message>] [-q | --quiet] <commit>\ngit stash export (--print | --to-ref <ref>) [<stash>…]\ngit stash import <commit>\n```\n\nExample:\n```text\nstash@{0}: WIP on submit: 6ebd0e2... Update git-stash documentation\nstash@{1}: On master: 9cc0589... Add git-stash\n```\n\nExample:\n```text\n.----W\n / /\n-----H----I\n```\n\nExample:\n```text\n$ git pull\n ...\nfile foobar not up to date, cannot merge.\n$ git stash\n$ git pull\n$ git stash pop\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git switch -c my_wip\n$ git commit -a -m \"WIP\"\n$ git switch master\n$ edit emergency fix\n$ git commit -a -m \"Arruma na pressa\"\n$ git switch my_wip\n$ git reset --soft HEAD^\n# ... continue a hackear ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git stash\n$ edit emergency fix\n$ git commit -a -m \"Arrumando na correria\"\n$ git stash pop\n# ... continue a hackear ...\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # adiciona apenas a primeira parte ao índice\n$ git stash push --keep-index # armazene todas as outras alterações\n$ edit/build/test first part\n$ git commit -m 'First part' # faça o commit completo de todas as modificações testadas\n$ git stash pop # prepare para trabalhar em todas as outras modificações\n# ... repita os cinco passos acima até que sobre apenas um commit ...\n$ edit/build/test remaining parts\n$ git commit foo -m 'Partes resultantes'\n```\n\nExample:\n```text\n# ... hack hack hack ...\n$ git add --patch foo # adiciona alterações não relacionadas ao índice\n$ git stash push --staged # salva estas alterações na pilha\n# ... hack hack hack, conclui as alterações atuais ...\n$ git commit -m 'Massive' # faz o commit de das alterações totalmente testadas\n$ git switch fixup-branch # alterna para outro ramo\n$ git stash pop # para concluir o trabalho nas alterações salvas\n```\n\nExample:\n```text\ngit fsck --unreachable |\ngrep commit | cut -d\\ -f3 |\nxargs git log --merges --no-walk --grep=WIP\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.005Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":9,"totalLines":99,"estimatedTokens":698}}1020{"id":"doc-git_git_worktree_documentation-776a6019","source":"documentation","title":"Git - git-worktree Documentation","url":"http://git-scm.com/docs/git-worktree/2.5.6","text":"Example:\n```text\ngit worktree add [-f] [--detach] [-b <new-branch>] <path> [<branch>]\ngit worktree prune [-n] [-v] [--expire <expire>]\n```\n\nExample:\n```text\n$ git worktree add -b emergency-fix ../temp master\n$ pushd ../temp\n# ... hack hack hack ...\n$ git commit -a -m 'emergency fix for boss'\n$ popd\n$ rm -rf ../temp\n$ git worktree prune\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.006Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":18,"estimatedTokens":89}}1021{"id":"doc-git_git_tag_documentation-b427bb53","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/ru","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <id-ключа>\n```\n\nExample:\n```text\nИтак, я ошибся и отправил более раннюю версию, помеченную как X. Затем\nя кое-что исправил и снова пометил *исправленное* дерево как X.\n\nЕсли вы получили неправильную метку и хотите новую, пожалуйста, удалите\nстарую и получите новую, выполнив:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nчтобы получить мою обновлённую метку.\n\nВы можете проверить, какая у вас метка, выполнив\n\n\tgit rev-parse X\n\nкоторая должна вернуть 0123456789abcdef.., если у вас новая версия.\n\nИзвините за доставленные неудобства.\n```\n\nExample:\n```text\nЛинус, пожалуйста, извлеки (pull) из\n\n\tgit://git..../proj.git master\n\nчтобы получить следующие обновления...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.006Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":264}}1022{"id":"doc-git_git_tag_documentation-277bb97c","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/uk","text":"Example:\n```text\ngittag-a-s-u-f-m-F-e--trailer=:gittag-dgittag-n-l--contains--no-contains--points-at--column=--no-column--create-reflog--sort=--format=--merged--no-mergedgittag-v--format=\n```\n\nExample:\n```text\n[user]\n signingKey = <key-id>\n```\n\nExample:\n```text\nГаразд, я припустився помилки і випустив попередню версію з тегом X.\nПотім я виправив деякі помилки і знову позначив *виправлене* дерево тегом X.\n\nЯкщо ви отримали неправильний тег і хочете новий, видаліть старий\nТа отримайте новий, виконавши такі дії:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nщоб отримати мій оновлений тег.\n\nВи можете перевірити, який у вас тег, виконавши такі дії\n\n\tgit rev-parse X\n\nякий має повернути 0123456789abcdef.. якщо у вас нова версія.\n\nВибачте за незручності.\n```\n\nExample:\n```text\nЛінусе, будь ласка, витягни з\n\n\tgit://git..../proj.git master\n\nщоб отримати наступні оновлення...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.007Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":53,"estimatedTokens":259}}1023{"id":"doc-git_git_tag_documentation-a676d79c","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.44.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.008Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":310}}1024{"id":"doc-git_git_tag_documentation-fed07156","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.27.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.009Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1025{"id":"doc-git_git_tag_documentation-77830adc","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.42.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key_id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.010Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":310}}1026{"id":"doc-git_git_tag_documentation-8c84edad","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.45.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.011Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":310}}1027{"id":"doc-git_git_tag_documentation-ae96f7c7","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.21.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.012Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1028{"id":"doc-git_git_show_documentation-49d3a561","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.26.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.017Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1029{"id":"doc-git_git_tag_documentation-33c2ac56","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.19.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.018Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1030{"id":"doc-git_git_tag_documentation-bb35d6a4","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.31.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.019Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":309}}1031{"id":"doc-git_git_tag_documentation-799d1a55","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.39.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key_id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.020Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":310}}1032{"id":"doc-git_git_tag_documentation-04009260","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.41.0","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key_id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.021Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":310}}1033{"id":"doc-git_git_tag_documentation-55295a0d","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.23.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.022Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1034{"id":"doc-git_git_tag_documentation-ca208131","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.19.2","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.023Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1035{"id":"doc-git_git_tag_documentation-07a176cc","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.18.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.024Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1036{"id":"doc-git_git_tag_documentation-13b65bc0","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.25.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.025Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1037{"id":"doc-git_git_tag_documentation-a2c015b5","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.35.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.026Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":309}}1038{"id":"doc-git_git_tag_documentation-928c5bcf","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.29.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--merged <commit>] [--no-merged <commit>] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.026Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":309}}1039{"id":"doc-git_git_tag_documentation-9d7a8159","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.17.0","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.027Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":305}}1040{"id":"doc-git_git_tag_documentation-0d199dc5","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.14.6","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.028Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":304}}1041{"id":"doc-git_git_tag_documentation-14fa5240","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.12.5","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]\n\t[--format=<format>] [--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.029Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":297}}1042{"id":"doc-git_git_tag_documentation-eef15434","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.4.12","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [<pattern>…]\n\t[<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.030Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":276}}1043{"id":"doc-git_git_tag_documentation-13361fb1","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.1.4","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [<pattern>…]\n\t[<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingkey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.031Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":276}}1044{"id":"doc-git_git_tag_documentation-e396e637","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.7.6","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]\n\t[--format=<format>] [--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.031Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":292}}1045{"id":"doc-git_git_tag_documentation-af62c00f","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.10.5","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]\n\t[--format=<format>] [--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.032Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":292}}1046{"id":"doc-git_git_tag_documentation-068b23dc","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.13.7","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]\n\t[--points-at <object>] [--column[=<options>] | --no-column]\n\t[--create-reflog] [--sort=<key>] [--format=<format>]\n\t[--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v [--format=<format>] <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.033Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":60,"estimatedTokens":304}}1047{"id":"doc-git_git_tag_documentation-3d329c3a","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.11.4","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]\n\t[--format=<format>] [--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.034Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":292}}1048{"id":"doc-git_git_tag_documentation-c134bdf3","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.6.7","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.035Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":58,"estimatedTokens":277}}1049{"id":"doc-git_git_tag_documentation-dad9d360","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.0.5","text":"Example:\n```text\ngit tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [<pattern>…]\n\t[<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingkey = <gpg-key-id>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.036Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":276}}1050{"id":"doc-git_git_submodule_documentation-ef86c62a","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/pt_BR","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<opções>] [--] <repository> [<caminho>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<caminho>…]\ngit submodule [--quiet] init [--] [<caminho>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <caminho>…)\ngit submodule [--quiet] update [<opções>] [--] [<caminho>…]\ngit submodule [--quiet] set-branch [<opções>] [--] <caminho>\ngit submodule [--quiet] set-url [--] <caminho> <newurl>\ngit submodule [--quiet] summary [<opções>] [--] [<caminho>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<caminho>…]\ngit submodule [--quiet] absorbgitdirs [--] [<caminho>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.038Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":207}}1051{"id":"doc-git_git_tag_documentation-a286b16d","source":"documentation","title":"Git - git-tag Documentation","url":"http://git-scm.com/docs/git-tag/2.9.5","text":"Example:\n```text\ngit tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]\n\t<tagname> [<commit> | <object>]\ngit tag -d <tagname>…\ngit tag [-n[<num>]] -l [--contains <commit>] [--points-at <object>]\n\t[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]\n\t[--format=<format>] [--[no-]merged [<commit>]] [<pattern>…]\ngit tag -v <tagname>…\n```\n\nExample:\n```text\n[user]\n signingKey = <gpg-keyid>\n```\n\nExample:\n```text\nOk, I messed up, and I pushed out an earlier version tagged as X. I\nthen fixed something, and retagged the *fixed* tree as X again.\n\nIf you got the wrong tag, and want the new one, please delete\nthe old one and fetch the new one by doing:\n\n\tgit tag -d X\n\tgit fetch origin tag X\n\nto get my updated tag.\n\nYou can test which tag you have by doing\n\n\tgit rev-parse X\n\nwhich should return 0123456789abcdef.. if you have the new version.\n\nSorry for the inconvenience.\n```\n\nExample:\n```text\nLinus, please pull from\n\n\tgit://git..../proj.git master\n\nto get the following updates...\n```\n\nExample:\n```text\n$ git pull git://git..../proj.git master\n```\n\nExample:\n```text\n$ GIT_COMMITTER_DATE=\"2006-10-02 10:31\" git tag -s v1.0.1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.039Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":6,"totalLines":59,"estimatedTokens":292}}1052{"id":"doc-git_git_submodule_documentation-109a5c2e","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/fr","text":"Example:\n```text\ngitsubmodule--quiet--cachedgitsubmodule--quietadd--gitsubmodule--quietstatus--cached--recursive--gitsubmodule--quietinit--gitsubmodule--quietdeinit-f--force--all--gitsubmodule--quietupdate--gitsubmodule--quietset-branch--gitsubmodule--quietset-url--gitsubmodule--quietsummary--gitsubmodule--quietforeach--recursivegitsubmodule--quietsync--recursive--gitsubmodule--quietabsorbgitdirs--\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.040Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":125}}1053{"id":"doc-git_git_submodule_documentation-4dcf03e6","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/sv","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<flaggor>] [--] <kodförråd> [<sökväg>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<sökväg>…]\ngit submodule [--quiet] init [--] [<sökväg>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <sökväg>…)\ngit submodule [--quiet] update [<flaggor>] [--] [<sökväg>…]\ngit submodule [--quiet] set-branch [<flaggor>] [--] <sökväg>\ngit submodule [--quiet] set-url [--] <sökväg> <nyurl>\ngit submodule [--quiet] summary [<flaggor>] [--] [<sökväg>…]\ngit submodule [--quiet] foreach [--recursive] <kommando>\ngit submodule [--quiet] sync [--recursive] [--] [<sökväg>…]\ngit submodule [--quiet] absorbgitdirs [--] [<sökväg>…]\n```\n\nExample:\n```text\ngit-submodul för varje 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.042Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":205}}1054{"id":"doc-git_git_submodule_documentation-3618b5e8","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/ru","text":"Example:\n```text\ngitsubmodule--quiet--cachedgitsubmodule--quietadd--gitsubmodule--quietstatus--cached--recursive--gitsubmodule--quietinit--gitsubmodule--quietdeinit-f--force--all--gitsubmodule--quietupdate--gitsubmodule--quietset-branch--gitsubmodule--quietset-url--gitsubmodule--quietsummary--gitsubmodule--quietforeach--recursivegitsubmodule--quietsync--recursive--gitsubmodule--quietabsorbgitdirs--\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.042Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":125}}1055{"id":"doc-git_git_submodule_documentation-d15f7555","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/uk","text":"Example:\n```text\ngitsubmodule--quiet--cachedgitsubmodule--quietadd--gitsubmodule--quietstatus--cached--recursive--gitsubmodule--quietinit--gitsubmodule--quietdeinit-f--force--all--gitsubmodule--quietupdate--gitsubmodule--quietset-branch--gitsubmodule--quietset-url--gitsubmodule--quietsummary--gitsubmodule--quietforeach--recursivegitsubmodule--quietsync--recursive--gitsubmodule--quietabsorbgitdirs--\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.043Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":125}}1056{"id":"doc-git_git_submodule_documentation-ab9326e2","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/zh_HANS-CN","text":"Example:\n```text\n'git submodule' [--quiet] [--cached]\n'git submodule' [--quiet] add [<单/多个选项>] [--] <仓库> [<路径>]\n'git submodule' [--quiet] status [--cached] [--recursive] [--] [<路径>…]\n'git submodule' [--quiet] init [--] [<路径>…]\n'git submodule' [--quiet] deinit [-f|--force] (--all|[--] <路径>…)\n'git submodule' [--quiet] update [<单/多个选项>] [--] [<路径>…]\n'git submodule' [--quiet] set-branch [<单/多个选项>] [--] <路径>\n'git submodule' [--quiet] set-url [--] <路径> <newurl>\n'git submodule' [--quiet] summary [<单/多个选项>] [--] [<路径>…]\n'git submodule' [--quiet] foreach [--recursive] <命令>\n'git submodule' [--quiet] sync [--recursive] [--] [<路径>…]\n'git submodule' [--quiet] absorbgitdirs [--] [<路径>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.044Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":197}}1057{"id":"doc-git_git_submodule_documentation-59612873","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.52.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.045Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1058{"id":"doc-git_git_submodule_documentation-fb393dcd","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.44.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.046Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1059{"id":"doc-git_git_submodule_documentation-32ea6166","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.42.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.048Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1060{"id":"doc-git_git_submodule_documentation-55790b8d","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.51.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.049Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1061{"id":"doc-git_git_submodule_documentation-4e860aae","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.22.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.050Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":186}}1062{"id":"doc-git_git_submodule_documentation-9a229c51","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.19.0","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.051Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1063{"id":"doc-git_git_submodule_documentation-f07930b0","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.25.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.052Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1064{"id":"doc-git_git_submodule_documentation-3ab5a675","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.25.1","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.053Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1065{"id":"doc-git_git_submodule_documentation-c1dc5278","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.24.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.055Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":21,"estimatedTokens":186}}1066{"id":"doc-git_git_submodule_documentation-ad7a6c7a","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.26.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.056Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1067{"id":"doc-git_git_submodule_documentation-f3ad8ad7","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.54.0","text":"Example:\n```text\ngitsubmodule--quiet--cachedgitsubmodule--quietadd--gitsubmodule--quietstatus--cached--recursive--gitsubmodule--quietinit--gitsubmodule--quietdeinit-f--force--all--gitsubmodule--quietupdate--gitsubmodule--quietset-branch--gitsubmodule--quietset-url--gitsubmodule--quietsummary--gitsubmodule--quietforeach--recursivegitsubmodule--quietsync--recursive--gitsubmodule--quietabsorbgitdirs--\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.057Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":11,"estimatedTokens":125}}1068{"id":"doc-git_git_submodule_documentation-61d4b361","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.36.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.058Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1069{"id":"doc-git_git_submodule_documentation-1c082853","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.47.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.059Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1070{"id":"doc-git_git_submodule_documentation-3fd267cb","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.14.6","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.063Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1071{"id":"doc-git_git_submodule_documentation-c0d3bad9","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.28.0","text":"Example:\n```text\ngit submodule [--quiet] [--cached]\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] set-branch [<options>] [--] <path>\ngit submodule [--quiet] set-url [--] <path> <newurl>\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $sm_path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.064Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":22,"estimatedTokens":200}}1072{"id":"doc-git_git_submodule_documentation-13635c85","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.18.0","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.065Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1073{"id":"doc-git_git_submodule_documentation-8d68a211","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.12.5","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.066Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1074{"id":"doc-git_git_submodule_documentation-3722e851","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.16.6","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.067Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1075{"id":"doc-git_git_fetch_documentation-d5f27453","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.52.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.070Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":128,"estimatedTokens":477}}1076{"id":"doc-git_git_fetch_documentation-29b450d0","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/ru","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tinsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tpushInsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<имя>\"]\n\t\turl = <URL>\n\t\tpushurl = <URL-отправки>\n\t\tpush = <спецификатор-ссылки>\n\t\tfetch = <спецификатор-ссылки>\n```\n\nExample:\n```text\nURL: один из вышеуказанных форматов URL\n\tPush: <спецификатор-ссылки>\n\tPull: <спецификатор-ссылки>\n```\n\nExample:\n```text\n<URL>#<голова>\n```\n\nExample:\n```text\nrefs/heads/<голова>:refs/heads/<ветка>\n```\n\nExample:\n```text\nHEAD:refs/heads/<голова>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# Во время получения (fetch)\n$ git fetch --prune <имя>\n\n# Только подчистка (prune), без получения (fetch)\n$ git remote prune <имя>\n```\n\nExample:\n```text\n# Оба этих варианта получают метки\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<флаг> <сводка> <откуда> -> <куда> [<причина>]\n```\n\nExample:\n```text\n<флаг> <старый-id-объекта> <новый-id-объекта> <локальная-ссылка>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.071Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":478}}1077{"id":"doc-git_git_fetch_documentation-22a0237a","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/pt_BR","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[remote \"<nome>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: um dos formatos da URL acima\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<ramo>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# Enquanto estiver fazendo a captura\n$ git fetch --prune <nome>\n\n# Exclua apenas, não busque nada\n$ git remote prune <nome>\n```\n\nExample:\n```text\n# Ambas capturam as tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <resumo> <de> -> <para> [<motivo>]\n```\n\nExample:\n```text\n<flag> <id-antiga-do-objeto> <id-nova-do-objeto> <referência-local>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.073Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":93,"estimatedTokens":347}}1078{"id":"doc-git_git_fetch_documentation-cfd5fe75","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/sv","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tinsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/sokvag/till/\n\t\tinsteadOf = arbete:\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tpushInsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: ett av ovanstående URL-format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<huvud>\n```\n\nExample:\n```text\nrefs/heads/<huvud>:refs/heads/<gren>\n```\n\nExample:\n```text\nHEAD:refs/heads/<huvud>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# Medan hämtning\n$ git fetch --prune <namn>\n\n# Beskär bara, hämta inte\n$ git remote prune <namn>\n```\n\nExample:\n```text\n# Båda dessa hämtningstaggar\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flagga> <sammanfattning> <från> -> <till> [<orsak>]\n```\n\nExample:\n```text\n<flagga> <gammalt-objekt-id> <nytt-objekt-id> <lokal-referens>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.076Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":453}}1079{"id":"doc-git_git_fetch_documentation-3fc0d26f","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.53.0","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.079Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":446}}1080{"id":"doc-git_git_fetch_documentation-83528ff9","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.36.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.081Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1081{"id":"doc-git_git_fetch_documentation-ed2f3297","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.54.0","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.083Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":446}}1082{"id":"doc-git_git_fetch_documentation-ba6ab4aa","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/uk","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: один із наведених вище форматів URL-адрес\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# Під час завантаження\n$ git fetch --prune <name>\n\n# Тільки очистити, не завантажувати\n$ git remote prune <name>\n```\n\nExample:\n```text\n# Ці обидві команди завантажують теги\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.085Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":457}}1083{"id":"doc-git_git_fetch_documentation-f2fb4f06","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.55.0","text":"Example:\n```text\ngitfetchgitfetchgitfetch--multiplegitfetch--all\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.088Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":446}}1084{"id":"doc-git_git_fetch_documentation-f5290f7c","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.44.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.090Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1085{"id":"doc-git_git_fetch_documentation-63207758","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.51.1","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.093Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1086{"id":"doc-git_git_fetch_documentation-e3f9b307","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.38.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.099Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1087{"id":"doc-git_git_fetch_documentation-22451b58","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.41.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.101Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":455}}1088{"id":"doc-git_git_fetch_documentation-d8fbaaac","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.45.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.104Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1089{"id":"doc-git_git_fetch_documentation-5a770120","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.43.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.106Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1090{"id":"doc-git_git_fetch_documentation-37889943","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.48.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.108Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1091{"id":"doc-git_git_fetch_documentation-b7d9defb","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.47.1","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.111Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1092{"id":"doc-git_git_fetch_documentation-f690578a","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.46.2","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url-of-origin> --prune --prune-tags\n$ git fetch <url-of-origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.113Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":456}}1093{"id":"doc-git_git_fetch_documentation-8dc357fb","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.40.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.116Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1094{"id":"doc-git_git_fetch_documentation-a594fc0a","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.42.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n<flag> <old-object-id> <new-object-id> <local-reference>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.118Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":19,"totalLines":121,"estimatedTokens":455}}1095{"id":"doc-git_git_fetch_documentation-d80f3e99","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.32.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.120Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1096{"id":"doc-git_git_fetch_documentation-3e2c622c","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.10.5","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.121Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":92,"estimatedTokens":313}}1097{"id":"doc-git_git_fetch_documentation-e63e3515","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.35.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.123Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1098{"id":"doc-git_git_fetch_documentation-0fc30d45","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.31.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.125Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1099{"id":"doc-git_git_fetch_documentation-47bb0ad1","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.17.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.127Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1100{"id":"doc-git_git_fetch_documentation-e687689d","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.25.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.129Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1101{"id":"doc-git_git_fetch_documentation-b3ff7c46","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.14.6","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.130Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":92,"estimatedTokens":313}}1102{"id":"doc-git_git_fetch_documentation-b95e00c7","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.11.4","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.136Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":92,"estimatedTokens":313}}1103{"id":"doc-git_git_fetch_documentation-cc7daf17","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.27.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.138Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1104{"id":"doc-git_git_fetch_documentation-57fbbee1","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.33.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.140Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1105{"id":"doc-git_git_fetch_documentation-7390b372","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.18.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.142Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1106{"id":"doc-git_git_show_documentation-033d48e1","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.27.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.145Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1107{"id":"doc-git_git_show_documentation-a16840e5","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.33.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.148Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1108{"id":"doc-git_git_show_documentation-5d9ed1e4","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.20.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.151Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":712}}1109{"id":"doc-git_git_show_documentation-3abe1ee0","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.40.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title-line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author-date>\n```\n\nExample:\n```text\n<full-commit-message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author-date>\nCommit: <committer>\nCommitDate: <committer-date>\n```\n\nExample:\n```text\n<abbrev-hash> (<title-line>, <short-author-date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author-date>\nSubject: [PATCH] <title-line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.154Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1110{"id":"doc-git_git_show_documentation-add25d68","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.29.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.157Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1111{"id":"doc-git_git_show_documentation-34fc397f","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.30.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.160Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1112{"id":"doc-git_git_show_documentation-ffd57202","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.33.1","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.163Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1113{"id":"doc-git_git_show_documentation-8aac11ee","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.32.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.167Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1114{"id":"doc-git_git_show_documentation-e7b2fa9c","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.21.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.170Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":712}}1115{"id":"doc-git_git_show_documentation-5dd78305","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.19.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.177Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":712}}1116{"id":"doc-git_git_show_documentation-f07b0934","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.25.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.180Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":746}}1117{"id":"doc-git_git_show_documentation-260b596a","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.18.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.183Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":712}}1118{"id":"doc-git_git_show_documentation-2b94c0bb","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.15.4","text":"Example:\n```text\ngit show [options] <object>…\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.185Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":711}}1119{"id":"doc-git_git_show_documentation-558c8005","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.25.1","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.188Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1120{"id":"doc-git_git_show_documentation-c220c7b6","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.17.0","text":"Example:\n```text\ngit show [options] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.191Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":711}}1121{"id":"doc-git_git_show_documentation-e4dce7cb","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.14.6","text":"Example:\n```text\ngit show [options] <object>…\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.194Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":711}}1122{"id":"doc-git_git_show_documentation-acc53c51","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.24.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.197Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":25,"totalLines":200,"estimatedTokens":728}}1123{"id":"doc-git_git_show_documentation-52c1ce03","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.16.6","text":"Example:\n```text\ngit show [options] [<object>…]\n```\n\nExample:\n```text\n<sha1> <title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <sha1>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\nFrom <sha1> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return !regexec(regexp, two->ptr, 1, ®match, 0);\n...\n- hit = !regexec(regexp, mf2.ptr, 1, ®match, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.200Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":24,"totalLines":192,"estimatedTokens":711}}1124{"id":"doc-git_git_show_documentation-881ad51c","source":"documentation","title":"Git - git-show Documentation","url":"http://git-scm.com/docs/git-show/2.28.0","text":"Example:\n```text\ngit show [<options>] [<object>…]\n```\n\nExample:\n```text\n<hash> <title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\n```\n\nExample:\n```text\n<title line>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nDate: <author date>\n```\n\nExample:\n```text\n<full commit message>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nCommit: <committer>\n```\n\nExample:\n```text\ncommit <hash>\nAuthor: <author>\nAuthorDate: <author date>\nCommit: <committer>\nCommitDate: <committer date>\n```\n\nExample:\n```text\n<abbrev hash> (<title line>, <short author date>)\n```\n\nExample:\n```text\nFrom <hash> <date>\nFrom: <author>\nDate: <author date>\nSubject: [PATCH] <title line>\n```\n\nExample:\n```text\nThe author of fe6e0ee was Junio C Hamano, 23 hours ago\nThe title was >>t4119: test autocomputing -p<n> for traditional diff input.<<\n```\n\nExample:\n```text\n$ git log -2 --pretty=format:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973 -- NO NEWLINE\n\n$ git log -2 --pretty=tformat:%h 4da45bef \\\n | perl -pe '$_ .= \" -- NO NEWLINE\\n\" unless /\\n/'\n4da45be\n7134973\n```\n\nExample:\n```text\n$ git log -2 --pretty=tformat:%h 4da45bef\n$ git log -2 --pretty=%h 4da45bef\n```\n\nExample:\n```text\n+ return frotz(nitfol, two->ptr, 1, 0);\n...\n- hit = frotz(nitfol, mf2.ptr, 1, 0);\n```\n\nExample:\n```text\ndiff --git a/file1 b/file2\n```\n\nExample:\n```text\nold mode <mode>\nnew mode <mode>\ndeleted file mode <mode>\nnew file mode <mode>\ncopy from <path>\ncopy to <path>\nrename from <path>\nrename to <path>\nsimilarity index <number>\ndissimilarity index <number>\nindex <hash>..<hash> <mode>\n```\n\nExample:\n```text\ndiff --git a/a b/b\nrename from a\nrename to b\ndiff --git a/b b/a\nrename from b\nrename to a\n```\n\nExample:\n```text\ndiff --combined describe.c\nindex fabadb8,cc95eb0..4866510\n--- a/describe.c\n+++ b/describe.c\n@@@ -98,20 -98,12 +98,20 @@@\n\treturn (a_date > b_date) ? -1 : (a_date == b_date) ? 0 : 1;\n }\n\n- static void describe(char *arg)\n -static void describe(struct commit *cmit, int last_one)\n++static void describe(char *arg, int last_one)\n {\n +\tunsigned char sha1[20];\n +\tstruct commit *cmit;\n\tstruct commit_list *list;\n\tstatic int initialized = 0;\n\tstruct commit_name *n;\n\n +\tif (get_sha1(arg, sha1) < 0)\n +\t\tusage(describe_usage);\n +\tcmit = lookup_commit_reference(sha1);\n +\tif (!cmit)\n +\t\tusage(describe_usage);\n +\n\tif (!initialized) {\n\t\tinitialized = 1;\n\t\tfor_each_ref(get_name);\n```\n\nExample:\n```text\ndiff --combined file\n```\n\nExample:\n```text\ndiff --cc file\n```\n\nExample:\n```text\nindex <hash>,<hash>..<hash>\nmode <mode>,<mode>..<mode>\nnew file mode <mode>\ndeleted file mode <mode>,<mode>\n```\n\nExample:\n```text\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n--- a/file\n--- a/file\n--- a/file\n+++ b/file\n```\n\nExample:\n```text\n@@@ <from-file-range> <from-file-range> <to-file-range> @@@\n```\n\nExample:\n```text\n[i18n]\n\tcommitEncoding = ISO-8859-1\n```\n\nExample:\n```text\n[i18n]\n\tlogOutputEncoding = ISO-8859-1\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.203Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":205,"estimatedTokens":739}}1125{"id":"doc-git_git_submodule_documentation-0deeb3ed","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.13.7","text":"Example:\n```text\ngit submodule [--quiet] add [<options>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [<options>] [--] [<path>…]\ngit submodule [--quiet] summary [<options>] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\ngit submodule [--quiet] absorbgitdirs [--] [<path>…]\n```\n\nExample:\n```text\ngit submodule foreach 'echo $path `git rev-parse HEAD`'\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.204Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":2,"totalLines":19,"estimatedTokens":163}}1126{"id":"doc-git_git_submodule_documentation-46b71018","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.10.5","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [--[no-]recommend-shallow] [-f|--force] [--rebase|--merge]\n\t [--reference <repository>] [--depth <depth>] [--recursive]\n\t [--jobs <n>] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.205Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":18,"estimatedTokens":207}}1127{"id":"doc-git_git_submodule_documentation-dd44061a","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.6.7","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] [--] <path>…\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.206Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":193}}1128{"id":"doc-git_git_submodule_documentation-45f41093","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.9.5","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--jobs <n>] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.207Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":199}}1129{"id":"doc-git_git_submodule_documentation-1ea480f3","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.3.10","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] [--] <path>…\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.212Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":193}}1130{"id":"doc-git_git_submodule_documentation-11a07263","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.0.5","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] [--] <path>…\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.213Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":193}}1131{"id":"doc-git_git_submodule_documentation-9f1866cf","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.8.6","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] (--all|[--] <path>…)\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.214Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":195}}1132{"id":"doc-git_git_push_documentation-1f60afc2","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/pt_BR","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repositório>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <texto> | --push-option=<texto>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repositório> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # atualiza o 'master' remotamente\ngit tag base master # marca o ponto da nossa base\ngit rebase -i master # reescreve alguns commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[remote \"<nome>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: um dos formatos da URL acima\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<ramo>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <resumo> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (ramo sem nome)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.217Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":16,"totalLines":106,"estimatedTokens":422}}1133{"id":"doc-git_git_submodule_documentation-00601440","source":"documentation","title":"Git - git-submodule Documentation","url":"http://git-scm.com/docs/git-submodule/2.4.12","text":"Example:\n```text\ngit submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>]\n\t [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]\ngit submodule [--quiet] status [--cached] [--recursive] [--] [<path>…]\ngit submodule [--quiet] init [--] [<path>…]\ngit submodule [--quiet] deinit [-f|--force] [--] <path>…\ngit submodule [--quiet] update [--init] [--remote] [-N|--no-fetch]\n\t [-f|--force] [--rebase|--merge] [--reference <repository>]\n\t [--depth <depth>] [--recursive] [--] [<path>…]\ngit submodule [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]\n\t [commit] [--] [<path>…]\ngit submodule [--quiet] foreach [--recursive] <command>\ngit submodule [--quiet] sync [--recursive] [--] [<path>…]\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.218Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":1,"totalLines":17,"estimatedTokens":193}}1134{"id":"doc-git_git_push_documentation-f163514c","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/sv","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # uppdatera 'master' från fjärr\ngit tag base master # markera vår baspunktt\ngit rebase -i master # skriv om några incheckningar\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tinsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/sokvag/till/\n\t\tinsteadOf = arbete:\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tpushInsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: ett av ovanstående URL-format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<huvud>\n```\n\nExample:\n```text\nrefs/heads/<huvud>:refs/heads/<gren>\n```\n\nExample:\n```text\nHEAD:refs/heads/<huvud>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<flagga> <sammanfattning> <från> -> <till> (<orsak>)\n```\n\nExample:\n```text\n<flagga> \\t <från>:<till> \\t <sammanfattning> (<orsak>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (namnlös gren)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExempel:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nDetta ger endast b (a och c rensas).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.220Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":620}}1135{"id":"doc-git_git_push_documentation-73620a17","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/uk","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # оновлення 'master' з remote\ngit tag base master # позначення нашої базової точки\ngit rebase -i master # перезаписування кількох комітів\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: один із наведених вище форматів URL-адрес\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (безіменна гілка)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nПриклад:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nУ результаті залишиться лише b (a та c будуть очищені).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.222Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":625}}1136{"id":"doc-git_git_push_documentation-90d7ea37","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.45.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.224Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":566}}1137{"id":"doc-git_git_push_documentation-5fcea9ff","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.48.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.227Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":566}}1138{"id":"doc-git_git_push_documentation-e5375f6d","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.52.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.230Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":156,"estimatedTokens":587}}1139{"id":"doc-git_git_push_documentation-c83b2724","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/ru","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # обновить 'master' из внешнего репозитория\ngit tag base master # отметить нашу базовую точку\ngit rebase -i master # переписать некоторые коммиты\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tinsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<настоящая-база-url>\"]\n\t\tpushInsteadOf = <другая-база-url>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<имя>\"]\n\t\turl = <URL>\n\t\tpushurl = <URL-отправки>\n\t\tpush = <спецификатор-ссылки>\n\t\tfetch = <спецификатор-ссылки>\n```\n\nExample:\n```text\nURL: один из вышеуказанных форматов URL\n\tPush: <спецификатор-ссылки>\n\tPull: <спецификатор-ссылки>\n```\n\nExample:\n```text\n<URL>#<голова>\n```\n\nExample:\n```text\nrefs/heads/<голова>:refs/heads/<ветка>\n```\n\nExample:\n```text\nHEAD:refs/heads/<голова>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <параметры> все-внешние <аргументы>\n```\n\nExample:\n```text\ngit push <параметры> r1 <аргументы>\ngit push <параметры> r2 <аргументы>\n...\ngit push <параметры> rN <аргументы>\n```\n\nExample:\n```text\n<флаг> <сводка> <откуда> -> <куда> (<причина>)\n```\n\nExample:\n```text\n<флаг> \\t <откуда>:<куда> \\t <сводка> (<причина>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (ветка без имени)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nПример:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nВ результате останется только b (a и c будут очищены).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.231Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":650}}1140{"id":"doc-git_git_push_documentation-33f8b331","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.43.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.234Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":566}}1141{"id":"doc-git_git_push_documentation-e55b6f17","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.42.1","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.236Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":566}}1142{"id":"doc-git_git_push_documentation-20723417","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.42.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.239Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":562}}1143{"id":"doc-git_git_push_documentation-34d1e71f","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/fr","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--signed=truefalseif-asked--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # mettre à jour 'master' depuis le distant\ngit tag base master # étiqueter notre point de base\ngit rebase -i master # réécrire quelques commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<veritable-base-d-url>\"]\n\t\tinsteadOf = <autre-base-d’URL>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/chemin/vers/\n\t\tinsteadOf = travail:\n```\n\nExample:\n```text\n[url \"<veritable-base-d’URL>\"]\n\t\tpushInsteadOf = <autre-base-d-URL>\n```\n\nExample:\n```text\n[url \"ssh://exemple.org/\"]\n\t\tpushInsteadOf = git://exemple.org/\n```\n\nExample:\n```text\n[remote \"<nom>\"]\n\t\turl = <URL>\n\t\tpushurl = <url-poussée>\n\t\tpush = <spéc-de-réf>\n\t\tfetch = <spéc-de-réf>\n```\n\nExample:\n```text\nURL: un des format d'URL ci-dessus\n\tPush: <spéc-de-réf>\n\tPull: <spéc-de-réf>\n```\n\nExample:\n```text\n<URL>#<tête>\n```\n\nExample:\n```text\nrefs/heads/<tête>:refs/heads/<branche>\n```\n\nExample:\n```text\nHEAD:refs/heads/<tête>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<drapeau> <résumé> <de> -> <à> (<raison>)\n```\n\nExample:\n```text\n<drapeau> \\t <de>:<à> \\t <résumé> (<raison>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (branche sans nom)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExemple :\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nCela ne résultera qu'en b (a et c sont effacés).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.241Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":639}}1144{"id":"doc-git_git_push_documentation-b5886be5","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.44.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.247Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":566}}1145{"id":"doc-git_git_push_documentation-ef18e74f","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.41.0","text":"Example:\n```text\ngit push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.250Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":562}}1146{"id":"doc-git_git_push_documentation-1a21c083","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.39.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.252Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":559}}1147{"id":"doc-git_git_push_documentation-90cda82b","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/zh_HANS-CN","text":"Example:\n```text\ngitpush'--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\n\tgit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # 从远程仓库更新 'master' 分支\n\tgit tag base master # 标记基点\n\tgit rebase -i master # 重写某些提交\n\tgit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<实际基础网址>\"]\n\t\tinsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url <实际基础网址>\"]\n\t\tpushInsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<名称>\"]\n\t\turl = <地址>\n\t\tpushurl = <推送地址>\n\t\tpush = <引用规范>\n\t\tfetch = <引用规范>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <引用规范>\n\tPull: <引用规范>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<头分支>:refs/heads/<分支>。\n```\n\nExample:\n```text\nHEAD:refs/heads/<头分支>。\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<标志> <概述> <起始> -> <结束> (<原因>)\n```\n\nExample:\n```text\n<标志> \\t <起始>:<结束> \\t <概述> (<原因>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\n例如:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\n这将导致只剩下 b(a 和 c 被清除)。\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.253Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":577}}1148{"id":"doc-git_git_push_documentation-8610757b","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.55.0","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"origin gitlab backup\"\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n$ git config remotes.all-remotes \"r1 r2 r3\"\n```\n\nExample:\n```text\ngit push <options> all-remotes <args>\n```\n\nExample:\n```text\ngit push <options> r1 <args>\ngit push <options> r2 <args>\n...\ngit push <options> rN <args>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.256Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":26,"totalLines":174,"estimatedTokens":615}}1149{"id":"doc-git_git_push_documentation-81ec4c7a","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.53.0","text":"Example:\n```text\ngitpush--all--branches--mirror--tags--follow-tags--atomic-n--dry-run--receive-pack=--repo=-f--force-d--delete--prune-q--quiet-v--verbose-u--set-upstream-o--push-option=--no-signed--signed=truefalseif-asked--force-with-lease=:--force-if-includes--no-verify\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.258Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":22,"totalLines":151,"estimatedTokens":535}}1150{"id":"doc-git_git_push_documentation-d5881a72","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.40.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.261Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":559}}1151{"id":"doc-git_git_push_documentation-6f7ac07a","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.33.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.263Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":499}}1152{"id":"doc-git_git_push_documentation-b90b1cf9","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.38.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\nExample:\n```text\nExample:\n\n/etc/gitconfig\n push.pushoption = a\n push.pushoption = b\n\n~/.gitconfig\n push.pushoption = c\n\nrepo/.git/config\n push.pushoption =\n push.pushoption = b\n\nThis will result in only b (a and c are cleared).\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.265Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":21,"totalLines":149,"estimatedTokens":559}}1153{"id":"doc-git_git_push_documentation-59bb1010","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.35.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.267Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":499}}1154{"id":"doc-git_git_push_documentation-d9639563","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.10.5","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.269Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":393}}1155{"id":"doc-git_git_push_documentation-95c85a24","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.11.4","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.271Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":393}}1156{"id":"doc-git_git_push_documentation-863c5629","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.18.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.273Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1157{"id":"doc-git_git_push_documentation-9364a43b","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.9.5","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.274Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":387}}1158{"id":"doc-git_git_push_documentation-baa9527b","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.22.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.276Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1159{"id":"doc-git_git_push_documentation-e00e837e","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.21.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.278Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1160{"id":"doc-git_git_push_documentation-1c333ad6","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.13.7","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.284Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":490}}1161{"id":"doc-git_git_push_documentation-7adc6571","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.20.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.286Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1162{"id":"doc-git_git_push_documentation-7519e058","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.15.4","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.288Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":490}}1163{"id":"doc-git_git_push_documentation-40760168","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.12.5","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.290Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":393}}1164{"id":"doc-git_git_push_documentation-1d306ef7","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.25.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.292Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1165{"id":"doc-git_git_push_documentation-9a029245","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.8.6","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.293Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":387}}1166{"id":"doc-git_git_push_documentation-7b583cdd","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.30.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.295Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":499}}1167{"id":"doc-git_git_push_documentation-6bca568d","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.16.6","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.297Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":490}}1168{"id":"doc-git_git_push_documentation-9442e3aa","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.23.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.299Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":494}}1169{"id":"doc-git_git_push_documentation-23b23e71","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.0.5","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit push public #1\ngit push --repo=public #2\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.301Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":386}}1170{"id":"doc-git_git_push_documentation-d664fc41","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.7.6","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose]\n\t [-u | --set-upstream]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.302Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":383}}1171{"id":"doc-git_git_push_documentation-fdb4ee93","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.4.12","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--signed]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.304Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":111,"estimatedTokens":374}}1172{"id":"doc-git_git_push_documentation-78e0882d","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.2.3","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--signed]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit push public #1\ngit push --repo=public #2\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.305Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":117,"estimatedTokens":390}}1173{"id":"doc-git_git_push_documentation-522f5b97","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.32.0","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [-o <string> | --push-option=<string>]\n\t [--[no-]signed|--signed=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]] [--force-if-includes]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\ngit remote add origin-push $(git config remote.origin.url)\ngit fetch origin-push\n```\n\nExample:\n```text\ngit push --force-with-lease origin-push\n```\n\nExample:\n```text\ngit fetch # update 'master' from remote\ngit tag base master # mark our base point\ngit rebase -i master # rewrite some commits\ngit push --force-with-lease=master:base master:master\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.307Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":131,"estimatedTokens":499}}1174{"id":"doc-git_git_push_documentation-4acfd215","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.3.10","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose]\n\t [-u | --set-upstream] [--signed]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.309Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":111,"estimatedTokens":371}}1175{"id":"doc-git_git_push_documentation-a68eb203","source":"documentation","title":"Git - git-push Documentation","url":"http://git-scm.com/docs/git-push/2.6.7","text":"Example:\n```text\ngit push [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]\n\t [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose]\n\t [-u | --set-upstream]\n\t [--[no-]signed|--sign=(true|false|if-asked)]\n\t [--force-with-lease[=<refname>[:<expect>]]]\n\t [--no-verify] [<repository> [<refspec>…]]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> (<reason>)\n```\n\nExample:\n```text\n<flag> \\t <from>:<to> \\t <summary> (<reason>)\n```\n\nExample:\n```text\nB\n /\n ---X---A\n```\n\nExample:\n```text\nB---C\n / /\n ---X---A\n```\n\nExample:\n```text\nB D\n / /\n ---X---A\n```\n\nExample:\n```text\no---o---o---A---B origin/master\n\t\t \\\n\t\t X---Y---Z dev\n```\n\nExample:\n```text\nA---B (unnamed branch)\n\t\t /\n\t o---o---o---X---Y---Z master\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.310Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":17,"totalLines":112,"estimatedTokens":383}}1176{"id":"doc-git_git_fetch_documentation-734bbf19","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/fr","text":"Example:\n```text\ngitfetch'gitfetch'gitfetch'--multiplegitfetch'--all\n```\n\nExample:\n```text\n[url \"<veritable-base-d-url>\"]\n\t\tinsteadOf = <autre-base-d’URL>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/chemin/vers/\n\t\tinsteadOf = travail:\n```\n\nExample:\n```text\n[url \"<veritable-base-d’URL>\"]\n\t\tpushInsteadOf = <autre-base-d-URL>\n```\n\nExample:\n```text\n[url \"ssh://exemple.org/\"]\n\t\tpushInsteadOf = git://exemple.org/\n```\n\nExample:\n```text\n[remote \"<nom>\"]\n\t\turl = <URL>\n\t\tpushurl = <url-poussée>\n\t\tpush = <spéc-de-réf>\n\t\tfetch = <spéc-de-réf>\n```\n\nExample:\n```text\nURL: un des format d'URL ci-dessus\n\tPush: <spéc-de-réf>\n\tPull: <spéc-de-réf>\n```\n\nExample:\n```text\n<URL>#<tête>\n```\n\nExample:\n```text\nrefs/heads/<tête>:refs/heads/<branche>\n```\n\nExample:\n```text\nHEAD:refs/heads/<tête>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# Pendant la récupération\n$ git fetch --prune <nom>\n\n# Élaguer seulement, ne pas récupére\n$ git remote prune <nom>\n```\n\nExample:\n```text\n# Ces deux ligne vont chercher les étiquettes\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*\n$ git fetch <url-d-origin> --prune --prune-tags\n$ git fetch <url-d-origin> --prune 'refs/tags/*:refs/tags/*\n```\n\nExample:\n```text\n<drapeau> <résumé> <de> -> <à> [<raison>]\n```\n\nExample:\n```text\n<drapeau> <ancien-id-objet> <nouveau-id-objet> <référence-locale>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.313Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":468}}1177{"id":"doc-git_git_fetch_documentation-78127b7c","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.25.1","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.319Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1178{"id":"doc-git_git_fetch_documentation-f477bb0e","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.28.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.321Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1179{"id":"doc-git_git_fetch_documentation-a24c16fe","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/zh_HANS-CN","text":"Example:\n```text\ngitfetch'gitfetch'gitfetch'--multiplegitfetch'--all\n```\n\nExample:\n```text\n[url \"<实际基础网址>\"]\n\t\tinsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url <实际基础网址>\"]\n\t\tpushInsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<名称>\"]\n\t\turl = <地址>\n\t\tpushurl = <推送地址>\n\t\tpush = <引用规范>\n\t\tfetch = <引用规范>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <引用规范>\n\tPull: <引用规范>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<头分支>:refs/heads/<分支>。\n```\n\nExample:\n```text\nHEAD:refs/heads/<头分支>。\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# 在获取的时候\n$ git fetch --prune <名称>\n\n# 只修剪,不获取\n$ git remote prune <名称>\n```\n\nExample:\n```text\n# 这两个命令都可以用来获取标签\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <origin 的地址> --prune --prune-tags\n$ git fetch <origin 的 地址> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<标志> <概述> <起始> -> <结束> [<原因>]\n```\n\nExample:\n```text\n<标志> <旧对象ID> <新对象ID> <本地引用>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.322Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":20,"totalLines":125,"estimatedTokens":412}}1180{"id":"doc-git_git_fetch_documentation-96247e85","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.20.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.324Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1181{"id":"doc-git_git_fetch_documentation-131d9034","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.21.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.325Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1182{"id":"doc-git_git_fetch_documentation-caddb689","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.19.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.327Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1183{"id":"doc-git_git_fetch_documentation-07854df2","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.29.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +seen:seen maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.329Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":436}}1184{"id":"doc-git_git_fetch_documentation-da090ca2","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.22.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.331Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1185{"id":"doc-git_git_fetch_documentation-0f0d69c7","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.24.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.333Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1186{"id":"doc-git_git_fetch_documentation-7f1dae98","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.9.5","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.334Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1187{"id":"doc-git_git_fetch_documentation-8ad436c3","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.8.6","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.335Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1188{"id":"doc-git_git_fetch_documentation-fcb2c374","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.23.0","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n# While fetching\n$ git fetch --prune <name>\n\n# Only prune, don't fetch\n$ git remote prune <name>\n```\n\nExample:\n```text\n# These both fetch tags\n$ git fetch --no-tags origin 'refs/tags/*:refs/tags/*'\n$ git fetch --no-tags --prune-tags origin\n```\n\nExample:\n```text\n$ git fetch origin --prune --prune-tags\n$ git fetch origin --prune 'refs/tags/*:refs/tags/*'\n$ git fetch <url of origin> --prune --prune-tags\n$ git fetch <url of origin> --prune 'refs/tags/*:refs/tags/*'\n```\n\nExample:\n```text\n<flag> <summary> <from> -> <to> [<reason>]\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.337Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":18,"totalLines":116,"estimatedTokens":435}}1189{"id":"doc-git_git_fetch_documentation-3498c53b","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.1.4","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.338Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1190{"id":"doc-git_git_fetch_documentation-02346cf9","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.7.6","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.339Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1191{"id":"doc-git_git_fetch_documentation-62623f6f","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.6.7","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.341Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1192{"id":"doc-git_git_fetch_documentation-6e0a233a","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.4.12","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[remote \"origin\"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\nExample:\n```text\n$ git fetch git://git.kernel.org/pub/scm/git/git.git maint\n$ git log FETCH_HEAD\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.342Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":14,"totalLines":87,"estimatedTokens":296}}1193{"id":"doc-git_git_pull_documentation-e3350cd2","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/pt_BR","text":"Example:\n```text\ngit pull [<opções>] [<repositório> [<refspec>…]]\n```\n\nExample:\n```text\nA---B---C master on origin\n\t /\n D---E---F---G master\n\t^\n\torigin/master no seu repositório\n```\n\nExample:\n```text\nA---B---C origin/master\n\t / \\\n D---E---F---G---H master\n```\n\nExample:\n```text\n[remote \"<nome>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: um dos formatos da URL acima\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<ramo>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.344Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":75,"estimatedTokens":213}}1194{"id":"doc-git_git_fetch_documentation-f86cb11e","source":"documentation","title":"Git - git-fetch Documentation","url":"http://git-scm.com/docs/git-fetch/2.0.5","text":"Example:\n```text\ngit fetch [<options>] [<repository> [<refspec>…]]\ngit fetch [<options>] <group>\ngit fetch --multiple [<options>] [(<repository> | <group>)…]\ngit fetch --all [<options>]\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tinsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual url base>\"]\n\t\tpushInsteadOf = <other url base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <url>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<url>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n$ git fetch origin\n```\n\nExample:\n```text\n$ git fetch origin +pu:pu maint:tmp\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.347Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":12,"totalLines":75,"estimatedTokens":250}}1195{"id":"doc-git_git_pull_documentation-6abd02be","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/fr","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<veritable-base-d-url>\"]\n\t\tinsteadOf = <autre-base-d’URL>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/chemin/vers/\n\t\tinsteadOf = travail:\n```\n\nExample:\n```text\n[url \"<veritable-base-d’URL>\"]\n\t\tpushInsteadOf = <autre-base-d-URL>\n```\n\nExample:\n```text\n[url \"ssh://exemple.org/\"]\n\t\tpushInsteadOf = git://exemple.org/\n```\n\nExample:\n```text\n[remote \"<nom>\"]\n\t\turl = <URL>\n\t\tpushurl = <url-poussée>\n\t\tpush = <spéc-de-réf>\n\t\tfetch = <spéc-de-réf>\n```\n\nExample:\n```text\nURL: un des format d'URL ci-dessus\n\tPush: <spéc-de-réf>\n\tPull: <spéc-de-réf>\n```\n\nExample:\n```text\n<URL>#<tête>\n```\n\nExample:\n```text\nrefs/heads/<tête>:refs/heads/<branche>\n```\n\nExample:\n```text\nHEAD:refs/heads/<tête>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.350Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":270}}1196{"id":"doc-git_git_pull_documentation-e613022c","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/sv","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tinsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/sokvag/till/\n\t\tinsteadOf = arbete:\n```\n\nExample:\n```text\n[url \"<faktisk-url-bas>\"]\n\t\tpushInsteadOf = <annan-url-bas>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: ett av ovanstående URL-format\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<huvud>\n```\n\nExample:\n```text\nrefs/heads/<huvud>:refs/heads/<gren>\n```\n\nExample:\n```text\nHEAD:refs/heads/<huvud>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.353Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":261}}1197{"id":"doc-git_git_pull_documentation-2f2afbac","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/2.53.0","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.356Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":260}}1198{"id":"doc-git_git_pull_documentation-8f8f3daa","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/2.54.0","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.358Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":260}}1199{"id":"doc-git_git_pull_documentation-73984205","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/zh_HANS-CN","text":"Example:\n```text\ngitpull'\n```\n\nExample:\n```text\n[url \"<实际基础网址>\"]\n\t\tinsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url <实际基础网址>\"]\n\t\tpushInsteadOf = <其他基础网址>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<名称>\"]\n\t\turl = <地址>\n\t\tpushurl = <推送地址>\n\t\tpush = <引用规范>\n\t\tfetch = <引用规范>\n```\n\nExample:\n```text\nURL: one of the above URL format\n\tPush: <引用规范>\n\tPull: <引用规范>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<头分支>:refs/heads/<分支>。\n```\n\nExample:\n```text\nHEAD:refs/heads/<头分支>。\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.359Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":246}}1200{"id":"doc-git_git_pull_documentation-76d4cba3","source":"documentation","title":"Git - git-pull Documentation","url":"http://git-scm.com/docs/git-pull/2.55.0","text":"Example:\n```text\ngitpull\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tinsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"git://git.host.xz/\"]\n\t\tinsteadOf = host.xz:/path/to/\n\t\tinsteadOf = work:\n```\n\nExample:\n```text\n[url \"<actual-url-base>\"]\n\t\tpushInsteadOf = <other-url-base>\n```\n\nExample:\n```text\n[url \"ssh://example.org/\"]\n\t\tpushInsteadOf = git://example.org/\n```\n\nExample:\n```text\n[remote \"<name>\"]\n\t\turl = <URL>\n\t\tpushurl = <pushurl>\n\t\tpush = <refspec>\n\t\tfetch = <refspec>\n```\n\nExample:\n```text\nURL: one of the above URL formats\n\tPush: <refspec>\n\tPull: <refspec>\n```\n\nExample:\n```text\n<URL>#<head>\n```\n\nExample:\n```text\nrefs/heads/<head>:refs/heads/<branch>\n```\n\nExample:\n```text\nHEAD:refs/heads/<head>\n```\n\nExample:\n```text\n[branch \"main\"]\n remote = origin\n merge = refs/heads/main\n```\n\nExample:\n```text\nrefs/heads/*:refs/remotes/origin/*\n```\n\nExample:\n```text\n$ git pull\n$ git pull origin\n```\n\nExample:\n```text\n$ git pull origin next\n```\n\nExample:\n```text\n$ git fetch origin\n$ git merge origin/next\n```\n\n<|endofdoc|>","metadata":{"transformedAt":"2026-08-18T15:17:42.362Z","totalSectionsIncluded":0,"totalCodeBlocksIncluded":15,"totalLines":91,"estimatedTokens":260}}