Where is git-blame in SourceTree










57















I'd like to see who contributed which line/change to a file. git-blame does exactly that. So does SourceTree have a git-blame view?










share|improve this question
























  • These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

    – rinogo
    Nov 14 '17 at 16:53











  • See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

    – Andy Weinstein
    Jan 3 at 11:20
















57















I'd like to see who contributed which line/change to a file. git-blame does exactly that. So does SourceTree have a git-blame view?










share|improve this question
























  • These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

    – rinogo
    Nov 14 '17 at 16:53











  • See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

    – Andy Weinstein
    Jan 3 at 11:20














57












57








57


5






I'd like to see who contributed which line/change to a file. git-blame does exactly that. So does SourceTree have a git-blame view?










share|improve this question
















I'd like to see who contributed which line/change to a file. git-blame does exactly that. So does SourceTree have a git-blame view?







git atlassian-sourcetree git-gui blame git-blame






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 '18 at 19:42









Ted

10.3k75465




10.3k75465










asked May 14 '12 at 10:45









artistoexartistoex

1,72931832




1,72931832












  • These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

    – rinogo
    Nov 14 '17 at 16:53











  • See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

    – Andy Weinstein
    Jan 3 at 11:20


















  • These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

    – rinogo
    Nov 14 '17 at 16:53











  • See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

    – Andy Weinstein
    Jan 3 at 11:20

















These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

– rinogo
Nov 14 '17 at 16:53





These answers are just as I suspected - if you're trying to do a "blame" for an arbitrary file, it can be hard to find the file in the interface. One (far from perfect) shortcut I use is to just temporarily modify the file to cause it to appear as an "Unstaged file", at which point I can right-click it to access the blame.

– rinogo
Nov 14 '17 at 16:53













See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

– Andy Weinstein
Jan 3 at 11:20






See Ted's answer (4th one). Sourcetree has cleaned up the language in version 3. We're not out to blame anyone, are we? We're just on a quest to understand. Not that we're getting much help. The windows that pops up with the result is not even searchable.

– Andy Weinstein
Jan 3 at 11:20













4 Answers
4






active

oldest

votes


















73














Select a file, whether in the 'working copy' display or in the 'commit' display, and do one of three things:



  1. option-command-B

  2. menu bar :: Actions :: Blame Selected...

  3. contextual menu :: Blame Selected...

If the file you want to blame is not in the modified files list, you need to change the view to File Status View (View --> File Status View), then set the Sub menu to "Show All"



Show All on OSX






share|improve this answer




















  • 4





    Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

    – GoZoner
    May 21 '12 at 14:09






  • 1





    Ah yes, thanks! Haven't seen 'Show All' before.

    – artistoex
    May 21 '12 at 15:53






  • 7





    Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

    – rinogo
    Apr 10 '18 at 16:07











  • It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

    – Erwin Wessels
    May 24 '18 at 12:29



















10














  1. Switch to the history view and select a commit that has the file you would like to blame.

  2. Right-click the file name and select Blame Selected.

Alternatively, you can right-click a file in the working tree or that has been staged and do the same thing.






share|improve this answer






























    2














    Right click the file-> Blame selected.
    You can find writer of Each line .
    Trick: Make a minor change like adding a space in the file you want to find the file easily(File Status) in Source tree.






    share|improve this answer






























      2














      Sourcetree 3.0



      Right click file > Annotate Selected



      enter image description here






      share|improve this answer























      • Yup... why on earth they had to change the name...

        – shadowsheep
        Jan 28 at 8:20











      • Someone indeed opened an issue for that.

        – shadowsheep
        Jan 28 at 8:29










      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',
      autoActivateHeartbeat: false,
      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%2f10581843%2fwhere-is-git-blame-in-sourcetree%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      73














      Select a file, whether in the 'working copy' display or in the 'commit' display, and do one of three things:



      1. option-command-B

      2. menu bar :: Actions :: Blame Selected...

      3. contextual menu :: Blame Selected...

      If the file you want to blame is not in the modified files list, you need to change the view to File Status View (View --> File Status View), then set the Sub menu to "Show All"



      Show All on OSX






      share|improve this answer




















      • 4





        Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

        – GoZoner
        May 21 '12 at 14:09






      • 1





        Ah yes, thanks! Haven't seen 'Show All' before.

        – artistoex
        May 21 '12 at 15:53






      • 7





        Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

        – rinogo
        Apr 10 '18 at 16:07











      • It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

        – Erwin Wessels
        May 24 '18 at 12:29
















      73














      Select a file, whether in the 'working copy' display or in the 'commit' display, and do one of three things:



      1. option-command-B

      2. menu bar :: Actions :: Blame Selected...

      3. contextual menu :: Blame Selected...

      If the file you want to blame is not in the modified files list, you need to change the view to File Status View (View --> File Status View), then set the Sub menu to "Show All"



      Show All on OSX






      share|improve this answer




















      • 4





        Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

        – GoZoner
        May 21 '12 at 14:09






      • 1





        Ah yes, thanks! Haven't seen 'Show All' before.

        – artistoex
        May 21 '12 at 15:53






      • 7





        Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

        – rinogo
        Apr 10 '18 at 16:07











      • It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

        – Erwin Wessels
        May 24 '18 at 12:29














      73












      73








      73







      Select a file, whether in the 'working copy' display or in the 'commit' display, and do one of three things:



      1. option-command-B

      2. menu bar :: Actions :: Blame Selected...

      3. contextual menu :: Blame Selected...

      If the file you want to blame is not in the modified files list, you need to change the view to File Status View (View --> File Status View), then set the Sub menu to "Show All"



      Show All on OSX






      share|improve this answer















      Select a file, whether in the 'working copy' display or in the 'commit' display, and do one of three things:



      1. option-command-B

      2. menu bar :: Actions :: Blame Selected...

      3. contextual menu :: Blame Selected...

      If the file you want to blame is not in the modified files list, you need to change the view to File Status View (View --> File Status View), then set the Sub menu to "Show All"



      Show All on OSX







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 6 '14 at 20:24









      chris

      1,65122131




      1,65122131










      answered May 14 '12 at 15:26









      GoZonerGoZoner

      47.6k1672122




      47.6k1672122







      • 4





        Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

        – GoZoner
        May 21 '12 at 14:09






      • 1





        Ah yes, thanks! Haven't seen 'Show All' before.

        – artistoex
        May 21 '12 at 15:53






      • 7





        Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

        – rinogo
        Apr 10 '18 at 16:07











      • It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

        – Erwin Wessels
        May 24 '18 at 12:29













      • 4





        Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

        – GoZoner
        May 21 '12 at 14:09






      • 1





        Ah yes, thanks! Haven't seen 'Show All' before.

        – artistoex
        May 21 '12 at 15:53






      • 7





        Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

        – rinogo
        Apr 10 '18 at 16:07











      • It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

        – Erwin Wessels
        May 24 '18 at 12:29








      4




      4





      Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

      – GoZoner
      May 21 '12 at 14:09





      Not sure what you are asking. A file changing since the last commit doesn't impact the blame (as the blame is based on the past commits). If the file hasn't change then in Source-Tree you'll find it by selecting 'Working Copy' and then 'Show All' (not 'Show Pending'). From there you can see all the files and select the one you want the blame for.

      – GoZoner
      May 21 '12 at 14:09




      1




      1





      Ah yes, thanks! Haven't seen 'Show All' before.

      – artistoex
      May 21 '12 at 15:53





      Ah yes, thanks! Haven't seen 'Show All' before.

      – artistoex
      May 21 '12 at 15:53




      7




      7





      Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

      – rinogo
      Apr 10 '18 at 16:07





      Note that for some inexplicable reason, this has changed from "Blame Selected" to "Annotate Selected"

      – rinogo
      Apr 10 '18 at 16:07













      It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

      – Erwin Wessels
      May 24 '18 at 12:29






      It seems like "Blame" and "Annotate" are near synonyms (for some spelunking on that, see this post on the git mailing list). I'm also suspecting some political correctness being injected.

      – Erwin Wessels
      May 24 '18 at 12:29














      10














      1. Switch to the history view and select a commit that has the file you would like to blame.

      2. Right-click the file name and select Blame Selected.

      Alternatively, you can right-click a file in the working tree or that has been staged and do the same thing.






      share|improve this answer



























        10














        1. Switch to the history view and select a commit that has the file you would like to blame.

        2. Right-click the file name and select Blame Selected.

        Alternatively, you can right-click a file in the working tree or that has been staged and do the same thing.






        share|improve this answer

























          10












          10








          10







          1. Switch to the history view and select a commit that has the file you would like to blame.

          2. Right-click the file name and select Blame Selected.

          Alternatively, you can right-click a file in the working tree or that has been staged and do the same thing.






          share|improve this answer













          1. Switch to the history view and select a commit that has the file you would like to blame.

          2. Right-click the file name and select Blame Selected.

          Alternatively, you can right-click a file in the working tree or that has been staged and do the same thing.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 14 '12 at 10:48









          Rohan SinghRohan Singh

          12.4k13041




          12.4k13041





















              2














              Right click the file-> Blame selected.
              You can find writer of Each line .
              Trick: Make a minor change like adding a space in the file you want to find the file easily(File Status) in Source tree.






              share|improve this answer



























                2














                Right click the file-> Blame selected.
                You can find writer of Each line .
                Trick: Make a minor change like adding a space in the file you want to find the file easily(File Status) in Source tree.






                share|improve this answer

























                  2












                  2








                  2







                  Right click the file-> Blame selected.
                  You can find writer of Each line .
                  Trick: Make a minor change like adding a space in the file you want to find the file easily(File Status) in Source tree.






                  share|improve this answer













                  Right click the file-> Blame selected.
                  You can find writer of Each line .
                  Trick: Make a minor change like adding a space in the file you want to find the file easily(File Status) in Source tree.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 18 '17 at 15:35









                  AmitaAmita

                  4511




                  4511





















                      2














                      Sourcetree 3.0



                      Right click file > Annotate Selected



                      enter image description here






                      share|improve this answer























                      • Yup... why on earth they had to change the name...

                        – shadowsheep
                        Jan 28 at 8:20











                      • Someone indeed opened an issue for that.

                        – shadowsheep
                        Jan 28 at 8:29















                      2














                      Sourcetree 3.0



                      Right click file > Annotate Selected



                      enter image description here






                      share|improve this answer























                      • Yup... why on earth they had to change the name...

                        – shadowsheep
                        Jan 28 at 8:20











                      • Someone indeed opened an issue for that.

                        – shadowsheep
                        Jan 28 at 8:29













                      2












                      2








                      2







                      Sourcetree 3.0



                      Right click file > Annotate Selected



                      enter image description here






                      share|improve this answer













                      Sourcetree 3.0



                      Right click file > Annotate Selected



                      enter image description here







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Nov 11 '18 at 17:58









                      TedTed

                      10.3k75465




                      10.3k75465












                      • Yup... why on earth they had to change the name...

                        – shadowsheep
                        Jan 28 at 8:20











                      • Someone indeed opened an issue for that.

                        – shadowsheep
                        Jan 28 at 8:29

















                      • Yup... why on earth they had to change the name...

                        – shadowsheep
                        Jan 28 at 8:20











                      • Someone indeed opened an issue for that.

                        – shadowsheep
                        Jan 28 at 8:29
















                      Yup... why on earth they had to change the name...

                      – shadowsheep
                      Jan 28 at 8:20





                      Yup... why on earth they had to change the name...

                      – shadowsheep
                      Jan 28 at 8:20













                      Someone indeed opened an issue for that.

                      – shadowsheep
                      Jan 28 at 8:29





                      Someone indeed opened an issue for that.

                      – shadowsheep
                      Jan 28 at 8:29

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f10581843%2fwhere-is-git-blame-in-sourcetree%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

                      𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

                      Edmonton

                      Crossroads (UK TV series)