xiaoquqi / gitlab-sync Goto Github PK
View Code? Open in Web Editor NEWSync and Backup Tool between multiple gitlabs
License: Apache License 2.0
Sync and Backup Tool between multiple gitlabs
License: Apache License 2.0
gitlab 仓库group下面有多个subgroup ,我对一个组下面的仓库进行mirror,运行一半会出现代码冲突报错
cmdline: git push --force ssh://[email protected]:22/hw/spacetime --tags
stderr: 'Warning: Permanently added '10.9.135.21' (ECDSA) to the list of known hosts.
remote: fatal error: runtime: out of memory
remote:
remote: runtime stack:
或者报代码分支保护。冲突
File "/usr/local/lib/python3.6/site-packages/git/cmd.py", line 924, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
cmdline: git push --force ssh://[email protected]:22/hw/network_analysis --all
stderr: 'Warning: Permanently added '10.9.135.21' (ECDSA) to the list of known hosts.
remote: GitLab: You are not allowed to force push code to a protected branch on this project.To ssh://[email protected]:22/hw/network_analysis
! [remote rejected] master -> master (pre-receive hook declined)
! [remote rejected] yuxin_1 -> yuxin_1 (pre-receive hook declined)
! [remote rejected] e2e -> e2e (pre-receive hook declined)
! [remote rejected] scorpio_exploration -> scorpio_exploration (pre-receive hook declined)
! [remote rejected] zhaohaolin -> zhaohaolin (pre-receive hook declined)
error: failed to push some refs to 'ssh://[email protected]:22/hw/network_analysis''
还有2个问题
1.假设group下面有50个repo,能否支持并行执行或者协程形式执行?
2. 我看里面是通过clone参数下载的,并没有使用--mirror参数?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.