Install and setup Git for use at the HCI group


• MacOS
If you have Xcode installed, it is already there.
Otherwise install it with MacPorts or Brew:
sudo port install git
or with Brew:
brew install git

• Windows
Download the 64-Bit Git Standalone Installer.

Install it with the standard options but use as editor something like Notepad++ or your standard coding editor.


On Windows please use the Git Bash only, for this guide. For Mac use the Terminal.

Setup the local account:
git config --global user.name "Firstname Lastname"
git config --global user.email "email_address"
REMARK: Please don’t just copy! Insert your own appropriate data. ;-)

Create your key:
ssh-keygen -t rsa -m PEM -C "firstname.lastname@stud.uni-bamberg.de"
Name the key files for example:
Hit Enter several times to bypass the passphrase

Import your public key to the HCI Gitlab:
cat .ssh/id_rsa_hci-gitlab.pub

The output should look somethink like:
ssh-rsa AAAB3NzaC1yc2EAAAADAQABAAABgQDUOQiwJWrKMfOV2ue+6P9cq9K/jUq/mWOgnyMgNwx+a9n1uMShy
AQeoCc= firstname.lastname at stud.uni-bamberg.de

Copy this code,
and go to https://rcml.hci.uni-bamberg.de/keys/new
Insert the code into the formula in the key field and give it an appropriate name.

Configure to use the right key with the HCI Gitlab:

-> This step is only needed, when using more than one Git Account !

Go to your SSH configuration directory:
cd ~/.ssh/

If the file 'config' isn't here, you need to create it with 'touch config'.

Now add to 'config':
host rcml.hci.uni-bamberg.de
HostName rcml.hci.uni-bamberg.de
IdentityFile ~/.ssh/id_rsa_hci-gitlab
User firstname.lastname at stud.uni-bamberg.de
HostkeyAlgorithms +ssh-rsa

That’s it! You successfully setup your HCI Gitlab account.

If you have already a project on HCI Gitlab you should be able to clone it with a command like:
git clone git@rcml.hci.uni-bamberg.de:example_namespace/example.git

Get the SensQDroid code

Go in your Terminal to a directory where you want to have the code.
git clone git@rcml.hci.uni-bamberg.de:esmtools/sensqdroid2_deploy.git

If you have problems accessing the GitLab website, please use VPN.

Users [toggle]

3 online users

Internal [toggle]

Chat [toggle]