Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
#!/bin/bash
# This file: 
# http://angg.twu.net/bin/git-defs
# http://angg.twu.net/bin/git-defs.html
#  (find-angg        "bin/git-defs")
# See: (find-angg "bin/screencast-defs")

# Usage:
#  . ~/bin/git-defs
# Used by: 
#  (find-es "git" "git-test-2")

# (find-man "1 git-log")
# (find-man "1 git-log" " --oneline")
# (find-man "1 git-log" " --graph")
# (find-man "1 git-log" "--topo-order")
# (find-man "1 git-log" "--date-order")
# (find-man "1 git-log" "--decorate")
# (find-man "1 git-log" "--all\n")

  N=0
  N () { echo $N; }
++N () { N=$[$N+1]; echo $N; }
Dump1   () { echo $1 \($(cat $1)\); }
Dumps   () { for i in $*; do Dump1 $i; done; }
Dump    () { Dumps $(find * -type f | sort); }
Modify1 () { ++N >> $1; Dump1 $1; }
Modify  () { for i in $*; do Modify1 $i; done; }
Commit  () { git commit -a -m $(N); }
Diagram () { PAGER=cat git log --oneline --graph --decorate --all; }
Diagram () { PAGER=cat git log --oneline --graph --decorate --all --date-order; }

# A hack to allow non-interactive use.
# (find-bashnode "Bourne Shell Builtins" "`eval'")
eval $1

# (find-eevsh "git-defs 'Diagram'")

# Local Variables:
# coding: raw-text-unix
# mode:   sh
# End: