summaryrefslogtreecommitdiff
path: root/doc/forum/merging_upstream_changes_into_my_local_propellor_repo/comment_7_de411d55ffbd72c5a4182168dead6b29._comment
blob: 9f6afc6b52e6565a8e0ca57a8a6b69937304dc4f (plain)
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
44
45
46
[[!comment format=mdwn
 username="s@aa9ff9ce06b08acfd2a93ebd342ce6879430fbdd"
 nickname="s"
 avatar="http://cdn.libravatar.org/avatar/81bf27f8b35011d1846711fa37a5588f"
 subject="comment 7"
 date="2019-06-06T03:13:02Z"
 content="""
Documenting it (in case there is another user who wishes to do the same):

Add upstream repo and fetch tags:

```
$ cd ~/.propellor

$ git remote add u git://propellor.branchable.com/propellor
$ git fetch u --tags
```

Look for the list releases:

```
$ git tag -l
0.1
0.1.1
0.1.2
0.2.0
0.2.1
...
...
...
X.Y.Z
```

To merge release `X.Y.Z` into your master branch, do:

```
$ git merge -X theirs --allow-unrelated-histories X.Y.Z
```

Fix any conflicts and:

```
$ git commit
```

"""]]