3 # author: Duane Johnson
4 # email: duane.johnson@gmail.com
8 # Based on discussion at http://kerneltrap.org/mailarchive/git/2007/11/12/406496
10 # mods made to save and restore terminal title by fred for feisty meow codebase.
12 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
18 # Find base of git directory
19 while [ ! -d .git ] && [ ! `pwd` = "/" ]; do cd ..; done
21 # Show various information about this git directory
23 echo "== Remote URL: `git remote -v`"
25 echo "== Remote Branches: "
29 echo "== Local Branches:"
33 echo "== Configuration (.git/config)"
37 echo "== Most Recent Commit"
38 git --no-pager log --max-count=1
41 echo "type 'git log' for more commits, or 'git show' for full commit details."
43 echo "not a git repository."
48 restore_terminal_title