Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Are those spaces literally there ? Before the git commands Commented May 8, 2016 at 23:37
  • Yes, I tried to push on its own (git push) and got an error message, suggesting that I do git push --set-upstream origin master. The message (from git) was indented like that (I may have the exact number of spaces wrong because the history pushed the message out of the terminal window). I copied the entire line, so some leading spaces are there. Commented May 8, 2016 at 23:41
  • Thanks! When I searched, and also started typing the question, I did not see that particular thread. Thanks for pointing me to it. Commented May 8, 2016 at 23:43
  • Np. Easy to miss if you do not know the cause :) Gl Commented May 8, 2016 at 23:45
  • 2
    To change this behavior, check the manpage and look for HISTCONTROL. For exmaple, export HISTCONTROL="" in .bashrc would do the trick. Commented Aug 7, 2018 at 0:14