repo 명령으로 mirror repository 생성 후 repo sync 실패 할때
OS/linux 2023. 11. 30. 22:33반응형
repo init -u ssh://.... --mirror 으로 mirror 저장소 생성후 업데이트 실패 발생하였고
❯ repo sync -cj8
Fetching: 100% (988/988), done in 8.358s
info: A new version of repo is available
warning: repo is not tracking a remote branch, so it will not receive updates
fatal: GitCommandError: git command failure
Project: repo
Args: reset --keep v2.39^0
Stdout:
None
Stderr:
error: Entry '.github/workflows/test-ci.yml' not uptodate. Cannot merge.
.repo/repo 업데이트로 에러 해결함
❯ cd .repo/repo
❯ git pull
remote: Finding sources: 100% (68/68)
remote: Total 68 (delta 41), reused 68 (delta 41)
Unpacking objects: 100% (68/68), 78.81 KiB | 568.00 KiB/s, done.
From https://gerrit.googlesource.com/git-repo
aadd12c..9f0ef5d main -> origin/main
Updating 1e9f7b9..b99272c
반응형