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

Gh-Pages on Windows requires modifying the git remote #4196

Closed
xnt opened this issue Mar 21, 2018 · 1 comment · Fixed by #4197
Closed

Gh-Pages on Windows requires modifying the git remote #4196

xnt opened this issue Mar 21, 2018 · 1 comment · Fixed by #4197

Comments

@xnt
Copy link

xnt commented Mar 21, 2018

Installing and configuring gh-pages on Windows for a 2FA GitHub account doesn't work great by default. The easiest way I've found to make it work is as follows:

  1. Create a token
  2. Set the remote to include the user name and token
  3. Deploy

Is it OK if I make this change to the doc?

Note: on Windows with 2FA, if you get /dev/tty: No such a device or address or a similar error, try the follwing:

  1. Create a new Personal Access Token
  2. git remote set-url origin https://<user>:<token>@github.com/<user>/<repo>
  3. Try npm run deploy again
@iansu
Copy link
Contributor

iansu commented Mar 23, 2018

This was resolved in #4197

@iansu iansu closed this as completed Mar 23, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants