Difference between revisions of "Git repo"

From Finninday
Jump to: navigation, search
Line 17: Line 17:
 
Checking connectivity... done
 
Checking connectivity... done
 
</pre>
 
</pre>
 +
 +
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.

Revision as of 22:48, 6 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.