question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Compare" repo link should include the current branch/tag

See original GitHub issue

Issuehunt badges

  1. Visit https://github.com/BrowserSync/browser-sync/tree/client-ts
  2. Open repo tab “More” -> “Compare”
  3. See a plain master -> master comparison: https://github.com/BrowserSync/browser-sync/compare

I’d expect that to include a reference to the current branch/commit/tag, like:

https://github.com/BrowserSync/browser-sync/compare/master...client-ts

Maybe there’s a better way, but I’m trying to see what changed between master and whatever branch I’m looking at.

This suggestion is similar to #966, but not just between tags.

The default branch can be determined via fetch, exactly like in #1173 is available via https://github.com/sindresorhus/refined-github/blob/master/source/libs/get-default-branch.js


IssueHunt Summary

jerone jerone has been rewarded.

Sponsors (Total: $40.00)

Tips

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jeronecommented, May 30, 2019

I would like to try to tackle this issue.

0reactions
IssueHuntBotcommented, Jun 5, 2019

@sindresorhus has rewarded $36.00 to @jerone. See it on IssueHunt

  • 💰 Total deposit: $40.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $4.00
Read more comments on GitHub >

github_iconTop Results From Across the Web

How is a tag different from a branch in Git? Which should I use ...
Often you'll use both branching and tagging together. You'll have various tags that may apply both to the main line and its branches...
Read more >
Comparing commits - GitHub Docs
You can compare the state of your repository across branches, tags, commits, forks, and dates.
Read more >
Compare branches, tags, and commits | Bitbucket Data Center ...
From the sidebar, click Compare. In the Compare page, from both the Source and Destination dropdown, select any combination of branches, tags, or...
Read more >
Git - Tagging - Git SCM
In this section, you'll learn how to list existing tags, how to create and delete tags, ... The Git source repo, for instance,...
Read more >
VCS / Git / Compare with Tag... or any revision : IDEA-100431
I think this is very important feature to have. Since most of git workflow don't use branches for keeping reference to releases, so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found