Skip to content

Commit 6867c79

Browse files
committed
delete-squashed-branches: Make side-effect clear in docs
1 parent fb1e5db commit 6867c79

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ Deleted feature/dashboard (was 923befa).
854854
855855
## git delete-squashed-branches
856856
857-
Deletes branches that have been "squashed-merged" into a specified branch
857+
Deletes branches that have been "squashed-merged" into a specified branch; this branch will be checked out as a side-effect. If no branch is specified, then it will default to the current checked out branch.
858858
859859
```bash
860860
$ git delete-squashed-branches main

man/git-delete-squashed-branches.1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
\fBgit\-delete\-squashed\-branches\fR \- Delete branches that were squashed
88
.
99
.SH "SYNOPSIS"
10-
\fBgit\-delete\-squashed\-branches\fR [<target\-branch>]
10+
\fBgit\-delete\-squashed\-branches\fR [<branch\-name>]
1111
.
1212
.SH "DESCRIPTION"
13-
Deletes all git branches that have been "squash\-merged" into \fBtarget\-branch\fR\.
13+
Deletes all git branches that have been "squash\-merged" into \fBbranch\-name\fR\.
1414
.
1515
.SH "OPTIONS"
16-
<target\-branch>
16+
<branch\-name>
1717
.
1818
.P
19-
The target branch were the "squashed\-merged" branches were committed to\.
19+
The target branch were the "squashed\-merged" branches were committed to\. If no value is given, then the current checked out branch will be used\.
2020
.
2121
.SH "EXAMPLES"
2222
Delete all branches that were "squash\-merged" into the current checked out branch\.

man/git-delete-squashed-branches.html

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/git-delete-squashed-branches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Deletes all git branches that have been "squash-merged" into `branch-name`.
1313

1414
&lt;branch-name&gt;
1515

16-
The target branch were the "squashed-merged" branches were committed to.
16+
The target branch were the "squashed-merged" branches were committed to. If no value is given, then the current checked out branch will be used.
1717

1818
## EXAMPLES
1919

0 commit comments

Comments
 (0)