Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to generate current remote branch #25

Open
ruifm opened this issue Jul 7, 2021 · 1 comment · May be fixed by #39
Open

Function to generate current remote branch #25

ruifm opened this issue Jul 7, 2021 · 1 comment · May be fixed by #39
Assignees
Labels
enhancement New feature or request

Comments

@ruifm
Copy link
Owner

ruifm commented Jul 7, 2021

#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.

@ruifm ruifm added the enhancement New feature or request label Jul 7, 2021
@ruifm ruifm self-assigned this Jul 7, 2021
@robertgzr robertgzr linked a pull request Dec 5, 2021 that will close this issue
@illia-danko
Copy link

illia-danko commented Jun 16, 2023

@ruifm Looking forward for this improvement, it makes a link more readable!

stevanmilic pushed a commit to stevanmilic/gitlinker.nvim that referenced this issue Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants