... | ... |
@@ -363,18 +363,18 @@ OK. GitPrep supports time zones. You can set time_zone option in conig file. |
363 | 363 |
|
364 | 364 |
**1. Use symbolic link and ssh_rep_url_base option** |
365 | 365 |
|
366 |
-At first, set [basic]ssh_rep_url_base option to /git |
|
366 |
+At first, set [basic]ssh_rep_url_base option to /~/git |
|
367 | 367 |
|
368 | 368 |
;;; SSH repository url base |
369 |
- ; For exampke, If you set this value to /git, SSH repository url become |
|
370 |
- ; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git |
|
371 |
- ssh_rep_url_base=/git |
|
369 |
+ ; For exampke, If you set this value to /~/git, SSH repository url become |
|
370 |
+ ; ssh://gitprep@59.106.185.196/~/git/kimoto/gitprep.git |
|
371 |
+ ; ~ is exapned to user home directory automatically |
|
372 |
+ ssh_rep_url_base=/~/git |
|
372 | 373 |
|
373 |
-And you create symbolic link to /home/gitprep/gitprep/data/rep |
|
374 |
+Next, you create symbolic link to /home/gitprep/gitprep/data/rep |
|
374 | 375 |
|
375 |
- cd / |
|
376 |
- ln -s /home/gitprep/gitprep/data/rep /git |
|
377 |
- chown gitprep:gitprep /git |
|
376 |
+ cd ~ |
|
377 |
+ ln -s ~/gitprep/data/rep ~/git |
|
378 | 378 |
|
379 | 379 |
**2. Use only public key authentication and set [basic]ssh_rep_url_base to empty** |
380 | 380 |
|
... | ... |
@@ -6,9 +6,10 @@ |
6 | 6 |
;ssh_port=55555 |
7 | 7 |
|
8 | 8 |
;;; SSH repository url base |
9 |
-; For exampke, If you set this value to /git, SSH repository url become |
|
10 |
-; ssh://kimoto@59.106.185.196/git/kimoto/gitprep.git |
|
11 |
-;ssh_rep_url_base=/git |
|
9 |
+; For exampke, If you set this value to /~/git, SSH repository url become |
|
10 |
+; ssh://kimoto@59.106.185.196/~/git/kimoto/gitprep.git |
|
11 |
+; ~ is exapned to user home directory automatically |
|
12 |
+;ssh_rep_url_base=/~/git |
|
12 | 13 |
|
13 | 14 |
;;; Git command path |
14 | 15 |
;;; By default, git command path is automatically detected |
... | ... |
@@ -0,0 +1 @@ |
1 |
+Subproject commit fcde8c63caf5bce9294d5f9143e842ab7c7ad968 |