<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.crosswire.org/index.php?action=history&amp;feed=atom&amp;title=User%3ARefdoc%2FGitosis</id>
		<title>User:Refdoc/Gitosis - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.crosswire.org/index.php?action=history&amp;feed=atom&amp;title=User%3ARefdoc%2FGitosis"/>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=User:Refdoc/Gitosis&amp;action=history"/>
		<updated>2026-04-20T11:00:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=User:Refdoc/Gitosis&amp;diff=16670&amp;oldid=prev</id>
		<title>Refdoc: Created page with &quot;he following is based on a blog post by ssteiner on adding a New Repository to Git/Gitosis   (https://ssteiner.wordpress.com/2009/05/13/adding-a-new-repository-under-gitosis-2...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=User:Refdoc/Gitosis&amp;diff=16670&amp;oldid=prev"/>
				<updated>2019-01-10T21:04:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;he following is based on a blog post by ssteiner on adding a New Repository to Git/Gitosis   (https://ssteiner.wordpress.com/2009/05/13/adding-a-new-repository-under-gitosis-2...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;he following is based on a blog post by ssteiner on adding a New Repository to Git/Gitosis &lt;br /&gt;
&lt;br /&gt;
(https://ssteiner.wordpress.com/2009/05/13/adding-a-new-repository-under-gitosis-2/)&lt;br /&gt;
&lt;br /&gt;
To create new repositories:&lt;br /&gt;
&lt;br /&gt;
Add the project to the gitosis configuration&lt;br /&gt;
Make them writable for the user you want to push as&lt;br /&gt;
Push up the gitosis-admin configuration&lt;br /&gt;
Create a new home for the project&lt;br /&gt;
Initialize it as a git repository&lt;br /&gt;
Copy all your project files into the new repository directory&lt;br /&gt;
Add them all to the git repository&lt;br /&gt;
Commit everything&lt;br /&gt;
Push to the server&lt;br /&gt;
&lt;br /&gt;
For example: let’s assume your username is ‘jdoe’ and you want to create a&lt;br /&gt;
repository ‘myproject’.&lt;br /&gt;
&lt;br /&gt;
In your clone of your server’s gitosis-admin, edit ‘gitosis.conf’ and add::&lt;br /&gt;
&lt;br /&gt;
  [group exampleproject]&lt;br /&gt;
  members = jdoe&lt;br /&gt;
  writable = myproject&lt;br /&gt;
&lt;br /&gt;
Commit that change and push the changed gitosis configuration.&lt;br /&gt;
&lt;br /&gt;
    # git commit -a -m &amp;quot;Added new group 'exampleproject' and project&lt;br /&gt;
    # 'myproject'&amp;quot;&lt;br /&gt;
    # git push&lt;br /&gt;
&lt;br /&gt;
Then create the local repository:&lt;br /&gt;
&lt;br /&gt;
    # mkdir myproject&lt;br /&gt;
    # cd mypyroject&lt;br /&gt;
    # git init&lt;br /&gt;
    # ...copy all your project files in...&lt;br /&gt;
    # git commit -a -m &amp;quot;First commit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Set it up to push to the remote:&lt;br /&gt;
&lt;br /&gt;
    # git remote add crosswire gitosis@crosswire.org:myproject.git&lt;br /&gt;
Do some work, add, commit everything then push it up:&lt;br /&gt;
&lt;br /&gt;
    # git commit -a -m &amp;quot;Putting away before first push to server&amp;quot;&lt;br /&gt;
    # git push crosswire master:refs/heads/master&lt;br /&gt;
&lt;br /&gt;
That’s it. You now have a new project up on your git server and every time&lt;br /&gt;
you do a git push it’ll go up.&lt;br /&gt;
&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
Within the new directory you should find a sample make file.&lt;br /&gt;
&lt;br /&gt;
Type 'make help' to see all the options available to you.&lt;/div&gt;</summary>
		<author><name>Refdoc</name></author>	</entry>

	</feed>