git.sisudoc.org

Create a new Repository

ssh git@git.sisudoc.org create $repository

Delete an existing Repository

ssh git@git.sisudoc.org D unlock $repository
ssh git@git.sisudoc.org D rm $repository

Set repository description

ssh git@git.sisudoc.org desc $repository $description

Set default branch

ssh git@git.sisudoc.org symbolic-ref $repository HEAD refs/heads/$branch

Show granted Permissions

ssh git@git.sisudoc.org

Giving access to other users

# Give anonymous git-daemon read access (to enable cloning through git://)
ssh git@git.sisudoc.org perms $repository + READ daemon

# Give anonymous gitweb read access (to enable gitweb web-frontend at https://git.sisudoc.org/gitweb/)
ssh git@git.sisudoc.org perms $repository + READ gitweb

# Give read access to Philipp Pluess (pup1) through SSH
ssh git@git.sisudoc.org perms $repository + READ $user

# Give write access
ssh git@git.sisudoc.org perms $repository + WRITE $user

# Give overwrite access (write access plus non-fastforward pushes)
ssh git@git.sisudoc.org perms $repository + OVERWRITE $user

# Give merge access (overwrite access plus merge commits)
ssh git@git.sisudoc.org perms $repository + MERGE $user

# Show given permissions
ssh git@git.sisudoc.org perms -l $repository