che*_*ica 3 git github github-for-windows
有时当我按下SyncGithub for Windows上的按钮时,它会告诉我:
Failed to sync this branch
You might need to open a shell and debug the state of this repo
Run Code Online (Sandbox Code Playgroud)
然后我去控制台输入一个git status.大部分时间发生这种情况时,会git status告诉我以下信息:
> git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
You are currently rebasing.
(all conflicts fixed: run "git rebase --continue")
nothing to commit, working directory clean
Run Code Online (Sandbox Code Playgroud)
如果我理解正确的话,那么:
> git rebase --continue
Stray path/to/repo/.git/rebase-apply directory found.
Use "git am --abort" to remove it.
我这样做:
> git am --abort
Run Code Online (Sandbox Code Playgroud)
之后,Rebase操作完成/中止,再次按下Github for Windows的同步按钮成功推送提交.
我只是想知道,如果没有冲突,为什么Sync op首先失败?
我是Windows开发人员的GitHub之一.
GitHub for Windows生成的日志文件有助于了解执行同步时发生的情况:
https://help.github.com/articles/accessing-the-github-for-windows-log
我很想知道为什么rebase失败了,因为看起来它应该完成其他细节的判断......
| 归档时间: |
|
| 查看次数: |
291 次 |
| 最近记录: |