... | ... | @@ -8,9 +8,25 @@ Both Git and Gitlab are extensively documented, please refer to the [help sectio |
|
|
----------------------------------------
|
|
|
If you are using Linux, continue reading [here](https://virtual.openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/wikis/installing-git:-Linux). As a Windows user, continue [here](https://virtual.openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/wikis/Installing-git:-Windows).
|
|
|
|
|
|
**Configuring Git**
|
|
|
----------------------
|
|
|
You should have now a working installation of Git on your system. Next, you have to configure Git. We recommend a global configuration according to your sign-up data on OpenVT - if you are using other Git servers in parallel, you have to do local configurations for each repository (if that ist the case, you probably now how to do that).
|
|
|
|
|
|
Open a Terminal (as Linux user) or open the Git Bash app (on Windows). Type the following, where you replace <your _email> and <your_username> with the data you are signed up with on OpenVT:
|
|
|
|
|
|
```bash
|
|
|
git config --global user.name <your_username>
|
|
|
git config --global user.email <your_email>
|
|
|
```
|
|
|
Now, test the settings with
|
|
|
```bash
|
|
|
git config --global --list
|
|
|
```
|
|
|
and you should be shown a list with the parameters set above.
|
|
|
|
|
|
**Creating an SSH key**
|
|
|
---------------------------
|
|
|
You should have now a working installation of Git on your system. The default way for secure Git operation on OpenVT is the SSH protocol. Therefore, before you can start creating local clones of OpenVT repositories, you have to create your own SSH key and deposit it on the platform.
|
|
|
The default way for secure Git operation on OpenVT is the SSH protocol. Therefore, before you can start creating local clones of OpenVT repositories, you have to create your own SSH key and deposit it on the platform.
|
|
|
|
|
|
Open a terminal (as Linux user) or open the Git Bash app (on Windows). Now, follow the instructions [here](https://virtual.openvt.eu/help/ssh/README#generating-a-new-ssh-key-pair). Use if possible ED25519 keys; in case that does not work, use RSA instead. During the creation, you will be asked to specify a passphrase: please, remember that phrase, it will be your access to secure Git actions later.
|
|
|
|
... | ... | |