Skip to content

Commit f9e0952

Browse files
dborowitzgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d830d39 commit f9e0952

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/git-push.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ already exists on the remote side.
137137
GPG-sign the push request to update refs on the receiving
138138
side, to allow it to be checked by the hooks and/or be
139139
logged. See linkgit:git-receive-pack[1] for the details
140-
on the receiving end.
140+
on the receiving end. If the attempt to sign with `gpg` fails,
141+
or if the server does not support signed pushes, the push will
142+
fail.
141143

142144
--[no-]atomic::
143145
Use an atomic transaction on the remote side if available.

0 commit comments

Comments
 (0)