git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
kechx
V2EX  ›  git

Git 常见错误及解决方法( add, pull, push)

  •  
  •   kechx · Mar 7, 2017 · 3649 views
    This topic created in 3506 days ago, the information mentioned may be changed or developed.

    Git 基础--常见错误及解决方案

    You have unmerged files.

    • 根据 Git 命令行报错信息修改相关冲突文件,然后 commit

    commit your changes before you can merge.

    • 取消 commit
    git merge --abort
    git reset --merge
    
    
    • 解决冲突文件
    • 重新 add

    push error: failed to push some refs to ‘’

    • commit 之前先 git pull

    Git 基础--常见错误及解决方案

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:59 · PVG 06:59 · LAX 15:59 · JFK 18:59
    ♥ Do have faith in what you're doing.