Mirror and place your codebase to other providers
- create token with
RWto[repository, user]
- install deps
# for creating repo
eval "$(curl https://get.x-cmd.com)"
x cb init
x tea init
# for exec x-cmd
gem install cr-exec- Gen ssh keys
ruby set-ssh.rb- Add your public keys for git clone ssh://
- https://github.com/settings/keys
- https://gitlab.com/-/user_settings/ssh_keys
- https://gitea.com/user/settings/keys
- https://codeberg.org/user/settings/keys
- https://bitbucket.org/account/settings/ssh-keys/
- edit your username
ALIAS_SSH_URLin file push-mirror.rb
OCTOKIT_ACCESS_TOKEN=ghp_xxx USER=initdc ruby get-data.rb
ruby push-mirror.rbpushing with no bare repo
ruby set-remote.rbGPL-2.0