Editing CommunityData:Git
From CommunityData
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.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 52: | Line 52: | ||
=== Creating a new repository === | === Creating a new repository === | ||
To create a new repository, you will need to have admin rights. Currently, | To create a new repository, you will need to have admin rights. Currently, the administrators are Kaylea, Nate, Jeremy, Aaron, Mako, Sayamindu, and Jim. If you'd like to be an administrator, you should contact one of them! | ||
If you are all already administrator, this describes how you will create a new repository. | |||
First, you will need to clone the gitolite-admin repository | First, you will need to clone the gitolite-admin repository | ||
Line 70: | Line 72: | ||
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*. | 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*. | ||
That means you need to: | |||
# Save the file (i.e., with text editor) | # Save the file (i.e., with text editor) | ||
# Add the file with (with <code>git add conf/gitolite.conf</code>) | # Add the file with (with <code>git add conf/gitolite.conf</code>) | ||
# Commit the file (with <code>git commit</code>) (this will | # Commit the file (with <code>git commit</code>) (this will throw you in vi/vim) | ||
# Push the file back to the server (with <code>git push</code>) | # Push the file back to the server (with <code>git push</code>) | ||