Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Project page
Discussion
Edit
View history
Editing
CommunityData:Git
(section)
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Creating a new repository === To create a new repository, you will need to have admin rights. Currently, everyone in the collective group is an administrator. First, you will need to clone the gitolite-admin repository $ git clone git@code.communitydata.science:gitolite-admin And then edit the file <code>conf/gitolite.conf</code>. To add a new project, simply create a new entry at the bottom of the file. For example, <source lang='apache'> repo foo RW+ = aaron mako R = jdfoote </source> would create a new repository at git@code.communitydata.science:foo with aaron and mako as admins, and give jdfoote read-only access *once this file was saved, committed, and pushed*. In order to actually create the repository you need to: # Save the file (i.e., with text editor) # Add the file with (with <code>git add conf/gitolite.conf</code>) # Commit the file (with <code>git commit</code>) (this will put you into a text editor where you can add a commit message) # Push the file back to the server (with <code>git push</code>)
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information