cp2023 40923137

  • Home
    • SMap
    • reveal
    • blog
  • About
  • Brython
  • w4-w5
    • 牛頓第二運動定律
    • mass-spring-damper 系統
    • Eulers Method 數值分析
  • w6-w8
    • 程式練習-1 程式碼練習
    • 程式練習-2 繪製國旗
  • w11
  • w12
  • w13
  • w15
  • w16
  • 課程心得
  • 課程工具
    • Replit
    • ChatGPT
    • Microsoft-Teams
w11 << Previous Next >> w13

w12

可攜系統中 home_ipv6 目錄中的 .gitconfig

[http]
    proxy = http://p4.cycu.org:3128
[user]
    name = 你的 github 帳號
    email = 登記在 github 帳號的 email
[safe]
    directory = *
[http "https://github.com"]
sslVerify = false
[pull]
    rebase = false

.gitconfig 設定說明:

[http]
    proxy = http://p4.cycu.org:3128

也可以透過命令列中輸入 git config --global http.proxy http://p4.cycu.org:3128 取得

這是設定 git 指令需要使用 http 或 https 協定擷取 cmsimde 時, 假如網路只支援 IPv6, 就必須透過代理主機連線到目前只支援 IPv4 的 github.com

[user]
    name = 你的 github 帳號
    email = 登記在 github 帳號的 email

是在 git commit -m "提交訊息" 時綁定身分用

[safe]
    directory = *

則是宣告目前所使用的檔案目錄都是 safe

[http "https://github.com"]
    sslVerify = false

表示當連線到 github.com 時所使用的 key 不用登記在 Windows 操作系統中

[pull]
    rebase = false

表示 git pull 時, 並不使用 rebase, 而是直接 fetch 遠端資料, 並且進行 merge 合併


w11 << Previous Next >> w13

Copyright © All rights reserved | This template is made with by Colorlib