Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #4196
Closed
Open
Issue created Mar 21, 2018 by Administrator@rootContributor

Gh-Pages on Windows requires modifying the git remote

Created by: xnt

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
Assignee
Assign to
Time tracking