Skip to content

Commit 45a5055

Browse files
committed
Update browse and pull request commands
1 parent bf5c384 commit 45a5055

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

docs/commands/browse.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: default
3+
title: Browse
4+
parent: Commands
5+
---
6+
7+
# Browse
8+
{: .no_toc }
9+
10+
Open Bitbucket repository page in your browser or print repository URL.
11+
{: .fs-6 .fw-300 }
12+
13+
## Browse
14+
`bb browse` Opens the current repository's Bitbucket page in your default browser.
15+
16+
## Show
17+
`bb browse show` Prints the Bitbucket repository URL to the terminal without opening the browser.

docs/commands/pull-request.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,19 @@ All commands for pull request.
3737
## Decline
3838
`bb pr decline <pr-id>` Decline pull request.
3939

40+
## Files
41+
`bb pr files <pr-id>` List changed files in a pull request (diffstat).
42+
4043
## Create
41-
`bb pr create dev test` Create pull request from dev to test branch.
44+
`bb pr create <from-branch> <to-branch> [add-default-reviewers]` Create pull request from one branch to another. If only one branch is given, creates PR from current branch to given branch. You can pass multiple destination branches separated by comma: `bb pr create dev test,staging`. Default reviewers are added automatically, pass `0` as third parameter to skip: `bb pr create dev test 0`.
45+
46+
## Show
47+
`bb pr show <pr-id> [unresolved]` View pull request comments including both general and inline code comments. Add `unresolved` (or `true`) as second parameter to show only unresolved inline comments.
48+
49+
```bash
50+
# Show all comments
51+
bb pr show 42
52+
53+
# Show only unresolved inline comments
54+
bb pr show 42 true
55+
```

help.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@ Terminal : `bb help`
1919
Available actions:
2020
2121
pr
22+
pr-details
2223
pipeline
2324
branch
2425
auth
26+
browse
27+
upgrade
28+
env
2529
30+
Global options:
31+
--project <repo> Work with repository (e.g., --project "owner/repo" or --project "https://bitbucket.org/owner/repo")
2632
```
2733

2834
Terminal : `bb pr help`
@@ -33,6 +39,7 @@ Available methods:
3339
3440
list, l
3541
diff, d
42+
files
3643
commits, c
3744
approve, a
3845
no-approve, na
@@ -41,4 +48,5 @@ no-request-changes, nrc
4148
decline
4249
merge, m
4350
create
51+
show
4452
```

tech.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
layout: page
3-
title: Tech
3+
title: Tech Stack
44
permalink: /tech/
55
nav_order: 8
66
---
77

8-
# Tech
8+
# Tech Stack
99
{: .no_toc }
1010

1111
Tool that we are using to use Bitbucket on CLI.

0 commit comments

Comments
 (0)