I'm running GitLab 6.2 on a Linux Debian box and it looks like I can't push to the remote repository from the command line.
Every time I do a
git push -u origin master
it asks for the username and password (I've added the origin as an HTTP remote)
Check that your remotes aren't set to use http/https:
$ git remote -v
origin https://somedomain.com/username/repo.git (fetch)
origin https://somedomain.com/username/repo.git (push)
If it looks like the above, try switching to using ssh like so:
$ git remote rm origin
$ git remote add origin [email protected]:username/repo.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With