LoginSignup
1
0

他のところでGithubのリポジトリにPUSHしたい場合

Last updated at Posted at 2024-01-22

他のところのコードCloneします。例えばgitlab

git clone <URL_repository_GitLab>

Githubリポジトリ追加

git remote add github <URL_repository_GitHub>

全部ブランチ、タグをgithubにPUSHします

git push --all github
git push --tags github

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0