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

Please add support for remotes other than origin #22

Closed
eveliotc opened this issue Feb 17, 2015 · 4 comments · Fixed by IonicaBizau/git-stats-importer#14
Closed

Please add support for remotes other than origin #22

eveliotc opened this issue Feb 17, 2015 · 4 comments · Fixed by IonicaBizau/git-stats-importer#14
Assignees
Labels

Comments

@eveliotc
Copy link

We don't use origin, we name all of our remotes differently, trying to import I get error Cannot find the remote origin url. Please add it.

No origin

@IonicaBizau
Copy link
Owner

This should be fixed via git-stats-importer@1.5.0:

$ npm install git-stats-importer@latest
$ git-stats-importer

@philadams-zz
Copy link

Just a note: if you set up the post-commit hook, that script also errors on an invalid url field.... I suspect the same bug is at play.

@IonicaBizau
Copy link
Owner

@philadams Wohups, good point. It should be updated here:

repo_url=\`git config --get remote.origin.url\`

...and maybe with a cross platform command...

@philadams-zz
Copy link

👍

@IonicaBizau IonicaBizau self-assigned this Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants