... | ... | @@ -2,11 +2,11 @@ |
|
|
-----------------------------------
|
|
|
[Git](https://git-scm.com/) provides a highly efficient open source version control system allowing a synchronisation of a repository with several remote copies (clones), which can be modified simultaneously by different users. Git is the core component of Gitlab and thus of the OpenVT platform.
|
|
|
|
|
|
Both Git and Gitlab are extensively documented, please refer to the [help section](https://virtual.openvt.eu/help) for further reading. In the following, you find a very short getting-started introduction for new users of the OpenVT platform.
|
|
|
Both Git and Gitlab are extensively documented, please refer to the [help section](https://openvt.eu/help) for further reading. In the following, you find a very short getting-started introduction for new users of the OpenVT platform.
|
|
|
|
|
|
**Installing Git on Linux and Windows**
|
|
|
----------------------------------------
|
|
|
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).
|
|
|
If you are using Linux, continue reading [here](https://openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/wikis/installing-git:-Linux). As a Windows user, continue [here](https://openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/wikis/Installing-git:-Windows).
|
|
|
|
|
|
**Configuring Git**
|
|
|
----------------------
|
... | ... | @@ -26,15 +26,15 @@ and you should be shown a list with the parameters set above. |
|
|
|
|
|
**Creating an SSH key**
|
|
|
---------------------------
|
|
|
The default way for secure Git operation on OpenVT is the SSL protocol via https. This does not require depositing an SSH key. Only if you would like to use SSH (e.g. if you are using submodules), you need to deposit an SSH key on your profile. In this case, follow the instructions [here](https://virtual.openvt.eu/help/ssh/README#adding-an-ssh-key-to-your-gitlab-account); once you are done, test your setup with
|
|
|
The default way for secure Git operation on OpenVT is the SSL protocol via https. This does not require depositing an SSH key. Only if you would like to use SSH (e.g. if you are using submodules), you need to deposit an SSH key on your profile. In this case, follow the instructions [here](https://openvt.eu/help/ssh/README#adding-an-ssh-key-to-your-gitlab-account); once you are done, test your setup with
|
|
|
|
|
|
```bash
|
|
|
ssh -T git@virtual.openVT.eu
|
|
|
ssh -T git@openvt.eu
|
|
|
```
|
|
|
|
|
|
**Cloning an OpenVT repository with https/SSH**
|
|
|
--------------------------------------------------------------------------
|
|
|
Now we need to create your first local clone of a Gitlab repository. First, pick a repository on the OpenVT platform that you would like to clone (as a test, you can use the manual_and_guidelines repository, or just start your own private project). Browse to the corresponding repository screen (e.g., [this one](https://virtual.openvt.eu/platform_manual_and_guidelines/manual_and_guidelines)), find the blue "clone" button and copy the link for https cloning (the link starts with https://).
|
|
|
Now we need to create your first local clone of a Gitlab repository. First, pick a repository on the OpenVT platform that you would like to clone (as a test, you can use the manual_and_guidelines repository, or just start your own private project). Browse to the corresponding repository screen (e.g., [this one](https://openvt.eu/platform_manual_and_guidelines/manual_and_guidelines)), find the blue "clone" button and copy the link for https cloning (the link starts with https://).
|
|
|
|
|
|
Open a terminal (on Linux) or the Git Bash app (on Windows) and browse to the directory where you would like to place the local clone. Type on the command line prompt:
|
|
|
|
... | ... | @@ -90,11 +90,11 @@ Repeat this work flow every time that you would like to do modifications on the |
|
|
|
|
|
Next steps
|
|
|
------------
|
|
|
Learn more about Git, about how to use branches and submodules, on the page [Next steps with Git](https://virtual.openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/-/wikis/Next-steps-with-Git).
|
|
|
Learn more about Git, about how to use branches and submodules, on the page [Next steps with Git](https://openvt.eu/platform_manual_and_guidelines/manual_and_guidelines/-/wikis/Next-steps-with-Git).
|
|
|
|
|
|
|
|
|
Further questions:
|
|
|
---------------------
|
|
|
For any further information about Git, please refer to the git documentation on [https://git-scm.com/docs](https://git-scm.com/docs).
|
|
|
|
|
|
|
|
|
\ No newline at end of file |
|
|
|