GitLab FAQs
- What is the minimum setup before I start using GitLab?
- How do I get help?
- How to generate and upload GitLab ssh-key?
- Why do I get "422 Error" when sign-in?
- What is a GitLab project?
- What is the username space?
- How many personal GitLab projects I can create?
- What is the default project visibility?
- What is a GitLab group?
- Why my search turnout nothing?
- Can I safeguard secrets in a private repo?
- What are GitLab usage limits?
- Is GitLab intergated with Stanford workgroup?
- Can I use GitLab for PHI data?
What is the minimum setup before I start using GitLab?
Your gitlab user account will be automatically provisioned when the first time you login to Gitlab and most of your user profile settings will be populated from Stanford directory, such as your account id (sunetid), name, email. You should not change these. If you get a "422 Error" after login to gitlab, see Why do I get "422 Error?" when sign-in?
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 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?
How do I get help?
For general usage questions, Use Gitlab's help documetation. For backend server gitlab.med.stanford.edu related questions, please submit a HelpSU ticket.
You can also join git slack channel on SoM IRT Slack channel #med-svc-gitlab.
Why do I get "422 Error" when sign-in?
If you get this error the first time your sign-in, most likely, your email contact information in StanfordYou is either private or doesn't exist. It can be caused by sponsorship changes. The email must be in format of <your sunetid>.stanford.edu.
gitlab.med.stanford.edu service requires your email address to log you in, and the email must be in stanford.edu domain and fully sponsored. You should be able to go to stanfordyou.stanford.edu and add your email address - click on 'Maintain your directory and AlertSU emergency contact information', then click 'change...' next to 'SU Contact Info'. You need at least Stanford visibility for your email address.
What is a GitLab project?
A GitLab project is all things about a project: a git repository, issues, documentations, etc.
What is the username space?
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@gitlab.med.stanford.edu:<sunetid>/<project>.git
How many personal GitLab projects I can create?
The default personal project limit is 50.