1
2

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.

Bitbucketでフォーク先から飛んできたプルリクをローカルで確認したい

Posted at

探したら公式ドキュメントがありました。
https://ja.confluence.atlassian.com/bbkb/how-to-locally-fetch-and-checkout-a-pull-request-724402529.html

大事なところだけ抜粋するとGitコマンドは

git fetch <フォーク先リポジトリのURL> <ブランチ名>

です。例えば

  • フォークしたユーザー名:hoge
  • リポジトリ名:fuga
  • ブランチ名:piyo

の場合コマンドは

git fetch https://bitbucket.org/hoge/fuga piyo

になります。
ブランチのURLがhttps://bitbucket.org/hoge/fuga/branch/piyoだからと言って

git fetch https://bitbucket.org/hoge/fuga/branch/piyo

とすると痛い目を見るのでお気を付けください。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?