亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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-cvsexportcommit  - 將一次提交導(dǎo)出到 CVS 簽出

概要

git cvsexportcommit [-h] [-u] [-v] [-c] [-P] [-p] [-a] [-d cvsroot]        [-w cvsworkdir] [-W] [-f] [-m msgprefix] [PARENTCOMMIT] COMMITID

描述

將 Git 中的提交導(dǎo)出到 CVS 簽出,從而更容易將 Git 存儲(chǔ)庫中的修補(bǔ)程序合并到 CVS 存儲(chǔ)庫中。

使用-w開關(guān)指定 CVS 簽出的名稱,或從 CVS 工作副本的根目錄執(zhí)行。在后一種情況下,必須定義 GIT_DIR??聪旅娴睦?。

它盡最大努力去做安全的事情,它會(huì)檢查 CVS 結(jié)帳中的文件是否保持不變并且是最新的,并且默認(rèn)情況下它不會(huì)自動(dòng)提交。

支持影響二進(jìn)制文件的文件添加,刪除和提交。

如果提交是合并提交,則必須告訴git cvsexportcommit應(yīng)該對(duì)變更集進(jìn)行的操作。

選項(xiàng)

-c

如果干凈地補(bǔ)丁應(yīng)用,自動(dòng)提交。如果任何人不能應(yīng)用或出現(xiàn)其他問題,它將不會(huì)提交。

-p

應(yīng)用補(bǔ)丁時(shí)要迂腐(偏執(zhí)狂)。使用--fuzz = 0調(diào)用修補(bǔ)程序

-a

添加作者信息。將作者行和提交者(如果與作者不同)添加到消息中。

-d

設(shè)置一個(gè)替代的 CVSROOT 使用。這對(duì)應(yīng)于 CVS -d參數(shù)。通常用戶不想設(shè)置它,除非以非對(duì)稱方式使用 CVS 。

-f

即使文件不是最新的,也強(qiáng)制合并。

-P

強(qiáng)制雙親提交,即使它不是直接雙親。

-m

用提供的前綴預(yù)先提交提交消息。用于補(bǔ)丁系列等。

-u

嘗試導(dǎo)出之前,從 CVS 存儲(chǔ)庫更新受影響的文件。

-k

在應(yīng)用修補(bǔ)程序之前,在工作 CVS 簽出時(shí)反向 CVS 關(guān)鍵字?jǐn)U展(例如$ Revision:1.2.3.4 $變?yōu)? Revision $)。

-w

指定用于導(dǎo)出的 CVS 簽出的位置。如果當(dāng)前目錄位于 Git 存儲(chǔ)庫中,則此選項(xiàng)不需要在執(zhí)行前設(shè)置 GIT_DIR。默認(rèn)值是cvsexportcommit.cvsdir。的值。

-W

告知 cvsexportcommit,當(dāng)前的工作目錄不僅是一個(gè) Git 簽出,還包括 CVS 簽出。因此,在繼續(xù)之前,Git 會(huì)將工作目錄重置為父提交。

-v

Verbose.

組態(tài)

cvsexportcommit.cvsdir

用于導(dǎo)出的 CVS 簽出的默認(rèn)位置。

示例

將一個(gè)補(bǔ)丁合并到 CVS 中

$ export GIT_DIR=~/project/.git
$ cd ~/project_cvs_checkout
$ git cvsexportcommit -v <commit-sha1>$ cvs commit -F .msg <files>

將一個(gè)補(bǔ)丁合并到 CVS 中(-c和-w選項(xiàng))。工作目錄位于 Git Repo 內(nèi)

        $ git cvsexportcommit -v -c -w ~/project_cvs_checkout <commit-sha1>

自動(dòng)將待處理的補(bǔ)丁合并到 CVS 中 - 只有在您確實(shí)知道自己在做什么的情況下

$ export GIT_DIR=~/project/.git
$ cd ~/project_cvs_checkout
$ git cherry cvshead myhead | sed -n 's/^+ //p' | xargs -l1 git cvsexportcommit -c -p -v
Previous article: Next article: