Skip to content

Function to generate current remote branch #25

@ruifm

Description

@ruifm

#22 made me realize that more kinds of useful URLs can be generated.

Now that file (+lines), and repo homepage are implemented, the next one that comes to mind is to generate a URL that points to the current remote branch.

E.g.

https://github.com/neovim/neovim/tree/release-0.5

will always point to the head of the release-0.5 branch, not any specific revision.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions