2019 Collaborative Product Design Internship BG3

week2 << Previous Next >> week4

week3

修改start.bat,以及如何在可攜程式系統中配置 ungit

利用 ungit 在倉儲個提交點設定 tag, 然後利用 git checkout 指令帶出各版本內容

根據 https://2019wcm.blogspot.com/2019/03/ungit.html 的設定, 完成 ungit 配置.

1.下載 ungit 與 node.js 程式碼

2.解開壓縮檔案, 然後將 nodejs 放入 kmol_2019 的 data 目錄中

3.設定啟動 start.bat 中的 ungit 命列列搜尋路徑

set path8=%Disk%:\nodejs;%Disk%:\nodejs\appdata\roaming\npm;

4.將 path8 納入 path 設定

path=%path%;%path1%;%path2%;%path3%;%path4%;%path5%;%path6%;%path7%;%Disk%:\p37\site-packages\scipy\extra_dll;%Disk%:\scite\bin;%path8%;

5.為了讓 node.js 能夠使用 y:\home 作為使用者目錄, 在 start.bat 中加入

set USERPROFILE=%Disk%:\home

ssh 連結 github 倉儲

ProxyCommand y:/PortableGit/mingw64/bin/connect.exe -H proxy.kmol.info:3128 %h %p

# for mdecourse
Host github.com_mdecourse
    User git
    Port 22
    Hostname github.com

    IdentityFile "y:\home\.ssh\id_rsa_mdecourse"

    TCPKeepAlive yes
    IdentitiesOnly yes

week2 << Previous Next >> week4