Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • code-webis-cmd code-webis-cmd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • code-genericcode-generic
  • code-webis-cmdcode-webis-cmd
  • Wiki
  • git setup

git setup · Changes

Page history
add note about generating SSH keys authored Dec 07, 2016 by Administrator's avatar Administrator
Hide whitespace changes
Inline Side-by-side
git-setup.md
View page @ 86279814
......@@ -15,7 +15,15 @@ Each former CVS module on the second level of the hierarchy is now 'project' in
# 3 Authentication And Cloning Projects
Each project page displays a clone URL under the project name. Two methods are supported: SSH and HTTPS, which have different clone URLs. The HTTPS method only uses your username and password. The SSH method is more convenient but requires some up-front setup: you need to generate an SSH key pair, and paste the public key into your profile page at: https://webis16.medien.uni-weimar.de/gitlab/profile/keys.
Each project page displays a clone URL under the project name. Two methods are supported: SSH and HTTPS, which have different clone URLs. The HTTPS method only uses your username and password. The SSH method is more convenient but requires some up-front setup: you need to generate an SSH key pair, and paste the public key into your profile page at: https://webis16.medien.uni-weimar.de/gitlab/profile/keys. If you don't have an SSH-key pair, you can generate one by running
```
ssh-keygen -t rsa -b 4096
```
Once your SSH key has been generated, copy the contents of `~/.ssh/id_rsa.pub` (or whatever file you chose to store your public key in) into the *Key* field at https://webis16.medien.uni-weimar.de/gitlab/profile/keys and click *Add Key*. This will add the public key to your GitLab account, so you can use you the corresponding private key to pull from and push to GitLab via SSH. Make sure to keep the private key part in `~/.ssh/id_rsa` secret at all times! If your private key gets compromised, delete the public key from GItLab and create a new key pair to prevent others from gaining unauthorized access to our Git repositories.
If you are using the `webis` command (see next section), then `webis git init` will automatically create an SSH key pair for you if you don't have one.
Once you have an authentication method set up, you can paste the clone URL behind 'git clone' in your terminal. For example, to clone the clickbait project using the HTTPS method, you would use:
......
Clone repository
  • git admin tools
  • git setup
  • Home
  • webis cmd installation