SSH
產生 Key
看 pub key
cat ~/.ssh/id_rsa.pub複製 pub key 並貼到 Git Server 上
建立獨立的分支
建立完全獨立,沒有 Parent 的 branch
git checkout --orphan newbranchgit rm -rf . # 砍掉所有檔案重來
... # 加新檔案
git add .git commit -m 'create new branch'產生 Key
看 pub key
cat ~/.ssh/id_rsa.pub複製 pub key 並貼到 Git Server 上
建立完全獨立,沒有 Parent 的 branch
git checkout --orphan newbranchgit rm -rf . # 砍掉所有檔案重來
... # 加新檔案
git add .git commit -m 'create new branch'