gitkraken - How to compare 2 branches











up vote
0
down vote

favorite












Is there any way to compare 2 branches (branch1 and branch2) with gitkraken?



I want a list of files that have changes










share|improve this question


























    up vote
    0
    down vote

    favorite












    Is there any way to compare 2 branches (branch1 and branch2) with gitkraken?



    I want a list of files that have changes










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Is there any way to compare 2 branches (branch1 and branch2) with gitkraken?



      I want a list of files that have changes










      share|improve this question













      Is there any way to compare 2 branches (branch1 and branch2) with gitkraken?



      I want a list of files that have changes







      git gitkraken






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 9 at 22:32









      Michalis

      1,98612540




      1,98612540
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          If you want to find out difference between branch A and B
          First checkout on branch A then click on branch B and select commits it then you can find changes on right panel.




          and can select multiple commit rows in the graph using Shift Click to show its merged diff







          share|improve this answer























          • right panel have only the changes of the selected commit...
            – Michalis
            Nov 9 at 22:56










          • I use Shift key and click on commit and select them , try it
            – amin saffar
            Nov 9 at 23:34


















          up vote
          -1
          down vote














          I want a list of files that have changed




          git whatchanged




          • You can always use the command line and use the git whatchnaged command.

          • This command supports many of the git log flags so you can use them as well


          enter image description here





          based upon the comment:




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)




          There are few ways to find differences between 2 branches:



          **In case you get empty result swap the branches




          • git diff <branch1>...<branch2>

          • git diff <branch1> ^<branch2>

          • git log <branch1>...<branch2>

          • git whatchanged






          share|improve this answer























          • with this command I can compare the current branch with the starting point... right... not with other branch...
            – Michalis
            Nov 10 at 6:32










          • you wish to compare several branches?
            – CodeWizard
            Nov 10 at 6:50










          • no.... only 2....
            – Michalis
            Nov 10 at 21:04










          • let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
            – Michalis
            Nov 10 at 21:06










          • I will update the answer for you so you can accept it :-)
            – CodeWizard
            Nov 10 at 21:34











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234113%2fgitkraken-how-to-compare-2-branches%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          If you want to find out difference between branch A and B
          First checkout on branch A then click on branch B and select commits it then you can find changes on right panel.




          and can select multiple commit rows in the graph using Shift Click to show its merged diff







          share|improve this answer























          • right panel have only the changes of the selected commit...
            – Michalis
            Nov 9 at 22:56










          • I use Shift key and click on commit and select them , try it
            – amin saffar
            Nov 9 at 23:34















          up vote
          1
          down vote













          If you want to find out difference between branch A and B
          First checkout on branch A then click on branch B and select commits it then you can find changes on right panel.




          and can select multiple commit rows in the graph using Shift Click to show its merged diff







          share|improve this answer























          • right panel have only the changes of the selected commit...
            – Michalis
            Nov 9 at 22:56










          • I use Shift key and click on commit and select them , try it
            – amin saffar
            Nov 9 at 23:34













          up vote
          1
          down vote










          up vote
          1
          down vote









          If you want to find out difference between branch A and B
          First checkout on branch A then click on branch B and select commits it then you can find changes on right panel.




          and can select multiple commit rows in the graph using Shift Click to show its merged diff







          share|improve this answer














          If you want to find out difference between branch A and B
          First checkout on branch A then click on branch B and select commits it then you can find changes on right panel.




          and can select multiple commit rows in the graph using Shift Click to show its merged diff








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 9 at 23:37

























          answered Nov 9 at 22:40









          amin saffar

          719922




          719922












          • right panel have only the changes of the selected commit...
            – Michalis
            Nov 9 at 22:56










          • I use Shift key and click on commit and select them , try it
            – amin saffar
            Nov 9 at 23:34


















          • right panel have only the changes of the selected commit...
            – Michalis
            Nov 9 at 22:56










          • I use Shift key and click on commit and select them , try it
            – amin saffar
            Nov 9 at 23:34
















          right panel have only the changes of the selected commit...
          – Michalis
          Nov 9 at 22:56




          right panel have only the changes of the selected commit...
          – Michalis
          Nov 9 at 22:56












          I use Shift key and click on commit and select them , try it
          – amin saffar
          Nov 9 at 23:34




          I use Shift key and click on commit and select them , try it
          – amin saffar
          Nov 9 at 23:34












          up vote
          -1
          down vote














          I want a list of files that have changed




          git whatchanged




          • You can always use the command line and use the git whatchnaged command.

          • This command supports many of the git log flags so you can use them as well


          enter image description here





          based upon the comment:




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)




          There are few ways to find differences between 2 branches:



          **In case you get empty result swap the branches




          • git diff <branch1>...<branch2>

          • git diff <branch1> ^<branch2>

          • git log <branch1>...<branch2>

          • git whatchanged






          share|improve this answer























          • with this command I can compare the current branch with the starting point... right... not with other branch...
            – Michalis
            Nov 10 at 6:32










          • you wish to compare several branches?
            – CodeWizard
            Nov 10 at 6:50










          • no.... only 2....
            – Michalis
            Nov 10 at 21:04










          • let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
            – Michalis
            Nov 10 at 21:06










          • I will update the answer for you so you can accept it :-)
            – CodeWizard
            Nov 10 at 21:34















          up vote
          -1
          down vote














          I want a list of files that have changed




          git whatchanged




          • You can always use the command line and use the git whatchnaged command.

          • This command supports many of the git log flags so you can use them as well


          enter image description here





          based upon the comment:




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)




          There are few ways to find differences between 2 branches:



          **In case you get empty result swap the branches




          • git diff <branch1>...<branch2>

          • git diff <branch1> ^<branch2>

          • git log <branch1>...<branch2>

          • git whatchanged






          share|improve this answer























          • with this command I can compare the current branch with the starting point... right... not with other branch...
            – Michalis
            Nov 10 at 6:32










          • you wish to compare several branches?
            – CodeWizard
            Nov 10 at 6:50










          • no.... only 2....
            – Michalis
            Nov 10 at 21:04










          • let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
            – Michalis
            Nov 10 at 21:06










          • I will update the answer for you so you can accept it :-)
            – CodeWizard
            Nov 10 at 21:34













          up vote
          -1
          down vote










          up vote
          -1
          down vote










          I want a list of files that have changed




          git whatchanged




          • You can always use the command line and use the git whatchnaged command.

          • This command supports many of the git log flags so you can use them as well


          enter image description here





          based upon the comment:




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)




          There are few ways to find differences between 2 branches:



          **In case you get empty result swap the branches




          • git diff <branch1>...<branch2>

          • git diff <branch1> ^<branch2>

          • git log <branch1>...<branch2>

          • git whatchanged






          share|improve this answer















          I want a list of files that have changed




          git whatchanged




          • You can always use the command line and use the git whatchnaged command.

          • This command supports many of the git log flags so you can use them as well


          enter image description here





          based upon the comment:




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)




          There are few ways to find differences between 2 branches:



          **In case you get empty result swap the branches




          • git diff <branch1>...<branch2>

          • git diff <branch1> ^<branch2>

          • git log <branch1>...<branch2>

          • git whatchanged







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 10 at 21:41

























          answered Nov 9 at 23:30









          CodeWizard

          49k126688




          49k126688












          • with this command I can compare the current branch with the starting point... right... not with other branch...
            – Michalis
            Nov 10 at 6:32










          • you wish to compare several branches?
            – CodeWizard
            Nov 10 at 6:50










          • no.... only 2....
            – Michalis
            Nov 10 at 21:04










          • let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
            – Michalis
            Nov 10 at 21:06










          • I will update the answer for you so you can accept it :-)
            – CodeWizard
            Nov 10 at 21:34


















          • with this command I can compare the current branch with the starting point... right... not with other branch...
            – Michalis
            Nov 10 at 6:32










          • you wish to compare several branches?
            – CodeWizard
            Nov 10 at 6:50










          • no.... only 2....
            – Michalis
            Nov 10 at 21:04










          • let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
            – Michalis
            Nov 10 at 21:06










          • I will update the answer for you so you can accept it :-)
            – CodeWizard
            Nov 10 at 21:34
















          with this command I can compare the current branch with the starting point... right... not with other branch...
          – Michalis
          Nov 10 at 6:32




          with this command I can compare the current branch with the starting point... right... not with other branch...
          – Michalis
          Nov 10 at 6:32












          you wish to compare several branches?
          – CodeWizard
          Nov 10 at 6:50




          you wish to compare several branches?
          – CodeWizard
          Nov 10 at 6:50












          no.... only 2....
          – Michalis
          Nov 10 at 21:04




          no.... only 2....
          – Michalis
          Nov 10 at 21:04












          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
          – Michalis
          Nov 10 at 21:06




          let's say that 2 coworkers work at the same bug... and you want to compare the 2 branches.... to find the best solution (real example)
          – Michalis
          Nov 10 at 21:06












          I will update the answer for you so you can accept it :-)
          – CodeWizard
          Nov 10 at 21:34




          I will update the answer for you so you can accept it :-)
          – CodeWizard
          Nov 10 at 21:34


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234113%2fgitkraken-how-to-compare-2-branches%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Florida Star v. B. J. F.

          Danny Elfman

          Lugert, Oklahoma