亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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-imap-send  - 從 stdin 發(fā)送一組補(bǔ)丁到一個(gè) IMAP 文件夾

概要

git imap-send [-v] [-q] [--[no-]curl]

描述

命令將生成的郵箱上傳git format-patch到 IMAP 草稿文件夾。這允許在使用無法直接讀取郵箱文件的郵件客戶端時(shí)以其他郵件形式發(fā)送修補(bǔ)程序。該命令也適用于郵件中按順序包含“From”,“Date”和“Subject”字段的任何常規(guī)郵箱。

典型用法如下所示:

git format-patch --signoff --stdout --attach origin | git imap-send

選項(xiàng)

-v   --verbose

詳細(xì)。

-q   --quiet

安靜。

--curl

使用 libcurl 與 IMAP 服務(wù)器進(jìn)行通信,除非進(jìn)行隧道傳輸。如果 Git 是在未設(shè)置 USE_CURL_FOR_IMAP_SEND 選項(xiàng)的情況下構(gòu)建的,則會(huì)被忽略。

--no-curl

使用 git 自己的 IMAP 例程與 IMAP 服務(wù)器交談,而不是使用 libcurl。如果 Git 是使用 NO_OPENSSL 選項(xiàng)設(shè)置的,則會(huì)被忽略。

組態(tài)

要使用該工具,必須將 imap.folder和imap.tunnel 或 imap.host 設(shè)置為適當(dāng)?shù)闹怠?/p>

變量

imap.folder

放入郵件的文件夾,通常是草稿文件夾。例如:“INBOX.Drafts”,“INBOX /草稿”或“Gmail /草稿”。需要。

imap.tunnel

用于設(shè)置到 IMAP 服務(wù)器的隧道的命令,通過該隧道將傳輸命令,而不是使用到服務(wù)器的直接網(wǎng)絡(luò)連接。未設(shè)置 imap.host 時(shí)需要。

imap.host

標(biāo)識(shí)服務(wù)器的 URL。使用imap://非安全連接前綴和一個(gè)imaps://用于安全連接的前綴。當(dāng)設(shè)置 imap.tunnel 時(shí)忽略,但另有要求。

imap.user

登錄到服務(wù)器時(shí)使用的用戶名。

imap.pass

登錄到服務(wù)器時(shí)使用的密碼。

imap.port

在服務(wù)器上連接的整數(shù)端口號(hào)。對(duì)于 imap://主機(jī),默認(rèn)為143,對(duì)于 imaps://主機(jī),默認(rèn)為993。當(dāng)設(shè)置 imap.tunnel 時(shí)忽略。

imap.sslverify

一個(gè)布爾值,用于啟用/禁用 SSL / TLS 連接所使用的服務(wù)器證書的驗(yàn)證。默認(rèn)是true。當(dāng)設(shè)置 imap.tunnel 時(shí)忽略。

imap.preformattedHTML

發(fā)送補(bǔ)丁時(shí)啟用/禁用 HTML編碼的布爾值。一個(gè) html 編碼的補(bǔ)丁將被括在<pre>中,并且具有 text / html 的內(nèi)容類型。具有諷刺意味的是,啟用此選項(xiàng)會(huì)使 Thunderbird 以普通/文本格式=固定電子郵件發(fā)送補(bǔ)丁。默認(rèn)是false。

imap.authMethod

指定用 IMAP 服務(wù)器進(jìn)行身份驗(yàn)證的身份驗(yàn)證方法。如果 Git 是使用 NO_CURL 選項(xiàng)構(gòu)建的,或者如果您的 curl 版本早于7.34.0,或者您使用該--no-curl選項(xiàng)運(yùn)行g(shù)it-imap-send ,則唯一支持的方法是CRAM-MD5。如果未設(shè)置,則git imap-send使用基本的 IMAP 明文 LOGIN 命令。

示例

使用隧道模式:

[imap]
    folder = "INBOX.Drafts"
    tunnel = "ssh -q -C user@example.com /usr/bin/imapd ./Maildir 2> /dev/null"

使用直接模式:

[imap]
    folder = "INBOX.Drafts"
    host = imap://imap.example.com
    user = bob
    pass = p4ssw0rd

通過 SSL 使用直接模式:

[imap]
    folder = "INBOX.Drafts"
    host = imaps://imap.example.com
    user = bob
    pass = p4ssw0rd
    port = 123
    sslverify = false

示例

要使用 GMail 的 IMAP 界面提交補(bǔ)丁,首先編輯 ?/ .gitconfig 來指定您的帳戶設(shè)置:

[imap]
        folder = "[Gmail]/Drafts"
        host = imaps://imap.gmail.com
        user = user@gmail.com
        port = 993
        sslverify = false

如果出現(xiàn)“文件夾不存在”的錯(cuò)誤,您可能需要改為使用:folder =“Google Mail / Drafts”。

一旦提交準(zhǔn)備好發(fā)送,運(yùn)行以下命令:

$ git format-patch --cover-letter -M --stdout origin/master | git imap-send

只需確保在電子郵件客戶端中禁用換行(GMail 的 Web 界面將包裝行,無論如何,所以您需要使用真正的 IMAP 客戶端)。

警告

您仍然有責(zé)任確保您的電子郵件程序發(fā)送的電子郵件符合您項(xiàng)目的標(biāo)準(zhǔn)。許多項(xiàng)目不喜歡要添加的補(bǔ)丁。某些郵件代理會(huì)以某種方式轉(zhuǎn)換補(bǔ)?。ɡ鐡Q行,將它們以 format = flowed 的方式發(fā)送),從而導(dǎo)致它們失敗。如果你不檢查這個(gè),你會(huì)生氣地嘲笑你。

Previous article: Next article: