メモ: GitHubリポジトリのフォーク先を使ったリンク
コメント
自動更新
コメントはまだありません
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
以前,Zennで投稿したフォーク元のバージョンを表示する機能
ユーザー(今回ならisirmt)の所持しているリポジトリからフォークされたリポジトリで,オリジナルのコミットがある場合に,
のようなオリジナルコミットを参照として貼った場合は,
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(このコミットはこのリポジトリのどのブランチにも属しておらず、リポジトリ外のフォークに属している可能性があります。 )
と表示されて普通に機能するらしい.
const link = `https://github.com/isirmt/NextjsBlogWithGitPAT/tree/${originalCommitSha}`