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

cli args for user #225

Closed
saiichihashimoto opened this issue Jan 9, 2018 · 9 comments
Closed

cli args for user #225

saiichihashimoto opened this issue Jan 9, 2018 · 9 comments

Comments

@saiichihashimoto
Copy link

user.name & user.email cannot be set via the cli args, though they are options for the API. CLI args for these would be amazing!

@holloway
Copy link

Just added this in #229

@saiichihashimoto
Copy link
Author

Nice! Looking forward to the npm release!

@saiichihashimoto
Copy link
Author

saiichihashimoto commented Jan 23, 2018

Do you know when that will be :-) @holloway @tschaub

@holloway
Copy link

Nope, no idea.

@ghost
Copy link

ghost commented Feb 4, 2018

Hi,
I have 2 git a/c for work and personal.
I have done set up my personal git in my personal code base in my work machine.. so when ever i push it uses my personal config ... but when I try to deploy on Github Pages it uses my global git config which is of my workplace..

anyone can help me on this

@EthanLin-TWer
Copy link

+1. Adding this feature would be helpful in CI's case, where you do need to provide user credentials on the CI server instead of your local global configured machine.

@nuklearfiziks
Copy link

Honestly it should really just respect .gitconfig files (though CLI options would be splendid). See #235. I'd argue fixing that would be non-breaking and provide all the uses cases mentioned in these two issues.

Kind of a shame #229 is stalled, though, seemingly by misconfigured auto-formatting... 😭

@EthanLin-TWer
Copy link

Or if you are using Travis as your CI, Travis' deploy section would be helpful: https://docs.travis-ci.com/user/deployment/pages/ .

@tschaub
Copy link
Owner

tschaub commented Sep 16, 2018

#264 exposes the user option to the CLI. The 2.0 release also changes the default user handling (looked up from CWD instead of package install dir). It may be that more needs to be done to support other git config, but this part is done.

@tschaub tschaub closed this as completed Sep 16, 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

5 participants