# Can I maintain my cookbooks in Perforce instead of git?

**URL:** <https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750>\
**Category:** Chef Infra (archive)\
**Created:** [June 21, 2016, 6:53pm UTC](https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750 "2016-06-21T18:53:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Anil](https://discourse.chef.io/u/Anil)\
**Post date:** [June 21, 2016, 6:53pm UTC](https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750/1 "2016-06-21T18:53:30Z")

</div>

Our application configurations and System configurations are maintained in Perforce. I would like to maintain the cookbooks [versioned and maintained] in Perforce as well. I couldn’t find any documentation mentioning this is doable. Has anyone tried using other repositories instead on git?

My workstation has chef-repo created using ‘knife generate app chef-repo’

Any suggestions thoughts will be greatly appreciated!

Thanks  
Anil

---

<div class="post-metadata">

**Author:** ![mkeisler](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/mkeisler/32/1203_2.png) [@mkeisler](https://discourse.chef.io/u/mkeisler)\
**Post date:** [June 21, 2016, 8:06pm UTC](https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750/2 "2016-06-21T20:06:52Z")

</div>

If you like perforce, use perforce. Heck, you can use SCCS if you really want to.

---

<div class="post-metadata">

**Author:** ![Anil](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Anil](https://discourse.chef.io/u/Anil)\
**Post date:** [June 21, 2016, 8:17pm UTC](https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750/3 "2016-06-21T20:17:37Z")

</div>

its not about what I like [I wish it could matter], its our organization who wants to stick to Perforce.

do you have any thoughts on how to configure that?

---

<div class="post-metadata">

**Author:** ![mkeisler](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/mkeisler/32/1203_2.png) [@mkeisler](https://discourse.chef.io/u/mkeisler)\
**Post date:** [June 21, 2016, 8:23pm UTC](https://discourse.chef.io/t/can-i-maintain-my-cookbooks-in-perforce-instead-of-git/8750/4 "2016-06-21T20:23:31Z")

</div>

I don’t use perforce, so no. After you generate the empty cookbook, just remove the .git directory, then do whatever magic is done to turn it into a perforce thingy.
