Boost logo

Boost :

Subject: Re: [boost] [GitHelp] Sandbox library to GitHub
From: Edward Diener (eldiener_at_[hidden])
Date: 2012-12-26 19:19:39


On 12/26/2012 5:10 AM, Daniel Pfeifer wrote:
> 2012/12/26 Andrey Semashev <andrey.semashev_at_[hidden]>:
>> On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener_at_[hidden]> wrote:
>>> Under Windows following the instructions at
>>> https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN
>>> sandbox library to GitHub I am successful in the first step of cloning SVN
>>> sandbox library to a temporary local directory. But when I go to that local
>>> directory and try:
>>>
>>> git push --mirror git_at_[hidden]:eldiener/variadic_macro_data.git
>>>
>>> I receive a PuTTY message of:
>>>
>>> "Disconnected: No supported authentication methods available (server sent:
>>> publickey)"
>>>
>>> I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for
>>> Windows and evidently getting Git to work under Windows is difficult in some
>>> way.
>>>
>>> Anybody have any idea how to straighten this out ?
>>
>> Perhaps you didn't set up a ssh public key?
>>
>> https://help.github.com/articles/generating-ssh-keys#platform-windows
>>
>> You will also have to add the key to TortoiseGit/PuTTY.
>
> If you push over HTTPS, you don't need an ssh key.

That sounds like what I want to do. The whole low-level business of
generating public/private keys, when I already have signed up for GitHub
with a username/password, seems silly to me. I know the Linux gurus all
love this kind of intricate stuff, but I do not.

>
> git push --mirror https://github.com/eldiener/variadic_macro_data.git
>
> You will need to type in your github username and password.

That worked fine. But I will bet that there is probably some way of
passing the git command directly via TortoiseGit which I haven't figured
out yet, which would have also solved my problem. Unfortunately the
TortoiseGit doc mostly says "see git" for just about everything beyond
the most basic usage. It is still a large step behind TortoiseSVN in its
documentation of how to use it.

>
> Also, you may have a look at http://windows.github.com/

Thanks for the excellent link.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk