Wiki source for GitInfo


Show raw source

=== New to GIT? ===

http://github.com/blog/120-new-to-git
http://git-scm.com/

=== pfSense Git Repository Information ===

Github: https://github.com/pfsense
Redmine: http://redmine.pfsense.org/
GitQuickStartWindows

%%
git config --global user.name username
git config --global user.email "user@domain.com"
%%

=== Bash prompt customization ===
Prompt will look like: username:pfSense (RELENG_1_2) $$
%%
export PS1='\u:\W `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\[\033[37m\]$\[\033[00m\]\$ '
%%
and another cool bash prompt: http://gist.github.com/31934

=== Pimping your git log ===
http://www.jukie.net/~bart/blog/pimping-out-git-log
%%git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"%%
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki