1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-31 06:17:56 +01:00

Documentation/git-push.txt: document when --signed may fail

Like --atomic, --signed will fail if the server does not advertise the
necessary capability. In addition, it requires gpg on the client side.

Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Dave Borowitz 2015-08-19 11:26:39 -04:00 committed by Junio C Hamano
parent d830d395a1
commit f9e0952d1f

View file

@ -137,7 +137,9 @@ already exists on the remote side.
GPG-sign the push request to update refs on the receiving
side, to allow it to be checked by the hooks and/or be
logged. See linkgit:git-receive-pack[1] for the details
on the receiving end.
on the receiving end. If the attempt to sign with `gpg` fails,
or if the server does not support signed pushes, the push will
fail.
--[no-]atomic::
Use an atomic transaction on the remote side if available.