Skip to main content
added 445 characters in body
Source Link

The first thing will be list the commits with :

git log --oneline

You must find the commit (from branch B) that you want to change from branch B to A.

 git checkout A

And from there you must execute the following commit

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7
  • 1.- The first thing will be list the commits with :

      git log --oneline
    
  • 2.- You must find the commit (from branch B) and select the ID of the commit to change

  • 3.- Change the branch

      git checkout A
    
  • 4.- And from there you must execute the following commit

      git cherry-pick c8dc73f
    

Where c8dc73f56eb5e548a0f9df2989d8346580ada1b7c8dc73fis is the number or ID of the commit that I selected in the second step.

The first thing will be list the commits with :

git log --oneline

You must find the commit (from branch B) that you want to change from branch B to A.

 git checkout A

And from there you must execute the following commit

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7

Where c8dc73f56eb5e548a0f9df2989d8346580ada1b7is the number of the commit that I selected in the second step.

  • 1.- The first thing will be list the commits with :

      git log --oneline
    
  • 2.- You must find the commit (from branch B) and select the ID of the commit to change

  • 3.- Change the branch

      git checkout A
    
  • 4.- And from there you must execute the following commit

      git cherry-pick c8dc73f
    

Where c8dc73f is the number or ID of the commit that I selected in the second step.

added 445 characters in body
Source Link

The first thing will be list the commits with :

git log --oneline

You must find the commit (from branch B) that you want to change from branch B to A.

 git checkout A

And from there you must execute the following commit

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7

Where c8dc73f56eb5e548a0f9df2989d8346580ada1b7is the number of the commit that I selected in the second step.

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7

The first thing will be list the commits with :

git log --oneline

You must find the commit (from branch B) that you want to change from branch B to A.

 git checkout A

And from there you must execute the following commit

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7

Where c8dc73f56eb5e548a0f9df2989d8346580ada1b7is the number of the commit that I selected in the second step.

Source Link

git cherry-pick c8dc73f56eb5e548a0f9df2989d8346580ada1b7