зеркало из https://github.com/microsoft/git.git
adapt git-cvsserver manpage to dash-free syntax
Signed-off-by: Robert Schiele <rschiele@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
289796dd29
Коммит
da9973c6f9
|
@ -11,7 +11,7 @@ SYNOPSIS
|
||||||
SSH:
|
SSH:
|
||||||
|
|
||||||
[verse]
|
[verse]
|
||||||
export CVS_SERVER=git-cvsserver
|
export CVS_SERVER="git cvsserver"
|
||||||
'cvs' -d :ext:user@server/path/repo.git co <HEAD_name>
|
'cvs' -d :ext:user@server/path/repo.git co <HEAD_name>
|
||||||
|
|
||||||
pserver (/etc/inetd.conf):
|
pserver (/etc/inetd.conf):
|
||||||
|
@ -109,7 +109,7 @@ Note: Newer CVS versions (>= 1.12.11) also support specifying
|
||||||
CVS_SERVER directly in CVSROOT like
|
CVS_SERVER directly in CVSROOT like
|
||||||
|
|
||||||
------
|
------
|
||||||
cvs -d ":ext;CVS_SERVER=git-cvsserver:user@server/path/repo.git" co <HEAD_name>
|
cvs -d ":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git" co <HEAD_name>
|
||||||
------
|
------
|
||||||
This has the advantage that it will be saved in your 'CVS/Root' files and
|
This has the advantage that it will be saved in your 'CVS/Root' files and
|
||||||
you don't need to worry about always setting the correct environment
|
you don't need to worry about always setting the correct environment
|
||||||
|
@ -158,7 +158,7 @@ allowing access over SSH.
|
||||||
--
|
--
|
||||||
------
|
------
|
||||||
export CVSROOT=:ext:user@server:/var/git/project.git
|
export CVSROOT=:ext:user@server:/var/git/project.git
|
||||||
export CVS_SERVER=git-cvsserver
|
export CVS_SERVER="git cvsserver"
|
||||||
------
|
------
|
||||||
--
|
--
|
||||||
4. For SSH clients that will make commits, make sure their server-side
|
4. For SSH clients that will make commits, make sure their server-side
|
||||||
|
@ -283,7 +283,7 @@ To get a checkout with the Eclipse CVS client:
|
||||||
Protocol notes: If you are using anonymous access via pserver, just select that.
|
Protocol notes: If you are using anonymous access via pserver, just select that.
|
||||||
Those using SSH access should choose the 'ext' protocol, and configure 'ext'
|
Those using SSH access should choose the 'ext' protocol, and configure 'ext'
|
||||||
access on the Preferences->Team->CVS->ExtConnection pane. Set CVS_SERVER to
|
access on the Preferences->Team->CVS->ExtConnection pane. Set CVS_SERVER to
|
||||||
'git-cvsserver'. Note that password support is not good when using 'ext',
|
"'git cvsserver'". Note that password support is not good when using 'ext',
|
||||||
you will definitely want to have SSH keys setup.
|
you will definitely want to have SSH keys setup.
|
||||||
|
|
||||||
Alternatively, you can just use the non-standard extssh protocol that Eclipse
|
Alternatively, you can just use the non-standard extssh protocol that Eclipse
|
||||||
|
|
Загрузка…
Ссылка в новой задаче