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之类

  • 相关阅读:
    Grove.net实践ORM学习笔记
    COM+的事务
    Delphi中MIDAS线程模型
    Delphi中封装ADO之我重学习记录。。。
    100 多个JaveScript 常用函数
    javascript 事件
    js 收藏
    js 常用函数
    表单11种Input的高级用法
    UltraEdit 使用技巧
  • 原文地址:https://www.cnblogs.com/zhangdashao/p/4525258.html
Copyright © 2011-2022 走看看