Welcome to zerokspot.com, the personal website of Horst Gutmann.

Archive for trick

  • Git branches and PS1

    With the release of Mercurial 1.1 yesterday and me more and more getting into it again I complained on IRC that as much as I love git's named branches, they make it kind of easy to just do something to the wrong branch. If you have a branch per folder it's kind of more obvious in what branch you're operating all the time, in my opinion.

    But there is a simple solution for this: Martin today posted a quick guide on how to get the current branch name into your shell's $PS1.

    Read more about "Git branches and PS1" ...

    2008/12/04 at 16:20:45

    comments

See all tags used for weblog posts