亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Verzeichnis suchen
Guides gitattributes giteveryday gitglossary gitignore gitmodules gitrevisions gittutorial gitworkflows Administration git archive git bundle git clean git filter-branch git fsck git gc git instaweb git reflog Basic Snapshotting git add git commit git diff git mv git reset git rm git status Branching and Merging git branch git checkout git log git merge git mergetool git stash git tag Debugging git bisect git blame git grep Email git am git format-patch git request-pull git send-email External Systems git fast-import git svn Getting and Creating Projects git clone git init Git git annotate git archimport git bisect-lk2009 git check-attr git check-mailmap git check-ref-format git checkout-index git cherry git citool git column git credential git credential-cache git credential-store git cvsexportcommit git cvsimport git cvsserver git diff-files git diff-tree git difftool git fast-export git fetch-pack git fmt-merge-msg git get-tar-commit-id git gui git http-backend git http-fetch git http-push git imap-send git index-pack git interpret-trailers git ls-remote git ls-tree git mailinfo git mailsplit git merge-file git merge-index git merge-one-file git merge-tree git mktag git mktree git name-rev git notes git p4 git pack-objects git pack-redundant git pack-refs git parse-remote git patch-id git prune git prune-packed git quiltimport git receive-pack git remote-ext git remote-fd git remote-testgit git repack git replace git rerere git send-pack git sh-i18n git sh-setup git shell git show-branch git show-index git stripspace git unpack-file git unpack-objects git upload-archive git upload-pack git var git verify-commit git verify-tag git whatchanged git worktree Inspection and Comparison git describe git shortlog git show Miscellaneous api credentials api index gitcli gitcore tutorial gitcredentials gitcvs migration gitdiffcore githooks gitk gitnamespaces gitremote helpers gitrepository layout gitsubmodules gittutorial 2 gitweb gitweb.conf pack format User Manual Patching git apply git cherry-pick git rebase git revert Plumbing Commands git cat-file git check-ignore git commit-tree git count-objects git diff-index git for-each-ref git hash-object git ls-files git merge-base git read-tree git rev-list git rev-parse git show-ref git symbolic-ref git update-index git update-ref git verify-pack git write-tree Server Admin git daemon git update-server-info Setup and Config git git config git help Sharing and Updating Projects git fetch git pull git push git remote git submodule
Figuren

Name

git-help  - 顯示關(guān)于 Git 的幫助信息

概要

git help [-a|--all] [-g|--guide]           [-i|--info|-m|--man|-w|--web] [COMMAND|GUIDE]

描述

如果沒有選項(xiàng),也沒有 COMMAND 或 GUIDE ,git命令的概要和最常用的 Git 命令列表將打印在標(biāo)準(zhǔn)輸出中。

如果選項(xiàng)--all-a給定,所有可用的命令都打印在標(biāo)準(zhǔn)輸出上。

如果選項(xiàng)--guide或者-g給出,有用的 Git 指南列表也會(huì)打印在標(biāo)準(zhǔn)輸出中。

如果給出命令或指南,則提供該命令或指南的手冊(cè)頁。該man程序默認(rèn)用于此目的,但這可以被其他選項(xiàng)或配置變量覆蓋。

注意,git --help ...是相同的git help ...,因?yàn)榍罢咴趦?nèi)部轉(zhuǎn)換成后者。

要顯示 git [1] 手冊(cè)頁,請(qǐng)使用git help git。

此頁面可以用git help help或顯示git help --help

選項(xiàng)

-a   --all

在標(biāo)準(zhǔn)輸出上打印所有可用的命令。該選項(xiàng)將覆蓋任何給定的命令或指南名稱。

-g   --guides

在標(biāo)準(zhǔn)輸出上打印有用的指南列表。該選項(xiàng)將覆蓋任何給定的命令或指南名稱。

-i   --info

info格式顯示命令的手冊(cè)頁。該info計(jì)劃將用于此目的。

-m   --man

man格式顯示命令的手冊(cè)頁。該選項(xiàng)可用于覆蓋help.format配置變量中設(shè)置的值。

默認(rèn)情況下,man程序?qū)⒂糜陲@示手冊(cè)頁,但man.viewer配置變量可用于選擇其他顯示程序(見下文)。

-w   --web

web(HTML)格式顯示命令的手冊(cè)頁。網(wǎng)頁瀏覽器將用于此目的。

Web瀏覽器可以使用配置變量指定help.browser,或者web.browser前者未設(shè)置。如果這些配置變量都沒有設(shè)置,git web{litdd}browse助手腳本(調(diào)用者git help)會(huì)選擇合適的默認(rèn)值。有關(guān)詳細(xì)信息,請(qǐng)參閱 git-web {litdd} 瀏覽[1]。

配置變量

help.format

如果沒有傳遞任何命令行選項(xiàng),help.format則會(huì)檢查配置變量。該變量支持以下值; 它們會(huì)git help表現(xiàn)為相應(yīng)的命令行選項(xiàng):

  • "man" corresponds to -m|--man,

  • "info" corresponds to -i|--info,

  • “web”或“html”對(duì)應(yīng)于-w|--web.help.browser,web.browser 和 browser。<tool> .pathThe help.browser,web.browser 并且 browser.<tool>.path 如果web格式被選擇(通過命令行選項(xiàng)或配置變量),也將被檢查。請(qǐng)參閱-w|--web上面的選項(xiàng)部分和 git-web {litdd} browse [1] .man.viewer man.viewer如果man選擇了格式,將檢查配置變量。目前支持以下值:

  • “man”:man像往常一樣使用該程序,

  • “woman”:用于emacsclient在 emacs 中啟動(dòng)“woman”模式(這只能從 emacsclient 版本22開始),

  • “konqueror”:用于kfmclient在新的 konqueror 選項(xiàng)卡中打開手冊(cè)頁(見Note about konqueror下文)。

如果有相應(yīng)的man.<tool>.cmd配置條目,可以使用其他工具的值(見下文)。

可以給man.viewer配置變量多個(gè)值。他們相應(yīng)的程序?qū)凑张渲梦募辛谐龅捻樞蜻M(jìn)行嘗試。

例如,這種配置:

        [man]
                viewer = konqueror
                viewer = woman

將嘗試首先使用 konqueror。但是這可能會(huì)失?。ɡ?,如果沒有設(shè)置 DISPLAY),那么 emacs 的女性模式將被嘗試。

如果一切都失敗了,或者沒有配置查看器,那么GIT_MAN_VIEWER環(huán)境變量中指定的查看器將被嘗試。如果這也失敗了,該man程序?qū)⒈粐L試。

man.<tool>.path

您可以通過設(shè)置配置變量,明確提供一個(gè)完整路徑給您的首選人查看器man.<tool>.path。例如,您可以通過設(shè)置配置 konqueror 的絕對(duì)路徑man.konqueror.path。否則,git help假定該工具在 PATH 中可用。

man.<tool>.cmd

當(dāng)由man.viewer配置變量指定的 man 查看器不在支持的查看器中時(shí),man.<tool>.cmd將查找相應(yīng)的配置變量。如果此變量存在,那么指定的工具將被視為自定義命令,并且將使用 shell eval 來運(yùn)行該命令,并將 man 頁面作為參數(shù)傳遞。

Note about konqueror

當(dāng)konquerorman.viewer配置變量中指定時(shí),我們啟動(dòng)kfmclient以嘗試在可能的情況下在新選項(xiàng)卡上打開已打開的 konqueror 上的手冊(cè)頁。

為了保持一致性,如果man.konqueror.path設(shè)置為類似的東西,我們也會(huì)嘗試這種技巧A_PATH_TO/konqueror。這意味著我們將嘗試啟動(dòng)A_PATH_TO/kfmclient。

如果你真的想使用konqueror,那么你可以使用類似下面的東西:

        [man]
                viewer = konq        [man "konq"]
                cmd = A_PATH_TO/konqueror

關(guān)于 git config --global 的說明

請(qǐng)注意,所有這些配置變量都應(yīng)該使用--global標(biāo)志來設(shè)置,例如像這樣:

$ git config --global help.format web
$ git config --global web.browser firefox

因?yàn)樗鼈兛赡鼙忍囟ㄓ诖鎯?chǔ)庫的用戶更具體。有關(guān)更多信息,請(qǐng)參閱 git-config [1]。

Vorheriger Artikel: N?chster Artikel: