From def22a9cf0e97ece3f40fdfec5f8b2a4da674484 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Wed, 25 Jul 2012 17:18:31 -0400 Subject: [PATCH 1/2] Remove branch arg from git docs. The "branch" arg doesn't work, users should use "version" instead for specifying branches. --- rst/modules.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rst/modules.rst b/rst/modules.rst index ba4059a858..d796172c30 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -302,11 +302,7 @@ Deploys software (or files) from git checkouts. *version*: * What version to check out -- either the git SHA, the literal string - ``HEAD``, or a tag name. - -*branch*: - -* (new in 0.4) Which branch name to checkout. Defaults to 'master'. + ``HEAD``, branch name, or a tag name. Example action from Ansible :doc:`playbooks`:: From 769ea7aefccf6e29a28e242f750eeb5f8d4516e1 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Thu, 26 Jul 2012 08:53:05 -0400 Subject: [PATCH 2/2] Document the 'remote' argument for the git module. --- rst/modules.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rst/modules.rst b/rst/modules.rst index d796172c30..09c7d87bfa 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -304,6 +304,10 @@ Deploys software (or files) from git checkouts. * What version to check out -- either the git SHA, the literal string ``HEAD``, branch name, or a tag name. +*remote*: + +* Name of the remote branch, defaults to 'origin'. + Example action from Ansible :doc:`playbooks`:: git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22