# Using ansible-pull with dev branch

**URL:** <https://forum.ansible.com/t/using-ansible-pull-with-dev-branch/11987>\
**Category:** Ansible Project\
**Created:** [October 16, 2012, 11:16pm UTC](https://forum.ansible.com/t/using-ansible-pull-with-dev-branch/11987 "2012-10-16T23:16:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PePe\_Amengual](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Post date:** [October 16, 2012, 11:16pm UTC](https://forum.ansible.com/t/using-ansible-pull-with-dev-branch/11987/1 "2012-10-16T23:16:45Z")

</div>

Hi.

is it possible to use ansible-pull cloning a branch in git different than master ?

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 16, 2012, 11:22pm UTC](https://forum.ansible.com/t/using-ansible-pull-with-dev-branch/11987/2 "2012-10-16T23:22:55Z")

</div>

root@localhost ansible]# ansible-pull --help  
Usage: ansible-pull [options] [playbook.yml]

Options:  
&nbsp;&nbsp;-h, --help show this help message and exit  
&nbsp;&nbsp;--purge Purge git checkout after playbook run  
&nbsp;&nbsp;-d DEST, --directory=DEST  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Directory to clone git repository to  
&nbsp;&nbsp;-U URL, --url=URL URL of git repository  
&nbsp;&nbsp;-C CHECKOUT, --checkout=CHECKOUT  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Branch/Tag/Commit to checkout. Defaults to HEAD.

---

<div class="post-metadata">

**Author:** ![PePe\_Amengual](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Post date:** [October 16, 2012, 11:27pm UTC](https://forum.ansible.com/t/using-ansible-pull-with-dev-branch/11987/3 "2012-10-16T23:27:28Z")

</div>

Ops!! I didn’t see that.

RTFM… 🙂
