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

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

  •  
  •   kechx · Mar 7, 2017 · 3617 views
    This topic created in 3470 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   ·   837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    ♥ Do have faith in what you're doing.