github - Git merging and commit issue -


I have 2 branches - Master and development while I am in development branch, I've made a change of one file) and it Is successful.

However, when I type the GIT checkout master , then the git merge develops ... instead of receiving the output message like ( I am copying this message from the previous merge which I did), and updating git push :

  325ac4a..51ffb06 Fast-forward Test_Folder / Image / IMG_01 .jpg | Bin 0 - & gt; 4224 bytes 2 files were changed, 1 entry (+) make mode 100644 test_foulder/images/img_01.jpg   

I was asked to add a committed message to the terminal ... this This is different from my past previous merger which I have done and for the first time I have seen it. Although I managed to pass since committed a git push , am I doing something wrong?

Still, the 'should be the issue' seems right, is there any way that I can send messages without the terminal style? (By the way, I tried to use git gui , but apparently I do not see any file or anyone)

It seems that you are achieving a true merger during this time period and move on in advance.

Take a peek for the difference between the two.

PS: This is completely normal for true merge. However many collaborative environments reject them because they are mergers which can actually arise in conflict. A fast-forward merger will never fight.

1) Fast Fire Merge

: This is done when your master is a direct ancestor of that branch You are trying to merge into it.

  - * - * - * (Master, in this case, merge means that  master  reference  dev is meant to proceed) - <-> - * (dev)   

. The end result will look like this:

  - * - * - * - * - * (master, dev, head)   

2) True merge : This happens when guru is not the direct ancestor of the branch, that you are trying to merge.

  - * - * - * - * (master, head) \ - * - * - * (dev)   

In this case, Master has moved beyond that point on which the dev branch was created, such as, during the merge, we should change the changes of that new committee on master Must also be included. So GIT will try to create a completely new commitment which comes from both branches and takes it to Master .

  - * - * - * - * - -------- * (master, head) \ / - * - * - * (dev)   

To merge FF and you will see why they are so named HEAD indicates the current branch.

I hope that I have understood this very clearly this time.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -