美文网首页
is not clean

is not clean

作者: 大牛大神 | 来源:发表于2018-06-01 17:28 被阅读18次

    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 'zhangqi@bogon.(none)')

    A

    bogon:1.1.0 zhangqi$ git config --global user.email "467601991@qq.com"

    bogon:1.1.0 zhangqi$ git config --global user.name "zhangqi"

    bogon:1.1.0 zhangqi$

    相关文章

      网友评论

          本文标题:is not clean

          本文链接:https://www.haomeiwen.com/subject/cfpksftx.html