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

directory search
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
characters

名稱

git-sh-setup  - 常用的 Git shell 腳本設(shè)置代碼

概要

. "$(git --exec-path)/git-sh-setup"

描述

這不是最終用戶想要運(yùn)行的命令。永遠(yuǎn)不會是。本文檔適用于正在研究 Pornic-ish 腳本和/或正在編寫新腳本的人員。

git sh-setup小腳本設(shè)計(使用要采購.通過其他 shell 腳本)設(shè)置一些變量,在普通的 Git 目錄和幾個幫手外殼功能指向。

在采購它之前,您的腳本應(yīng)該設(shè)置一些變量; USAGE(以及LONG_USAGE如果有的話)用于定義由usage()shell 函數(shù)給出的消息。SUBDIRECTORY_OK可以設(shè)置腳本是否可以從工作樹的子目錄運(yùn)行(某些命令不會)。

小腳本設(shè)置GIT_DIRGIT_OBJECT_DIRECTORYshell 變量,但并沒有將其導(dǎo)出到環(huán)境中。

功能

結(jié)束

將提供的錯誤消息發(fā)送到標(biāo)準(zhǔn)錯誤流后退出。

用法

與用法消息一起結(jié)束。

set_reflog_action

除非已設(shè)置GIT_REFLOG_ACTION環(huán)境,否則請將環(huán)境設(shè)置為給定的字符串(通常是程序的名稱)。每當(dāng)腳本運(yùn)行git更新引用的命令時,就會使用此字符串的值創(chuàng)建引用日志條目,以保留引用更新引用的記錄。

git_editor

在給定的文件上運(yùn)行用戶選擇的編輯器(GIT_EDITOR,core.editor,VISUAL或EDITOR),但如果沒有指定編輯器并且終端為啞,則出錯。

is_bare_repository

輸出truefalse標(biāo)準(zhǔn)輸出流來指示倉庫是否為裸倉庫(即沒有關(guān)聯(lián)的工作樹)。

cd_to_toplevel

運(yùn)行 chdir 到工作樹的頂層。

require_work_tree

檢查當(dāng)前目錄是否在存儲庫的工作樹內(nèi),否則會結(jié)束。

require_work_tree_exists

檢查與存儲庫相關(guān)聯(lián)的工作樹是否存在,否則將結(jié)束。通常在調(diào)用 cd_to_toplevel 之前完成,如果沒有工作樹,這是不可能的。

require_clean_work_tree <action> <hint>

檢查與存儲庫相關(guān)聯(lián)的工作樹和索引沒有未被落實的對被跟蹤文件的改變。否則它會發(fā)出Cannot <action>: <reason>. <hint>表單的錯誤消息,并結(jié)束。例:

require_clean_work_tree rebase "Please commit or stash them."

get_author_ident_from_commit

輸出與 eval 一起使用的代碼,以便為給定提交設(shè)置 GIT_AUTHOR_NAME,GIT_AUTHOR_EMAIL和GIT_AUTHOR_DATE 變量。

create_virtual_base

修改第一個文件,只保留與第二個文件相同的行。如果共用資料不足,則第一個文件留空。該結(jié)果適合作為3路合并的虛擬基礎(chǔ)輸入。

Previous article: Next article: