Make the git wrapper a little bit more newbie friendly, when called on its own or with the -h flag will return a list of the commands available --- commit 2ad499f75f0982953e43904085bd1b48dd821c4d tree f137c4f3f5ee027b8b4d25a0434929e12eb7c51c parent de4971b50076b5ef901c2ae0bbee9dd2c14f06ea parent de4971b50076b5ef901c2ae0bbee9dd2c14f06ea author James Purser Wed, 15 Jun 2005 07:43:20 committer James Purser Wed, 15 Jun 2005 07:43:20 git | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 55 insertions(+), 3 deletions(-) diff --git a/git b/git --- a/git +++ b/git @@ -1,4 +1,56 @@ #!/bin/sh -cmd="git-$1-script" -shift -exec $cmd "$@" + +case "$1" in +-h|"") + echo "Useage: git [, ...]" + echo "Available commands are: + +git apply-patch + + Applies patch file to local files + +git commit ... + + Commits local changes to the cache. Before running this script you will need to run git-update-cache on the files you wish to commit. + + Will accept wildcards ie git commit git-*-scripts + +git cvsimport [-v] [-z fuzz] + + CVS to Git import tool. Relies on the cvsps package at least 2.1 + + -v Verbose output + -z + Path to CVS Repository + Module you want to import into git + +git deltafy: + +git diff [, , ...] + + Diffs between the git cache and specified files. If no files are specified then creates a Diff between contents of the cache and all current files. + +git fetch: + +git log: + +git merge-one-file: + +git prune: + +git pull: + +git status: + +git tag: +" + exit 0 ;; +esac + +cmd="git-$1-script"; +shift; +exec $cmd "$@"; +git -h +exit 1 + +