- 取得source $ repo init -u [address] -b [branch] 
- 更換remote branch $ repo init -b [branch] 
- 建立/跳轉local branch $ repo start [branch] [dir] or $ repo start --all [branch] 
- 清除未進track的檔案 $ repo forall -c git clean -fdD 
- 清除未commit 檔案 $ repo forall -c git reset --hard HEAD 
- 取得 repository status $ repo status 
- 清除未commit 檔案 $ repo forall -c git reset --hard HEAD 
 
沒有留言:
張貼留言