Skip to content

Commit

Permalink
use more general git instructions in initial PR text
Browse files Browse the repository at this point in the history
instead of refering to `origin` using the htttps url (clone_url) 
provided from github
  • Loading branch information
Realtin committed Jul 23, 2018
1 parent 944c64e commit 260de16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/initial-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ No additional setup is required 😊
`

const updatePullRequestText = ({ newBranch }) => md`
const updatePullRequestText = ({ ghRepo, newBranch }) => md`
<summary>👩‍💻 How to update this pull request</summary>
\`\`\`bash
# Change into your repository’s directory
git fetch
git fetch --all
git checkout ${newBranch}
npm install-test
# Adapt your code until everything works again
git commit -m 'chore: adapt code to updated dependencies'
git push origin ${newBranch}
git push ${ghRepo.clone_url} ${newBranch}
\`\`\`
`

Expand Down

0 comments on commit 260de16

Please sign in to comment.