File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -47,20 +47,20 @@ Please resolve the conflict on **the integration branch** (`{{ wbranch.name }}`)
47
47
Here are the steps to resolve this conflict:
48
48
49
49
``` bash
50
- $ git fetch
50
+ git fetch
51
51
{% if empty -%}
52
- $ git checkout -B {{ wbranch.name }} origin/{{ wbranch.dst_branch.name }}
52
+ git checkout -B {{ wbranch.name }} origin/{{ wbranch.dst_branch.name }}
53
53
{%- else -%}
54
- $ git checkout {{ wbranch.name }}
55
- $ git pull # or "git reset --hard origin/{{ wbranch.name }}"
56
- $ git merge origin/{{ wbranch.dst_branch.name }}
57
- $ # <intense conflict resolution>
58
- $ git commit
54
+ git checkout {{ wbranch.name }}
55
+ git pull # or "git reset --hard origin/{{ wbranch.name }}"
56
+ git merge origin/{{ wbranch.dst_branch.name }}
57
+ # <intense conflict resolution>
58
+ git commit
59
59
{%- endif %}
60
- $ git merge origin/{{ source.name }}
61
- $ # <intense conflict resolution>
62
- $ git commit
63
- $ git push -u origin {{ wbranch.name }}
60
+ git merge origin/{{ source.name }}
61
+ # <intense conflict resolution>
62
+ git commit
63
+ git push -u origin {{ wbranch.name }}
64
64
` ` `
65
65
{%endif%}
66
66
{% endblock %}
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ If you need to amend/cancel the changeset on branch
7
7
procedure:
8
8
9
9
``` bash
10
- $ git fetch
11
- $ git checkout {{ branch }}
12
- $ # <amend or cancel the changeset by _adding_ new commits>
13
- $ git push origin {{ branch }}
10
+ git fetch
11
+ git checkout {{ branch }}
12
+ # <amend or cancel the changeset by _adding_ new commits>
13
+ git push origin {{ branch }}
14
14
```
15
15
16
16
Please always comment pull request #{{ pr.id }} instead of this one.
You can’t perform that action at this time.
0 commit comments