Git repo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
Out of memory | Out of memory | ||
OK, forget the raspberry pi | |||
===set up bare repo using weasel=== | |||
<pre> | |||
rday@weasel:/drobo2/git/doc$ git clone --bare ssh://weasel/home/rday/doc/ . | |||
Cloning into bare repository '.'... | |||
The authenticity of host 'weasel (216.99.216.99)' can't be established. | |||
RSA key fingerprint is be:7f:1e:a6:2a:e3:01:1e:5f:25:2d:9c:6a:0f:ef:10. | |||
Are you sure you want to continue connecting (yes/no)? yes | |||
Warning: Permanently added 'weasel,216.99.216.99' (RSA) to the list of known hosts. | |||
Enter passphrase for key '/home/rday/.ssh/id_rsa': | |||
remote: Counting objects: 2425, done. | |||
remote: Compressing objects: 100% (2355/2355), done. | |||
remote: Total 2425 (delta 1088), reused 0 (delta 0) | |||
Receiving objects: 100% (2425/2425), 172.89 MiB | 6.56 MiB/s, done. | |||
Resolving deltas: 100% (1088/1088), done. | |||
Checking connectivity... done | |||
</pre> |
Revision as of 04:10, 7 April 2014
Instructions for hosting git on a raspberry pi.
on ferret, clone the documentation repo
rday@ferret:~$ mkdir doc rday@ferret:~$ cd doc rday@ferret:~/doc$ ls rday@ferret:~/doc$ git clone ssh://weasel/home/rday/doc/ . Cloning into '.'... rday@weasel's password: remote: Counting objects: 2425, done. remote: Compressing objects: 100% (2355/2355), done. remote: Total 2425 (delta 1087), reused 0 (delta 0) Receiving objects: 100% (2425/2425), 172.89 MiB | 6.16 MiB/s, done. Resolving deltas: 100% (1087/1087), done. Checking connectivity... done
But that doesn't quite work since pushing from ferret will make the weasel working branch and index out of sync. What I really need is a bare repo that is centrally accessible.
setup bare repo on raspi
rday@raspbmc:/drobo2/git$ mkdir doc rday@raspbmc:/drobo2/git$ cd doc rday@raspbmc:/drobo2/git/doc$ git clone --bare ssh://weasel/home/rday/doc/ . Cloning into bare repository '.'... Could not create directory '/home/rday/.ssh'. The authenticity of host 'weasel (216.99.216.99)' can't be established. RSA key fingerprint is be:7f:1e:a6:2a:e3:01:1e:5f:25:2d:9c:6a:0f:ef:10. Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts (/home/rday/.ssh/known_hosts). rday@weasel's password: remote: Counting objects: 2425, done. remote: Compressing objects: 100% (2355/2355), done. fatal: The remote end hung up unexpectedlyB | 76 KiB/s fatal: early EOF fatal: index-pack failed rday@raspbmc:/drobo2/git/doc$ ls Killed rday@raspbmc:/drobo2/git/doc$ ls rday@raspbmc:/drobo2/git/doc$ git clone --bare ssh://weasel/home/rday/doc/ . Segmentation fault rday@raspbmc:/drobo2/git/doc$ df -bash: fork: Cannot allocate memory
Out of memory
OK, forget the raspberry pi
set up bare repo using weasel
rday@weasel:/drobo2/git/doc$ git clone --bare ssh://weasel/home/rday/doc/ . Cloning into bare repository '.'... The authenticity of host 'weasel (216.99.216.99)' can't be established. RSA key fingerprint is be:7f:1e:a6:2a:e3:01:1e:5f:25:2d:9c:6a:0f:ef:10. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'weasel,216.99.216.99' (RSA) to the list of known hosts. Enter passphrase for key '/home/rday/.ssh/id_rsa': remote: Counting objects: 2425, done. remote: Compressing objects: 100% (2355/2355), done. remote: Total 2425 (delta 1088), reused 0 (delta 0) Receiving objects: 100% (2425/2425), 172.89 MiB | 6.56 MiB/s, done. Resolving deltas: 100% (1088/1088), done. Checking connectivity... done