01 Setup

Install git on your development machine. We prefer to start with Git for Windows as it comes with a handy git bash and a nice UI-based wizard for creating SSH keys.

  1. Open Git Gui
  2. Generate SSH Key
  3. Enter generated public key to Git settings (Gitlab: profile → settings → ssh key → add key)
  4. In case using fork add private SSH key (private key Windows default location: C:\Users\YourUserName\.ssh\id_rsa)

HSE-internal handling:
- any and all secrets need to be maintained in our 1Password manager
- maximum life time / validity of SSH keys: 12 months

There's an in-depth description of Working with Git on Windows available at beanstalk. It covers the installation of Git for Windows as well as installing SSH keys.

Git itself is a collection of tools that are operated from the command line (or bash). However, there are GUI clients available for all major operating systems.

Setup with Git-Fork

  1. Download and install Git-Fork
  2. Got to File→Configure SSH Keys…
  3. Click on +
  4. Insert information
  5. Click on generate
  6. Insert public key in Git