裝好git後
準備好repo檔案
https://github.com/esrlabs/git-repo
首先呢要sync東西下來,假設你有一個資料夾在D:/ggininder
git bash中(要開Run as administrator)
先
cd /D/ggininder/
mkdir ~/bin
curl https://raw.githubusercontent.com/esrlabs/git-repo/stable/repo > ~/bin/repo
curl https://raw.githubusercontent.com/esrlabs/git-repo/stable/repo.cmd > ~/bin/repo.cmd
這時候資料夾裡就有.repo資料夾了,可以開始init跟sync
repo init -u ssh://[gerrit account]@192.168.1.1:5566/biggg_project -g common,all –q
repo sync
沒有留言:
張貼留言