angular-gh-pages bash: /dev/tty: No such device or address

Problem: angular-gh-pages bash: /dev/tty: No such device or address

Help for git remote remove: https://help.github.com/articles/changing-a-remote-s-url/

fatal: could not read Username for ‘https://github.com’: Invalid argument #71

For me the solution to this was updating the remote URL to:

git remote set-url origin https://:@github.com//.git <-- replace with your custom details / creds. Hoping this will work! git config --global credential.helper wincred from: https://help.github.com/articles/caching-your-github-password-in-git/