forked from intel/cartwheel-gstreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.cartwheel
43 lines (32 loc) · 1.13 KB
/
README.cartwheel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# cartwheel : gstreamer
Intel developer staging area for upstream patch contributions to [gstreamer](https://gstreamer.freedesktop.org) monorepo.
The upstream project is tracked as a submodule in this repo.
## clone
```shell
$ git clone https://github.com/intel-media-ci/cartwheel-gstreamer --recursive
```
## apply patches
```shell
# at top-level directory
$ git submodule update --init --recursive
# at submodule directory
$ cd gstreamer
# It is recommended to create a branch before applying the patches
$ git checkout -b <my new branch>
$ git am ../patches/*.patch
```
## rebase
```shell
# at top-level directory
$ git pull --rebase --recurse-submodule
```
## administrators
To update the submodule reference commit id to the latest upstream:
```shell
# at top-level directory
$ git submodule update --remote --recursive
$ git commit -sam "$(git diff --submodule | head -1 | sed 's/:$//')"
```
...verify the patches still apply successfully. If they don't apply, fix them and include in new commit(s).
## additional information
For more information and examples about Git Submodules, see https://git-scm.com/book/en/v2/Git-Tools-Submodules