Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
638
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. `$ git fetch origin`
  2.  
  3. `*From github.com:username/repo*`
  4.  
  5. `* [new ref] refs/pull/1000/head -> origin/pr/1000`
  6.  
  7. `* [new ref] refs/pull/999/head -> origin/pr/999`
  8.  
  9.  
  10. ##### To check out a particular pull request:
  11. `$ git checkout pr/999`
  12.  
  13. `Branch pr/999 set up to track remote branch pr/999 from origin.`
  14.  
  15. `Switched to a new branch 'pr/999'`
  16.  
  17. ##### Now modify the files from the pull request, then
  18. `$ git commit `
  19.  
  20. `$ git push -u origin branch `
  21.  
  22. ##### If the above does not work then,
  23.  
  24. `$ git checkout -b newbranch from => 'pr/999'`
  25.  
  26. `$ git commit --allow-empty -m "your commit message"`
  27.  
  28. `$ git push -u origin newbranch`
  29.  
  30.  
  31. **In this way you can modify someone else pr and send pr to master branch again with the changes.**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement