[Debian Wiki] Update of "BOINC/Development/GitUsage" by SteffenMoeller
Debian Wiki
debian-www at lists.debian.org
Fri Jan 30 16:39:43 UTC 2009
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The following page has been changed by SteffenMoeller:
http://wiki.debian.org/BOINC/Development/GitUsage
The comment on the change is:
Misc section
------------------------------------------------------------------------------
}}}
This creates a new remote branch {{{git-svn/upstream/trunk}}} which contains BOINC's complete trunk.
+ == Misc ==
+
+ It is at times confusing with all those many branches. To show that info directly on the shell, consider to add the following to the .profile or .bashrc (found at http://techblog.floorplanner.com/2008/12/14/working-with-git-branches/):
+ {{{
+ parse_git_branch() {
+ git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'
+ }
+
+ export PS1="\[\033[01;37m\]${debian_chroot:+($debian_chroot)}\u@\h:\w\[\033[00;35m\]$(parse_git_branch)\[\033[00m\] \$"
+ }}}
+
More information about the pkg-boinc-commits
mailing list