Q:
[!] The repo `testOnes` at `../../../../.cocoapods/repos/My本地庫` is not clean
A:
?-n 顯示 將要 刪除的 文件 和? 目錄
?-f 刪除 文件,
? -df 刪除 文件 和 目錄
git clean -n
git clean -df
git clean -f
bogon:1.1.0 zhangqi$ cd /Users/zhangqi/.cocoapods/repos
bogon:repos zhangqi$? pod repo update My本地庫
Q:
*** Please tell me who you are.
Run
? git config --global user.email "you@example.com"
? git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'name@bogon.(none)')
A
bogon:1.1.0 zhangqi$ git config --global user.email "123123@qq.com"
bogon:1.1.0 zhangqi$ git config --global user.name "name"
bogon:1.1.0 zhangqi$