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

ディレクトリ 検索
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
テキスト

名稱

git-patch-id  - 計算補丁的唯一 ID

概要

git patch-id [--stable | --unstable]

描述

從標準輸入中讀取補丁并為其計算補丁 ID。

“補丁ID”只不過是與補丁相關的文件差異的 SHA-1之和,忽略空白和行號。因此,它“相當穩(wěn)定”,但同時也是相當獨特的,即具有相同“補丁ID”的兩個補丁幾乎保證是相同的東西。

IOW,你可以使用這個東西來尋找可能的重復提交。

在處理git diff-tree輸出時,它利用了補丁前綴為提交的對象名稱并輸出兩個40字節(jié)的十六進制字符串的事實。第一個字符串是補丁ID,第二個字符串是提交ID。這可以用來制作從補丁ID到提交ID的映射。

選項

--stable

使用“穩(wěn)定”的哈??偤妥鳛檠a丁 ID。有了這個選項:

  • 重新排序組成補丁的文件差異不會影響ID。特別是,通過將相同的兩棵樹與“-O <orderfile>”的兩個不同設置進行比較而產(chǎn)生的兩個補丁導致相同的補丁ID簽名,從而允許計算結果用作索引關于兩棵樹之間的變化;

  • 結果與 git 1.9及更早版本產(chǎn)生的值不同,或者當配置了“unstable”散列(請參閱下面的--unstable)時產(chǎn)生的值 - 即使在不使用“-O <orderfile>”的情況下使用差異輸出時,從而使現(xiàn)有數(shù)據(jù)庫存儲這種“不穩(wěn)定”或歷史補丁ID不可用。

如果 patchid.stable 設置為 true,這是默認值。

--unstable

使用“unstable”散列作為修補程序ID。使用此選項,產(chǎn)生的結果與 git 1.9及更早版本生成的 patch-id 值兼容。預先存在的數(shù)據(jù)庫存儲由 git 1.9及更高版本(不涉及重新排序的補?。┥傻难a丁id的用戶可能需要使用此選項。

This is the default.
前の記事: 次の記事: