Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 7e3d03d

Browse files
authored
Merge pull request #17 from githubtraining/only-display-branch
Display only real branch name, not "refs/heads"
2 parents 61b5076 + 7a6a500 commit 7e3d03d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

responses/open-a-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This pull request is going to keep the changes you just made on your branch and
2020

2121
1. From the "Pull requests" tab, click **New pull request**
2222
1. In the "base:" drop-down menu, make sure the "master" branch is selected
23-
1. In the "compare:" drop-down menu, select "{{ branch | replace('refs/heads/', '') }}"
23+
1. In the "compare:" drop-down menu, select "{{ branch | remove: 'refs/heads/' }}"
2424
1. Click **Create pull request**
2525
1. When you’ve selected your branch, enter a title for your pull request. For example `Add {{ user.username }}'s file`
2626
1. The next field helps you provide a description of the changes you made. Feel free to add a description of what you’ve accomplished so far. As a reminder, you have: created a branch, created a file and made a commit, and opened a pull request

0 commit comments

Comments
 (0)