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

概要

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

描述

將 Git 中的提交導出到 CVS 簽出,從而更容易將 Git 存儲庫中的修補程序合并到 CVS 存儲庫中。

使用-w開關指定 CVS 簽出的名稱,或從 CVS 工作副本的根目錄執(zhí)行。在后一種情況下,必須定義 GIT_DIR。看下面的例子。

它盡最大努力去做安全的事情,它會檢查 CVS 結帳中的文件是否保持不變并且是最新的,并且默認情況下它不會自動提交。

支持影響二進制文件的文件添加,刪除和提交。

如果提交是合并提交,則必須告訴git cvsexportcommit應該對變更集進行的操作。

選項

-c

如果干凈地補丁應用,自動提交。如果任何人不能應用或出現(xiàn)其他問題,它將不會提交。

-p

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

-a

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

-d

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

-f

即使文件不是最新的,也強制合并。

-P

強制雙親提交,即使它不是直接雙親。

-m

用提供的前綴預先提交提交消息。用于補丁系列等。

-u

嘗試導出之前,從 CVS 存儲庫更新受影響的文件。

-k

在應用修補程序之前,在工作 CVS 簽出時反向 CVS 關鍵字擴展(例如$ Revision:1.2.3.4 $變?yōu)? Revision $)。

-w

指定用于導出的 CVS 簽出的位置。如果當前目錄位于 Git 存儲庫中,則此選項不需要在執(zhí)行前設置 GIT_DIR。默認值是cvsexportcommit.cvsdir。的值。

-W

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

-v

Verbose.

組態(tài)

cvsexportcommit.cvsdir

用于導出的 CVS 簽出的默認位置。

示例

將一個補丁合并到 CVS 中

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

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

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

自動將待處理的補丁合并到 CVS 中 - 只有在您確實知道自己在做什么的情況下

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