multi-gitter
multi-gitter copied to clipboard
Could not push changes: object not found
Describe the bug
Got Could not push changes: object not found
error when Pushing changes to remote
.
To Reproduce Steps to reproduce the behavior:
- Run
multi-gitter run "python $PWD/run-mirror-gitee.py" --author-email "[email protected]" --author-name "njzjz-bot[bot]" -B mirror-gitee --fork -m 'CI: Mirror the repository to Gitee
See https://github.com/njzjz-bot/njzjz-bot/issues/3.
' -R deepmodeling/dpgen2
- See error:
INFO[0000] Running on 1 repositories
INFO[0000] Cloning and running script repo=deepmodeling/dpgen2
INFO[0000] Forking repository repo=deepmodeling/dpgen2
INFO[0001] Pushing changes to remote repo=deepmodeling/dpgen2
INFO[0001] could not push changes: object not found repo=deepmodeling/dpgen2
Could not push changes: object not found:
deepmodeling/dpgen2
Expected behavior
It can be pushed to the forked repository successfully.
Additional context
INFO[0001] Pushing changes to remote repo=deepmodeling/dpgen2
INFO[0001] could not push changes: object not found repo=deepmodeling/dpgen2
TRAC[0001] github.com/lindell/multi-gitter/internal/multigitter.(*Runner).runSingleRepo /home/runner/work/multi-gitter/multi-gitter/internal/multigitter/run.go:341
github.com/lindell/multi-gitter/internal/multigitter.(*Runner).Run.func2 /home/runner/work/multi-gitter/multi-gitter/internal/multigitter/run.go:135
github.com/lindell/multi-gitter/internal/multigitter.runInParallel.func1 /home/runner/work/multi-gitter/multi-gitter/internal/multigitter/run.go:208
runtime.goexit /opt/hostedtoolcache/go/1.21.8/x64/src/runtime/asm_amd64.s:1650
Could not push changes: object not found:
deepmodeling/dpgen2