「法鼓全集 XML 標記手冊」:修訂間差異
出自DILA Wiki
imported>Ray 無編輯摘要 |
imported>Ray (→GitHub) |
||
行 1: | 行 1: | ||
=GitHub= | =GitHub= | ||
==註冊 GitHub 帳號== | ==註冊 GitHub 帳號== | ||
到 https://github.com/ 註冊 | # 到 https://github.com/ 註冊 | ||
# 把您的帳號通知管理者, 授予編輯權限. | |||
==產生 SSH Key== | ==產生 SSH Key== | ||
# 執行 程式集 => TortoiseGit => Puttygen | # 執行 程式集 => TortoiseGit => Puttygen | ||
行 14: | 行 13: | ||
==設定 GitHub 裡的 SSH Key== | ==設定 GitHub 裡的 SSH Key== | ||
到 GitHub 個人設定 | # 到 GitHub 個人設定 | ||
按「Edit Your File」 | # 按「Edit Your File」 | ||
按左方 「SSH Keys」 | # 按左方 「SSH Keys」 | ||
按右方「Add SSH Key」 | # 按右方「Add SSH Key」 | ||
Title 可以不必輸入 | # Title 可以不必輸入 | ||
將剛複製的 public key 貼到 key 欄位 | # 將剛複製的 public key 貼到 key 欄位 | ||
按 Add Key | # 按 Add Key | ||
這個 key 是跟著你在 GitHub 中所建的帳號. | |||
==確認 TortoiseGit 的連線方式== | ==確認 TortoiseGit 的連線方式== | ||
行 33: | 行 34: | ||
==pull== | ==pull== | ||
Pull 時, 「AutoLoad Putty Key」打勾 | Pull 時, 「AutoLoad Putty Key」打勾 | ||
=div1= | =div1= |
於 2013年7月31日 (三) 09:12 的修訂
GitHub
註冊 GitHub 帳號
- 到 https://github.com/ 註冊
- 把您的帳號通知管理者, 授予編輯權限.
產生 SSH Key
- 執行 程式集 => TortoiseGit => Puttygen
- 按「Generate」
- mouse 在上方任意移動, 程式會根據移動的變數產生 key, 如果 mouse 不移動, 產生進度會停下來.
- 產生完成後, 按「Save Private Key」儲存 private key, 路徑自己選, 要記得, 後面會用到.
- copy PuTTYKey Generator 上方的 public key
設定 GitHub 裡的 SSH Key
- 到 GitHub 個人設定
- 按「Edit Your File」
- 按左方 「SSH Keys」
- 按右方「Add SSH Key」
- Title 可以不必輸入
- 將剛複製的 public key 貼到 key 欄位
- 按 Add Key
這個 key 是跟著你在 GitHub 中所建的帳號.
確認 TortoiseGit 的連線方式
- 程式集 => TortoiseGit => Settings => Network
- 確認 SSH client 是否為 C:\Program Files\TortoiseGit\bin\TortoiseGitPLink.exe (也可能在 Program Files (x86) 資料夾裡)
clone
做 clone
- URL: git@github.com:ddbc/faguquanji.git
- 「Load Putty Key」要打勾, 檔案選前面用 PuTTY Key Generator 產生、儲存的 private key.
pull
Pull 時, 「AutoLoad Putty Key」打勾
div1
@type="ms-ref"
記錄跟本書相關的手稿圖檔, ms-ref 的意思是 Manuscript References
<front>
<div1 type="ms-ref">
<p>
<ref type="syms" target="SYA001812_001"/>
<ref type="syms" target="SYA002835_001"/>
</p>
</div1>
</front>