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$