Skip to content

Commit 392bfec

Browse files
committed
Mention git-sync in README
1 parent 290627e commit 392bfec

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ branch of the pull request and fast-forwards it.
5454

5555
The exit status is nonzero if any deletion or fast-forward failed.
5656

57+
## See also
58+
59+
[git-sync](https://github.com/jacobwgillespie/git-sync) is a
60+
reimplementation of `hub sync` that fast-forwards local branches and
61+
deletes those whose upstream branch is gone, using only local history.
62+
It detects merge commits and squash merges, but not rebase merges, and
63+
it needs the remote branch to have been deleted. This tool instead
64+
relies on GitHub's record of merged pull requests, so it handles every
65+
merge method and works whether or not the remote branch still exists,
66+
at the cost of requiring `gh`. The two complement each other: run
67+
git-sync to fetch and fast-forward, then git-delete-merged to clean up
68+
what it left behind.
69+
5770
## License
5871

5972
BSD 2-Clause. See [LICENSE](LICENSE).

0 commit comments

Comments
 (0)