- Preparing search index...
- The search index is not available
git-essentials
Sign
Callback
: ((args
: SignCallbackParams) => { Â Â Â Â signature
: string; } | Promise<{ Â Â Â Â signature
: string; }>)
Type declaration
-
- (args: SignCallbackParams): {
    signature: string;
} | Promise<{
    signature: string;
}>
-
Returns {
    signature: string;
} | Promise<{
    signature: string;
}>
In order to use the PGP signing feature of commit, you have to provide a PGP signing callback like so:
Returns
An 'ASCII armor' encoded "detached" signature.