cg-commit(1)
NAME
- cg-commit - commit changes in the working tree to the
- repository
SYNOPSIS
- cg-commit [-m MESSAGE]... [-e] [-c COMMIT_ID] [OTHER_OP
- TIONS] [FILE]... [< MESSAGE].sp
DESCRIPTION
Arraythored the commit, but it is considered a good practice to change
this to the actual author of the change if you are merely applying someone else's patch. It is always recorded that you were the
patch committer..sp The commit author is determined by examining
various sources in this order:.sp
· --author (see OPTIONS)
· GIT_AUTHOR_* (see ENVIRONMENT)
Arraybatim. The author email defaults to your
username@hostname.domainname (but you should change this to the
real email address you use if it is any different).
OPTIONS
- Arraywith by passing: --signoff="Author Name <user@example.com>".
-h, --help - Print usage summary.
- --long-help
- Print user manual. The same as found in cg-commit(1).
FILES
Arrayments. The first argument is the commit ID and the second is the
branchname. A sample commit-post script might look like:
#!/bin/sh
id=$1
branch=$2
echo "Committed $id in $branch" | mail user@host
ENVIRONMENT VARIABLES
- Arrayit (to ensure the commit gets the same ID as another or when migrating history around).
EDITOR - The editor used for entering revision log information.
CONFIGURATION VARIABLES
Array(the earliest first). Otherwise, the hook will be called only for
the merge commit.
COPYRIGHT
Copyright © Petr Baudis, 2005.sp
SEE ALSO
- Array12/05/2006