# Support for "git config" and "git remote" wanted?

**URL:** <https://forum.ansible.com/t/support-for-git-config-and-git-remote-wanted/19030>\
**Category:** Ansible Developer\
**Created:** [August 15, 2015, 4:58pm UTC](https://forum.ansible.com/t/support-for-git-config-and-git-remote-wanted/19030 "2015-08-15T16:58:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michas](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@michas](https://forum.ansible.com/u/michas)\
**Post date:** [August 15, 2015, 4:58pm UTC](https://forum.ansible.com/t/support-for-git-config-and-git-remote-wanted/19030/1 "2015-08-15T16:58:44Z")

</div>

I use Ansible to ‘prepare’ many developer-workstations which includes cloning several git-repositories from different origin (github, bitbucket, partner- and inhouse-repositories,…) and also have to set different per-repository config and remotes. The existing git module mainly deals with cloning of repositories and has little support for manipulating config and remotes. I’d like to introduce 2 small modules (git\_config and git\_remote) to handle these use-cases.

Are there any interrests to have this functionality inside the ‘offiicial’ core-module? If so, I would make a pull-request. But maybe these tasks are ‘too trivial’ for most users and I better deploy my modules locally only. So what’s your opinion?

Cheers,  
Micha

---

<div class="post-metadata">

**Author:** ![Michael\_Warkentin](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Michael\_Warkentin](https://forum.ansible.com/u/Michael_Warkentin)\
**Post date:** [August 17, 2015, 2:35pm UTC](https://forum.ansible.com/t/support-for-git-config-and-git-remote-wanted/19030/2 "2015-08-17T14:35:05Z")

</div>

One interesting use case of this for me would be configuring Heroku remotes on top of the existing Github remote. I have to remember to do that every time I do a fresh install on one of my computers.

---

<div class="post-metadata">

**Author:** ![Marius\_Gedminas](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Marius\_Gedminas](https://forum.ansible.com/u/Marius_Gedminas)\
**Post date:** [August 26, 2015, 5:23am UTC](https://forum.ansible.com/t/support-for-git-config-and-git-remote-wanted/19030/3 "2015-08-26T05:23:49Z")

</div>

I’m interested in a git\_config module. In fact I wrote one for my own use because I needed it: [https://gist.github.com/mgedmin/b38c74e2d25cb4f47908](https://gist.github.com/mgedmin/b38c74e2d25cb4f47908)

Incidentally, is there a way for a module to support --diff without writing an action plugin?

Regards,
