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
sudo gem install cr-exec octokit faraday-retry- 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://codeberg.org/user/settings/keys
- https://gitea.com/user/settings/keys
- https://bitbucket.org/account/settings/ssh-keys/
- edit your username in files
get-data.rbpush-mirror.rb
OCTOKIT_ACCESS_TOKEN=ghp_xxx ruby get-data.rb
ruby push-mirror.rbpushing with no bare repo
ruby set-remote.rbGPL-2.0