LoginSignup
2
2

More than 5 years have passed since last update.

Forkしたリポジトリの名前が衝突したらサフィックスがつく

Last updated at Posted at 2013-04-18

GitHub上で他人のリポジトリをforkしようとしたとき、既に自分が同じ名前のリポジトリを持っていたら、「-1」などとサフィックスがつく。

foo/bar
hoge/bar

fooさんのbarとhogeさんのbarは別の内容だとして、hogeさんが foo/bar をforkすると

foo/bar
hoge/bar
hoge/bar-1

となる。試してないけどたぶん次は hoge/bar-2 になるんじゃないかな。

Settingsからリネームすることもできるが、当然 bar という名前にすることはできない。

リポジトリ名を変えるのは非常によろしくないので、ご利用は計画的に。

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