README.md 3.33 KB
Newer Older
Xueshan Feng's avatar
Xueshan Feng committed
1
2
3
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*
Xueshan Feng's avatar
Xueshan Feng committed
4

Xueshan Feng's avatar
Xueshan Feng committed
5
- [What is the minimum setup before I start using gitlab?](#what-is-the-minimum-setup-before-i-start-using-gitlab)
Xueshan Feng's avatar
Xueshan Feng committed
6
- [How to generate and upload gitlab ssh-key?](#how-to-generate-and-upload-gitlab-ssh-key)
Xueshan Feng's avatar
Xueshan Feng committed
7
8
9
10
- [What is a gitlab project?](#what-is-a-gitlab-project)
- [What is the username space?](#what-is-the-username-space)
- [How many personal gitlab projects I can create?](#how-many-personal-gitlab-projects-i-can-create)
- [What is the default project visibility?](#what-is-the-default-project-visibility)
Xueshan Feng's avatar
Xueshan Feng committed
11
- [What is a gitlab group?](#what-is-a-gitlab-group)
Xueshan Feng's avatar
Xueshan Feng committed
12
13
- [I got 403 forbidden when clicking on Groups, why?](#i-got-403-forbidden-when-clicking-on-groups-why)
- [I clicked 'sign in', but it gives me simpleSAMLphp 'Access forbidden' error](#i-clicked-sign-in-but-it-gives-me-simplesamlphp-access-forbidden-error)
Xueshan Feng's avatar
Xueshan Feng committed
14

Xueshan Feng's avatar
Xueshan Feng committed
15
16
17
<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## What is the minimum setup before I start using gitlab?
Xueshan Feng's avatar
Xueshan Feng committed
18
19
20

Most of your profile settings are already populated from Stanford directory when you sign up with GitLab,  such as your account id (sunetid), name, email. You should not change these.

Xueshan Feng's avatar
Xueshan Feng committed
21
22
23
24
25
You can click **Profile Settings** button on the left panel to change default appearance for your GitLab web interface. You definitely want to look into is the "SSH Keys" tab. In this tab, click the "Add SSH Key" button to add SSH keys so you can communicate with GitLab through git command. 

## How to generate and upload gitlab ssh-key?
* [Generate ssh-key](http://doc.gitlab.com/ce/ssh/README.html)
* [Add ssh-key](http://doc.gitlab.com/ce/gitlab-basics/create-your-ssh-keys.html#add-your-ssh-key)
Xueshan Feng's avatar
Xueshan Feng committed
26

Xueshan Feng's avatar
Xueshan Feng committed
27
## What is a gitlab project?
Xueshan Feng's avatar
Xueshan Feng committed
28
29
30

A gitlab project is equivalent to a git repository.

Xueshan Feng's avatar
Xueshan Feng committed
31
32
## What is the username space?

Xueshan Feng's avatar
Xueshan Feng committed
33
34
35
36
37
38
When you create a new project in GitLab, the default namespace for the project is the personal namespace associated with your GitLab userid. The git repositories created in your personal namespace looks like this:

```
git@code.stanford.edu:<sunetid>/<project>.git
```

Xueshan Feng's avatar
Xueshan Feng committed
39
## How many personal gitlab projects I can create?
Xueshan Feng's avatar
Xueshan Feng committed
40
41
42

The default personal project limit is 10.

Xueshan Feng's avatar
Xueshan Feng committed
43
## What is the default project visibility?
Xueshan Feng's avatar
Xueshan Feng committed
44
45
46

Project visibility level in GitLab can be either private, internal or public. The default is **private**. As a project owner, you can change your project visibility by using your projetct's "Settings" function. 

Xueshan Feng's avatar
Xueshan Feng committed
47
48
## What is a gitlab group? 

Xueshan Feng's avatar
Xueshan Feng committed
49
Gitlab group allows you group projects together into one namespace (directory), so you can give other users permission to all projects in one place. You are allowed to create groups or transfer personal projects to a group your are a member of. Here is more information about [gitlab groups](http://doc.gitlab.com/ee/workflow/groups.html#gitlab-groups).
Xueshan Feng's avatar
Xueshan Feng committed
50

Xueshan Feng's avatar
Xueshan Feng committed
51
52
53
54
55
56
57
## I got 403 forbidden when clicking on Groups, why?

To explore groups hosted on code.stanford.edu, you need to sign in. Click the green button **Sign In** at the upper right corner to sign in. 

## I clicked 'sign in', but it gives me simpleSAMLphp 'Access forbidden' error

Account sign up is intergated with Stanford SSO and is allowed for full sunetid users who are in a controlled workgroup only.