【发布时间】:2012-01-26 03:12:16
【问题描述】:
我对 Git 还很陌生,我在执行变基时遇到了问题,它似乎显示了一个文件...
创建.sql
还有一个文件
创建.sql
Create.sql 没有暂存,并且在物理上不再存在,但是我无法继续使用变基...当我尝试 git rebase --continue 我得到以下...
$ git rebase --continue
KeyBlade/KeyBlade.Database/_Pending/Create.sql: needs update
You must edit all merge conflicts and then
mark them as resolved using git add
Git 状态显示如下...
/c/src/git ((c3760e6...)|REBASE)
$ git status
# Not currently on any branch.
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: KeyBlade/KeyBlade.Database/_Pending/create.sql
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: KeyBlade/KeyBlade.Database/_Pending/Create.sql
#
我不确定发生了什么,但如果有人能阐明我如何解决这个问题,将不胜感激。
【问题讨论】:
-
您使用的是哪个操作系统和文件系统?
-
我使用的是 Windws 7 - NTFS 文件系统
标签: git