Commandes Linux : git cherry-pick

GIT CHERRY-PICK

 

 

Appliquer les changements introduits par certains commits :

git cherry-pick SHA1-list

ex :

$ git cherry-pick aa85407 6bf13e9
[master 2aaa198] Add file2.txt
 Date: Tue Jun 19 03:12:40 2018 +0200
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file2.txt
[master 14e0ac6] Add file4.txt
 Date: Tue Jun 19 03:14:21 2018 +0200
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file4.txt

 

Fermer le menu
%d blogueurs aiment cette page :