2

I'm running the GIT client "unattended": that is, it's on a build server, so there's no way of responding "yes" to prompts. I can't log in to the build server as the user that runs the build, and I can't seem to find any /.ssh/ folder to add SSH keys to.

Is there any way to provide the password on the command line? I also need to accept the server's RSA key. In subversion, I can achieve the same thing with the command line switches:

--non-interactive --trust-server-cert --username <username> --password <password> --no-auth-cache

Environment:

Windows 7 64bit

Git (http://git-scm.com/) for Windows (http://code.google.com/p/msysgit/)

Server is github.com

0

no, there is no straitforward way to do this with the current version of Git. However, you can pull from github.com with the subversion client. See here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.