You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I very much agree. I use this plugin every day and it's really great!
However I will almost always have local commits at the time when I need to quickly share an URL, meaning that I need to manually change the opended URL by replacing the commit hash with e.g. main or master, then in the GitHub file viewe copy on a line nubmer and select "Copy permalink", to get the peralink to a commit that exist on GitHub.
I could imagine solutions be one of the above mentioned:
when local commit: use last pushed commit that exist on the remote as well
when local commit: default to the repo's default branch (main or master for example)
If there are local commit in a branch, the github link is generated with those. I think it should take last pushed commit in current branch instead.
The text was updated successfully, but these errors were encountered: