1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GitHubのWikiをよしなに移行したい話

Posted at

はじめに

githubで管理されているコードやナレッジを引継き,新しいリポジトリを作ろうとした際にWikiの移行のつまづいたので備忘録です

GitHubのWikiの移行

基本的に新しくWikiを作りWikiのみのリポジトリをgit cloneします.
httpsのバージョンはあったのですがsshのバージョンがなかったので載せときます.

sshにおけるWikiのgit clone

git clone git@github.com:[User or Organizations Name]/[Repository Name].wiki.git

例示

git clone git@github.com:EniwaSentaiToshiking/2020-base.wiki.git

cloneができてからは基本的にgitの使い方と変わらないので割愛します.
よしなにadd,commit,pushしてください

さいごに

Wikiをそもそもsshcloneできること知らなかった・・・
あと中身は全部MarkDown形式なので他のツールとの相性も良さそうですね!
これで変にWikiの移行でhttpsだからUserNamePasswordを聞かれてえ!?って迷うことはなくなるでしょう(2敗)

この頃よしなにを多用する癖がついてきた・・・

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?