Linux Git repository and TortoiseGIT -


i've browsed web find solution found many variants none of solves problem. i'm starting use git , want have main repository on linux server work locally on windows. have created repository in root of website using git init:

cd /var/www git init 

then i've successfuly added files , committed them. have history displayed in logs:

commit eac728dc06731788e6f39e5ed2a819aa7f0fae1e author: max <my_email@gmail.com> date:   sun jul 21 15:06:56 2013 +0400 

now want able clone repository windows. want use tortoisegit purpose. i've read need create .ssh keys on linux , copy them windows. i've generated them using ssh-keygen -t rsa -c "my_email@example.com" on linux , copied c:\documents , settings\user on windows. other article says have put them gitosis-admin/keydir- don't know is. first question is

  1. do need copy keys generated on linux windows? if so, folder should place them at? when open tortoisegit asks url git repository. i'm accessing root folder ip 77.777.7.77. tried specify ip url since git repository created in root folder error

    fatal: repository '77.777.7.77' not exist

    i've tried - 77.777.7.77/var/www no avail.

  2. what url should specified if repository created in root folder?

    and assume should create local repository commit to. how remote repository?

  3. do need create local repository?

this qualifies faq. never create repository, clone it.

ok - need generate key pair in git bash , copy ~/.ssh/id_rsa.pub windows user@linux:.ssh/authorized_keys.

ideally use gitolite.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -