diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2015-01-07 19:23:23 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-07 19:56:44 -0800 |
commit | d0e8e09cd8828b278a56d4ebfc52d662ff8038d8 (patch) | |
tree | 4e0a64281575a14d7c46184d061a32d2ed28105d /Documentation/git-push.txt | |
parent | 4ff17f10c4297ab3d9948d4216016ca367e737e3 (diff) | |
download | git-d0e8e09cd8828b278a56d4ebfc52d662ff8038d8.tar.gz |
push.c: add an --atomic argument
Add a command line argument to the git push command to request atomic
pushes.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-push.txt')
-rw-r--r-- | Documentation/git-push.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index 21b3f29c3b..4764fcfa75 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -9,7 +9,7 @@ git-push - Update remote refs along with associated objects SYNOPSIS -------- [verse] -'git push' [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>] +'git push' [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream] [--signed] [--force-with-lease[=<refname>[:<expect>]]] @@ -136,6 +136,11 @@ already exists on the remote side. logged. See linkgit:git-receive-pack[1] for the details on the receiving end. +--[no-]atomic:: + Use an atomic transaction on the remote side if available. + Either all refs are updated, or on error, no refs are updated. + If the server does not support atomic pushes the push will fail. + --receive-pack=<git-receive-pack>:: --exec=<git-receive-pack>:: Path to the 'git-receive-pack' program on the remote |