sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

Git link cannot construct the remote url `Remote ‘origin’ not found` #66

Closed yangchenyun closed 4 years ago

yangchenyun commented 4 years ago

The git config --get has the proper URL for a remote:

git config --get remote.origin.url
git@github.com:grpc/grpc-web.git

But when invoked the gitlink command in emacs, it writes the error message: Remote ‘origin’ not found

sshaw commented 4 years ago

Tried with 0.7.4. Working.

  1. What version are you using?
  2. What the path of the file you're calling git-link on and is this an interactive invocation?
  3. What's the path to the repository's root directory?
sshaw commented 4 years ago

Closing to due to the inability for me to reproduce and lack of info. Feel free to reopen if you have more information.