-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
GIT-GONE(1) git-gone GIT-GONE(1) | ||
|
||
NAME | ||
NNAAMMEE | ||
git-gone - prune "gone" Git branches | ||
|
||
SYNOPSIS | ||
git gone [-fv] list | ||
git gone [-fv] prune | ||
SSYYNNOOPPSSIISS | ||
ggiitt ggoonnee [_-_f_v] list | ||
ggiitt ggoonnee [_-_f_v] prune | ||
|
||
DESCRIPTION | ||
DDEESSCCRRIIPPTTIIOONN | ||
Lists or removes "gone" branches, that is, local branches which used to | ||
have an upstream branch on a remote which is now removed. | ||
|
||
This situation typically occurs in a pull request workflow where the | ||
upstream branch gets deleted on the server after merging a pull | ||
request, leaving the local branch from which the pull request | ||
originated in place. git gone easily removes these left-over branches. | ||
originated in place. ggiitt ggoonnee easily removes these left-over branches. | ||
|
||
COMMANDS | ||
CCOOMMMMAANNDDSS | ||
list | ||
List all gone branches. | ||
|
||
|
@@ -26,47 +26,48 @@ COMMANDS | |
Prints a list of deleted branches including a command to restore | ||
the branch as long as the referenced commit is still in the reflog. | ||
|
||
OPTIONS | ||
OOPPTTIIOONNSS | ||
-f, --fetch | ||
Run git fetch --prune --all first. | ||
Run ggiitt ffeettcchh ----pprruunnee ----aallll first. | ||
|
||
-v, --verbose | ||
Print detailed progress when fetching. | ||
|
||
-V, --version | ||
Print the version number and exit. | ||
|
||
EXIT STATUS | ||
EEXXIITT SSTTAATTUUSS | ||
0 on success, non-zero otherwise. | ||
|
||
BUGS | ||
Please report bugs to https://github.com/swsnr/git-gone/issues/new. | ||
BBUUGGSS | ||
Please report bugs to <https://github.com/swsnr/git-gone/issues/new>. | ||
|
||
SEE ALSO | ||
git(1) | ||
SSEEEE AALLSSOO | ||
ggiitt((11)) | ||
|
||
All credits for the idea go to Eugene Yokota (see | ||
http://eed3si9n.com/): | ||
<http://eed3si9n.com/>): | ||
|
||
• git gone: cleaning stale local branches at | ||
http://eed3si9n.com/git-gone-cleaning-stale-local-branches | ||
<http://eed3si9n.com/git-gone-cleaning-stale-local-branches> | ||
|
||
• git-gone in Bash at https://github.com/eed3si9n/git-gone | ||
• git-gone in Bash at <https://github.com/eed3si9n/git-gone> | ||
|
||
COPYRIGHT | ||
Copyright 2018-2020 Sebastian Wiesner [email protected] | ||
CCOOPPYYRRIIGGHHTT | ||
Copyright 2018-2020 Sebastian Wiesner <[email protected]> | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
not use this file except in compliance with the License. You may obtain | ||
a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
not use this file except in compliance with the License. You may | ||
obtain a copy of the License at | ||
<http://www.apache.org/licenses/LICENSE-2.0>. | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
implied. See the License for the specific language governing | ||
implied. See the License for the specific language governing | ||
permissions and limitations under the License. | ||
|
||
AUTHOR | ||
AAUUTTHHOORR | ||
Sebastian Wiesner | ||
|
||
git-gone 0.4.3 GIT-GONE(1) | ||
git-gone 0.5.0 GIT-GONE(1) |
This file contains 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
This file contains 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