Skip to content

Commit 12e203f

Browse files
(PTFE-2503) Add better copy past template (#254)
1 parent de90e55 commit 12e203f

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

bert_e/templates/conflict.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ Please resolve the conflict on **the integration branch** (`{{ wbranch.name }}`)
4747
Here are the steps to resolve this conflict:
4848

4949
```bash
50-
$ git fetch
50+
git fetch
5151
{% if empty -%}
52-
$ git checkout -B {{ wbranch.name }} origin/{{ wbranch.dst_branch.name }}
52+
git checkout -B {{ wbranch.name }} origin/{{ wbranch.dst_branch.name }}
5353
{%- 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
5959
{%- 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 }}
6464
```
6565
{%endif%}
6666
{% endblock %}

bert_e/templates/pull_request_description.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ If you need to amend/cancel the changeset on branch
77
procedure:
88

99
```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 }}
1414
```
1515

1616
Please always comment pull request #{{ pr.id }} instead of this one.

0 commit comments

Comments
 (0)