Update example and description of git:single_branch (#74796)

This commit is contained in:
Daniel Chabrowski 2021-05-26 15:27:18 +02:00 committed by GitHub
parent ef0055a806
commit b63512774b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ options:
single_branch:
description:
- Clone only the history leading to the tip of the specified I(branch).
- Clone only the history leading to the tip of the specified revision.
type: bool
default: 'no'
version_added: '2.11'
@ -268,8 +268,10 @@ EXAMPLES = '''
- name: Example clone of a single branch
ansible.builtin.git:
repo: https://github.com/ansible/ansible-examples.git
dest: /src/ansible-examples
single_branch: yes
branch: master
version: master
- name: Avoid hanging when http(s) password is missing
ansible.builtin.git: