how to change git stash pop colors?












3















I use git on Windows 7. I just updated my git to 1.8.0 from 1.7.3.1, and one of the first things I noticed was that git stash pop now had some new coloring in the output.

Both modified and untracked files are now red, like this:





I would like it to stay white like it used to, both because that is what I am used to, and because I consider the color red to be a sign that something went wrong, which it clearly did not in this case.



So, my question is can this be done, and if so how?



I suspect that there could be some config variable controling this but I can not find it.
I don't want to turn all coloring off though, just this.










share|improve this question





























    3















    I use git on Windows 7. I just updated my git to 1.8.0 from 1.7.3.1, and one of the first things I noticed was that git stash pop now had some new coloring in the output.

    Both modified and untracked files are now red, like this:





    I would like it to stay white like it used to, both because that is what I am used to, and because I consider the color red to be a sign that something went wrong, which it clearly did not in this case.



    So, my question is can this be done, and if so how?



    I suspect that there could be some config variable controling this but I can not find it.
    I don't want to turn all coloring off though, just this.










    share|improve this question



























      3












      3








      3








      I use git on Windows 7. I just updated my git to 1.8.0 from 1.7.3.1, and one of the first things I noticed was that git stash pop now had some new coloring in the output.

      Both modified and untracked files are now red, like this:





      I would like it to stay white like it used to, both because that is what I am used to, and because I consider the color red to be a sign that something went wrong, which it clearly did not in this case.



      So, my question is can this be done, and if so how?



      I suspect that there could be some config variable controling this but I can not find it.
      I don't want to turn all coloring off though, just this.










      share|improve this question
















      I use git on Windows 7. I just updated my git to 1.8.0 from 1.7.3.1, and one of the first things I noticed was that git stash pop now had some new coloring in the output.

      Both modified and untracked files are now red, like this:





      I would like it to stay white like it used to, both because that is what I am used to, and because I consider the color red to be a sign that something went wrong, which it clearly did not in this case.



      So, my question is can this be done, and if so how?



      I suspect that there could be some config variable controling this but I can not find it.
      I don't want to turn all coloring off though, just this.







      windows git






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 30 '12 at 15:13









      slhck

      162k47448470




      162k47448470










      asked Oct 30 '12 at 14:32









      SuperoleSuperole

      91421016




      91421016






















          1 Answer
          1






          active

          oldest

          votes


















          3














          That output is actually from git status, which is run by git stash pop.



          You can disable color for that command by running



          git config --global color.status false


          Or you can choose to use different colors for different types of files with:



          git config --global color.status.untracked yellow
          git config --global color.status.added green


          Other color slots are available as well, check the docs for git config and look for color.status.






          share|improve this answer


























          • Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

            – Superole
            Nov 2 '12 at 12:14













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f496282%2fhow-to-change-git-stash-pop-colors%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          That output is actually from git status, which is run by git stash pop.



          You can disable color for that command by running



          git config --global color.status false


          Or you can choose to use different colors for different types of files with:



          git config --global color.status.untracked yellow
          git config --global color.status.added green


          Other color slots are available as well, check the docs for git config and look for color.status.






          share|improve this answer


























          • Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

            – Superole
            Nov 2 '12 at 12:14


















          3














          That output is actually from git status, which is run by git stash pop.



          You can disable color for that command by running



          git config --global color.status false


          Or you can choose to use different colors for different types of files with:



          git config --global color.status.untracked yellow
          git config --global color.status.added green


          Other color slots are available as well, check the docs for git config and look for color.status.






          share|improve this answer


























          • Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

            – Superole
            Nov 2 '12 at 12:14
















          3












          3








          3







          That output is actually from git status, which is run by git stash pop.



          You can disable color for that command by running



          git config --global color.status false


          Or you can choose to use different colors for different types of files with:



          git config --global color.status.untracked yellow
          git config --global color.status.added green


          Other color slots are available as well, check the docs for git config and look for color.status.






          share|improve this answer















          That output is actually from git status, which is run by git stash pop.



          You can disable color for that command by running



          git config --global color.status false


          Or you can choose to use different colors for different types of files with:



          git config --global color.status.untracked yellow
          git config --global color.status.added green


          Other color slots are available as well, check the docs for git config and look for color.status.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 2 at 2:52









          mtd

          486410




          486410










          answered Oct 30 '12 at 15:09









          qqxqqx

          2,4631214




          2,4631214













          • Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

            – Superole
            Nov 2 '12 at 12:14





















          • Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

            – Superole
            Nov 2 '12 at 12:14



















          Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

          – Superole
          Nov 2 '12 at 12:14







          Thank you @qqx :) I now have these lines in ~/.gitconfig: [color "status"] n untracked = cyan n changed = green n

          – Superole
          Nov 2 '12 at 12:14




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f496282%2fhow-to-change-git-stash-pop-colors%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

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀