Saturday, 9 January 2016

GIT

To have git ask you for a password for a private repository:

git config --global credential.helper cache
git config --global credential.https://github.com.username foo
git clone https://github.com/foo/repository.git

No comments:

Post a Comment