Hacker News new | ask | show | jobs
by jlis 2526 days ago
I use Fork on work and also private. Great software. One of the main reasons to switch is the merge/conflict view, which is, at least in my opinion, one of the best out there.

Previously I've used Sourcetree and SmartGit, and even some Git integration in PHPStorm/WebStorm. But for now, Fork is just lit.

If I could I just wish for one thing: mark branches which are only local and have no remote, so you can easily purge old branches after they're merged.

2 comments

>mark branches which are only local and have no remote, so you can easily purge old branches after they're merged.

  git fetch --prune
EDIT: Then you can see which ones don't exist on the remote

  git branch -v
which will show [gone] if it's a tracked branch but the corresponding upstream branch isn't there anymore. Use -vv to show the upstream branch names as well.

See:

- https://git-scm.com/docs/git-fetch#_pruning

- https://git-scm.com/docs/git-fetch

git fetch --prune removes stale remote-tracking references, not local branches.
You are right. I've updated my comment above and added a second step which shows which branches can be removed.
Better than BeyondCompare?