Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 只读模式拉取了变更,但是比较中却觉得没变更 #515

Open
linonetwo opened this issue Jan 24, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@linonetwo
Copy link
Contributor

Environment 环境信息

No response

Description 描述

No response

Steps to Reproduce 复现方式

开了只读模式,并填了token后,在博客服务器电脑上

Additional Context 额外上下文

{"callerFunction":"forcePull","dir":"D:\\wiki\\linonetwo-wiki","functionName":"getSyncState","level":"debug","message":"Checking sync state with upstream, command: `git rev-list --count --left-right origin/master...HEAD` , stdout:\n0\t0\n\n(stdout end)","step":"CheckingLocalSyncState","timestamp":"2024-01-24T13:13:37.728Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\linonetwo-wiki","functionName":"forcePull","level":"debug","message":"syncState in dir D:\\wiki\\linonetwo-wiki is equal","remoteUrl":"https://github.com/linonetwo/wiki","step":"StartFetchingFromGithubRemote","timestamp":"2024-01-24T13:13:37.728Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\linonetwo-wiki","functionName":"forcePull","handler":"wiki-sync-progress","id":"JoOk6G4SNfmC3aN1kxdG6","level":"info","message":"跳过强制拉取,远端没有更新","remoteUrl":"https://github.com/linonetwo/wiki","step":"SkipForcePull","timestamp":"2024-01-24T13:13:37.728Z"}
@linonetwo linonetwo added the bug Something isn't working label Jan 24, 2024
@linonetwo linonetwo self-assigned this Jan 24, 2024
@linonetwo
Copy link
Contributor Author

官网就可以

{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"开始强制拉取远端内容,将完全覆盖本地","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartForcePull","timestamp":"2024-01-24T13:17:46.998Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","level":"debug","message":"Do preflight Check before force pull in dir D:\\wiki\\TidGi-Official-Website","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartForcePull","timestamp":"2024-01-24T13:17:46.999Z"}
{"callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"getGitDirectory","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"正在检测本地 Git 仓库是否正确地初始化了","step":"CheckingLocalGitRepoSanity","timestamp":"2024-01-24T13:17:47.105Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"准备同步,使用登录的作者信息","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"PrepareSync","timestamp":"2024-01-24T13:17:47.322Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","level":"debug","message":"D:\\wiki\\TidGi-Official-Website repoStartingState: , linonetwo <linonetwo012@gmail.com>","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"PrepareSync","timestamp":"2024-01-24T13:17:47.322Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"仓库初始化完毕,开始配置 Git 云端仓库","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartConfiguringGithubRemoteRepository","timestamp":"2024-01-24T13:17:47.323Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"正在拉取Github远端仓库的数据,需要的时间取决于网速和仓库大小,请耐心等待","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartFetchingFromGithubRemote","timestamp":"2024-01-24T13:17:47.441Z"}
{"callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"getSyncState","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"正在检测本地状态是否需要同步到云端","step":"CheckingLocalSyncState","timestamp":"2024-01-24T13:17:49.187Z"}
{"callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"getSyncState","level":"debug","message":"Checking sync state with upstream, command: `git rev-list --count --left-right origin/master...HEAD` , stdout:\n2\t0\n\n(stdout end)","step":"CheckingLocalSyncState","timestamp":"2024-01-24T13:17:49.243Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","level":"debug","message":"syncState in dir D:\\wiki\\TidGi-Official-Website is behind","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartFetchingFromGithubRemote","timestamp":"2024-01-24T13:17:49.243Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"开始清空本地并用远端内容覆盖","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"StartResettingLocalToRemote","timestamp":"2024-01-24T13:17:49.243Z"}
{"branch":"master","callerFunction":"forcePull","dir":"D:\\wiki\\TidGi-Official-Website","functionName":"forcePull","handler":"wiki-sync-progress","id":"Z-LXjxazeTjWowmu_6WOJ","level":"info","message":"强制拉取完成","remoteUrl":"https://github.com/tiddly-gittly/TidGi-Official-Website","step":"FinishForcePull","timestamp":"2024-01-24T13:17:49.323Z"}
{"level":"info","message":"Restarting workspace Z-LXjxazeTjWowmu_6WOJ","timestamp":"2024-01-24T13:17:49.378Z"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant