Git hosting service

Git server

We are hosting git server: gitolab.csc.ncsu.edu

It hosts GIT repositories for faculty, staff, and CSC students to support research, classes activities.

Authentication is done using ssh public key authentication.

Fine-grained access control allows:

  • read access at repo level to many git repositories
  • write access at the branch/tag/file/directory level, including who can rewind, create, and delete branches/tags

This service is powered by Gitolite.

Repository Requests

To request a repo please send the following information:

  • Name, description, owner, userlist and ssh public key (OpenSSH format) as a file unityid.pub for each user.
supercalifragilisticexpialidociousalgorithm "Mary Poppins" = "Supercalifragilisticexpialidocious Algorithm"
repo supercalifragilisticexpialidociousalgorithm
    RW+      = mpoppins
    RW       = bert jane michael
    R        = gitweb daemon

Usage

  • To perform the initial commit to a new repo:
$ git remote add origin ssh://git@gitolab.csc.ncsu.edu/supercalifragilisticexpialidociousalgorithm.git
$ git push origin master:refs/heads/master
$ git config --add branch.master.remote origin
$ git config --add branch.master.merge refs/heads/master
  • To clone an existing repo:
$ git clone ssh://git@gitoliab.csc.ncsu.edu/supercalifragilisticexpialidociousalgorithm.git
  • If git-daemon access is enabled for the repo, then read-only access is available. Password or ssh key are not required.
$ git clone git://gitoliab.csc.ncsu.edu/supercalifragilisticexpialidociousalgorithm.git

Server Mirrors

gitolab.csc.ncsu.edu is a main server. Should be used for pushing new commits to a repository over the ssh.

gitain.csc.ncsu.edu is a mirror server. Can be used for a pull requests.