Readme file updated.

When working in a fork one must add the official repository as a remote
upstream in order to be able to sync with it.
This commit is contained in:
Éder Ferreira Zulian
2015-06-12 13:03:12 +02:00
parent 69c22c3f1c
commit 34cae6d675

View File

@@ -29,15 +29,21 @@ The *--recursive* flag tells git to initialize all submodules within the
repository. **DRAMPower** [2] and **tinyxml** are examples third party
repositories that were embedded within the source tree as submodules.
It is possible to work with a copy of the official codebase. The copy is
called **fork**. In that case, after pushing changes into your fork you should
create a **pull request** in order to your supervisor check and possibly bring
your changes to the official codebase.
It is possible to work with a **fork** of the official codebase. In that case,
after pushing changes into your fork you should create a **pull request** in
order to get your changes merged into to the official codebase.
``` bash
$ git clone --recursive https://<user>@git.rhrk.uni-kl.de/<user>/dram.vp.system.git
```
Also, the official repository must be added as a remote for your fork.
``` bash
$ git remote add upstream https://<user>@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git
$ git remote -v
```
After a pull request being accepted and merged into the official repository
you should get your fork updated.