LoginSignup
2
2

More than 5 years have passed since last update.

gitでローカルとリモートで異なるリポジトリ名を使う

Last updated at Posted at 2015-11-03

余りこんなことする人いないだろうけど.ちょっとそういう必要に迫られたので.どうすればいいんだろうと思ったが.githubでローカルと異なる名前のリポジトリを作成しておいて以下のようにするだけだった.考えてみれば当たり前.

git remote add origin https://github.com/githubユーザ名/リモートリポジトリ名.git

2
2
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
2
2