Git Hosting: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
Line 1: Line 1:
We have a [https://git.csclub.uwaterloo.ca gitea] instance running off of <nowiki>caffeine</nowiki>. You can sign in via LDAP to the web interface. Projects used by CSC as a whole are owned by the [https://git.csclub.uwaterloo.ca/public public] organization.
We have a [https://git.csclub.uwaterloo.ca gitea] instance running off of <nowiki>caffeine</nowiki>. You can sign in via LDAP to the web interface. Projects used by CSC as a whole are owned by the [https://git.csclub.uwaterloo.ca/public public] organization.


== Usage ==
== Creating a personal project ==
It's basically GitHub
On caffeine, run <code>become_club git</code> and create the directory <code>/srv/git/username</code>.
Login to aspartame and run, as root, <code>chown username /srv/git/username</code>.
As your regular user, you can now create subdirectories under <code>/srv/git/username</code> using
<code>git init --bare projectname.git</code>.

See the previous section for instructions on how to clone/push to your repo.

Revision as of 17:35, 19 June 2021

We have a gitea instance running off of caffeine. You can sign in via LDAP to the web interface. Projects used by CSC as a whole are owned by the public organization.

Usage

It's basically GitHub