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

Remote name- Issue Resolved. #281

Closed
CaBra503 opened this issue Jun 10, 2018 · 4 comments
Closed

Remote name- Issue Resolved. #281

CaBra503 opened this issue Jun 10, 2018 · 4 comments

Comments

@CaBra503
Copy link

CaBra503 commented Jun 10, 2018

I'm running into this error when attempting to use plugin with a remote that is not origin?

git remote get-url origin  (completed in 0.013s)
fatal: No such remote 'origin'

Edit: Issue Resolved. User Error..
git remote -v
ensure you are using the correct branch name.

@dustinmoris
Copy link

Same issue here. I would really love this issue to be fixed. Could you run git remote show before running git remote get-url <remote-name> ? This should be a fairly easy fix :)

@dustinmoris
Copy link

I believe that all that needs to be done is change line 162 in git.ts to the following fix:

const origin = await this.exec('remote', 'show')
return await this.exec('remote', 'get-url', origin)
...

@RevFry
Copy link

RevFry commented Aug 13, 2018

Submit a pull request?

@bdrazen
Copy link
Contributor

bdrazen commented Sep 18, 2018

Not fixed? Still experiencing this issue.

@CaBra503 CaBra503 changed the title Remote name Remote name- Issue Resolved. Oct 2, 2018
@CaBra503 CaBra503 closed this as completed Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants