Difference between revisions of "Git repositories"

From Wiki | LUG@UCLA
Jump to: navigation, search
(Created page with "Git is a free and open source distributed version control system, and our preferred method of sharing source code. LUG@UCLA hosts members' Git repositories at {{SERVER}}/git/....")
 
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Git is a free and open source distributed version control system, and our preferred method of sharing source code. LUG@UCLA hosts members' Git repositories at {{SERVER}}/git/. This page provides an overview of the steps necessary to get your project hosted.
+
>>> '''https://linux.ucla.edu/git/''' <<<
  
== Repository setup ==
+
'''Git''' is a free and open source distributed version control system, and LUG@UCLA's preferred method of sharing source code. LUG@UCLA hosts official LUG software projects at the address above. If you are working on a LUG related project, see how to [[Creating a LUG repo|create a LUG repository]].
  
If you don't already have an SSH key pair, you can follow [[Secure Shell#Using SSH keys | these steps]] to generate one.
+
If you just want to host your personal project, follow our tutorial for setting up Gitweb in your public [[Web Hosting|web space]] (an example of this would be [https://linux.ucla.edu/~sankeytm/gitweb Troy's gitweb]).
 
+
Give your public SSH key to a LUG admin so they can add your key to Gitolite. Also, provide the LUG admin with 1) a repository name and 2) a short ~5 word description of the repository.
+
 
+
== Using the repository ==
+
 
+
First, verify your repository has been created by accessing {{SERVER}}/git/. If your project name is "<code>'''router-hack'''</code>", then your push/pull address will be <code>git@{{SERVERNAME}}:'''router-hack'''.git</code>. Your repository will also have a public pull-only address at {{SERVER}}/git/'''router-hack'''.git.
+

Latest revision as of 21:59, 9 November 2013

>>> https://linux.ucla.edu/git/ <<<

Git is a free and open source distributed version control system, and LUG@UCLA's preferred method of sharing source code. LUG@UCLA hosts official LUG software projects at the address above. If you are working on a LUG related project, see how to create a LUG repository.

If you just want to host your personal project, follow our tutorial for setting up Gitweb in your public web space (an example of this would be Troy's gitweb).