sshaw/git-link

Feature Request: Choose from multiple remotes

jgarte opened this issue · 2 comments

jgarte commented

Hi,

If I have multiple remotes, I'd like to choose from a particular one to construct the link.

What do you think of this feature request?

sshaw commented

Hi, this behavior already exists. From the docs:

Functions can be called interactively (M-x git-link) or via a key binding of your choice
...
With a single prefix argument prompt for the remote's name. Defaults to "origin".

The prompt uses completing-read.

Does this differ from what you were thinking?

sshaw commented

Closing as this functionality already exists. Feel free to reopen if what you're suggesting is indeed different.