zoukankan      html  css  js  c++  java
  • 单人SVN提交bug

    The working copy "初识tableVIew" failed to commit files.
    
    fatal: Unable to create '/Users/zjj/ios项目/UITableView/初识tableVIew/.git/index.lock': File exists.
    
    If no other git process is currently running, this probably means a
    git process crashed in this repository earlier. Make sure no other git
    process is running and remove the file manually to continue.

    mac文件隐藏和显示 命令操作
    显示:defaults write com.apple.finder AppleShowAllFiles -bool true
    隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false

    解决方法:

    rm -f ./.git/index.lock
    打开所有隐藏文件 删除该项目文件下的.git文件夹目录的index.lock即可

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

    .git文件夹目录的config文件加入邮箱和名字
    [core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    [user]
    #添加以下两行:
    email = yourname@me.com
    name = yourname

    个人mac上提交代码仍然不好使 建议更换为svn之类

  • 相关阅读:
    static的全部用法收集整理
    文思创新复试及一些自己的思考
    “一碗牛肉面”引发的管理难题
    信必优面试实录
    我做PM(项目经理)这段时间...
    什么是面向对象?
    沟通
    体会Bind和Eval的不同用法
    北京艾德思奇科技有限公司面试实录
    今天去sony公司面试实录
  • 原文地址:https://www.cnblogs.com/zhangdashao/p/4525258.html
Copyright © 2011-2022 走看看