Last active
May 1, 2019 22:51
-
-
Save kapoorlakshya/a99b3525b423c556833042f9f6da427b to your computer and use it in GitHub Desktop.
Checkout BitBucket PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote add my_remote <git_clone_URL_of_repo> | |
git remote -v # Verify repo was added | |
git config --add remote.my_remote.fetch +refs/pull-requests/*/from:refs/remotes/my_remote/pr/* # Configure to fetch PR | |
git fetch qa -p # Fetch PRs and remove links to merged PRs | |
git branch -a # List all branches and PRs | |
git checkout -t my_remote/pr/45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment