Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. consider an upstream project based on git@github.com:fake-group/fake-project.git
  2. ```
  3. $ git clone git@github.com:fake-group/fake-project.git
  4. $ cd fake-project
  5. ```
  6. show history before
  7. ```
  8. $ git log
  9. commit dbb2b36dc57ac84fb05d6a601dac35f5caf813af
  10. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  11. Date: Thu Oct 12 11:52:22 2017 +0200
  12.  
  13. [workflow] adding PR template
  14.  
  15. commit 7eef061048535be408b092a68c7a50125452c3d7
  16. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  17. Date: Thu Oct 12 11:42:15 2017 +0200
  18.  
  19. doc improve
  20.  
  21. commit c78bd86c5db0c9880b0d6f5d4034ad27a1656d76
  22. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  23. Date: Thu Oct 12 11:04:10 2017 +0200
  24.  
  25. doc
  26.  
  27. commit be4d8278863ed9f215a3c5f10aaaacc5b6a0eafe
  28. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  29. Date: Thu Oct 12 10:57:26 2017 +0200
  30.  
  31. add README
  32.  
  33. ```
  34. apply a merge for a specified pull request
  35. ```
  36. $ git fetch git@github.com:rstallman/fake-project.git doc/improvement-2
  37. $ git checkout -b rstallman/fake-project-doc/improvement-2 FETCH_HEAD
  38. $ git checkout develop
  39. $ git merge rstallman/fake-project-doc/improvement-2
  40. ```
  41. show history after
  42. ```
  43. $ git log
  44. commit ec97cb6e5c0c224ea59cd59438da7abb6081d2c3
  45. Author: Richard Stallman <rstallman@mail.org>
  46. Date: Thu Oct 12 12:20:05 2017 +0200
  47.  
  48. fix doc
  49.  
  50. commit 67a00e3faafb12779c434c63170e8a3a3671c287
  51. Author: Richard Stallman <rstallman@mail.org>
  52. Date: Thu Oct 12 12:13:48 2017 +0200
  53.  
  54. doc improve 2
  55.  
  56. commit dbb2b36dc57ac84fb05d6a601dac35f5caf813af
  57. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  58. Date: Thu Oct 12 11:52:22 2017 +0200
  59.  
  60. [workflow] adding PR template
  61.  
  62. commit 7eef061048535be408b092a68c7a50125452c3d7
  63. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  64. Date: Thu Oct 12 11:42:15 2017 +0200
  65.  
  66. doc improve
  67.  
  68. commit c78bd86c5db0c9880b0d6f5d4034ad27a1656d76
  69. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  70. Date: Thu Oct 12 11:04:10 2017 +0200
  71.  
  72. doc
  73.  
  74. commit be4d8278863ed9f215a3c5f10aaaacc5b6a0eafe
  75. Author: Hervé Beraud <herveberaud.pro@gmail.com>
  76. Date: Thu Oct 12 10:57:26 2017 +0200
  77.  
  78. add README
  79. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement