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:
14
README.md
14
README.md
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user