# Git fetch single branch

**URL:** <https://discuss.bitrise.io/t/git-fetch-single-branch/4301>\
**Category:** Question & Answer\
**Created:** [March 1, 2018, 1:30am UTC](https://discuss.bitrise.io/t/git-fetch-single-branch/4301 "2018-03-01T01:30:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [March 1, 2018, 7:26am UTC](https://discuss.bitrise.io/t/git-fetch-single-branch/4301/2 "2018-03-01T07:26:04Z")

</div>

Hi @ctaggart,

I guess you mean build only a single branch automatically.

For that please see: [http://devcenter.bitrise.io/webhooks/trigger-map/#how-to-build-only-a-single-branch](http://devcenter.bitrise.io/webhooks/trigger-map/#how-to-build-only-a-single-branch)

In short, in the Workflow Editor you can set what should trigger a build (Trigger tab) and which workflow should be used. Simply remove the Pull Request one if you don’t want that and change the Push one from the default `*` to the one you want to build eg `master`. You can add multiple patterns too, so if you’d want to add a second one you can do that there, and you can use `*` as a wildcard, eg `feature/*` will build all branches which start with `feature/`, eg `feature/xyx`.

If you’d have any questions just let us know! 😉

---

_[View the full topic](https://discuss.bitrise.io/t/git-fetch-single-branch/4301)._
