# Git commit convention

**URL:** <https://forum.mautic.org/t/git-commit-convention/2687>\
**Category:** Development\
**Created:** [November 3, 2015, 5:32pm UTC](https://forum.mautic.org/t/git-commit-convention/2687 "2015-11-03T17:32:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [November 3, 2015, 5:32pm UTC](https://forum.mautic.org/t/git-commit-convention/2687/1 "2015-11-03T17:32:03Z")

</div>

Hi guys,  
  
  
  
I’m currently working on a couple of features/fixes that I find useful for Mautic. I would like to contribute these back to the community but I cannot find anywhere a guide on how to fork/commit/branch from the mautic code base. I am new to git so may be there are some well known git conventions that somebody can point me to please?  
  
  
  
Thanks,  
  
  
  
Linh

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [November 3, 2015, 5:32pm UTC](https://forum.mautic.org/t/git-commit-convention/2687/2 "2015-11-03T17:32:03Z")

</div>

Hi guys,

I’m currently working on a couple of features/fixes that I find useful for Mautic. I would like to contribute these back to the community but I cannot find anywhere a guide on how to fork/commit/branch from the mautic code base. I am new to git so may be there are some well known git conventions that somebody can point me to please?

Thanks,

Linh

---

<div class="post-metadata">

**Author:** ![ThinkBigger](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@ThinkBigger](https://forum.mautic.org/u/ThinkBigger)\
**Post date:** [November 3, 2015, 9:57pm UTC](https://forum.mautic.org/t/git-commit-convention/2687/3 "2015-11-03T21:57:51Z")

</div>

Hi,  
I have also the same problem. The instructions on [https://github.com/mautic/mautic#how-to-test-a-pull-request](https://github.com/mautic/mautic#how-to-test-a-pull-request) don’t work for me.

Thanks for the help.  
João

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 4, 2015, 10:43am UTC](https://forum.mautic.org/t/git-commit-convention/2687/4 "2015-11-04T10:43:03Z")

</div>

@vln104 that’s great news. Here’s how I do it:

1. Fork the Git repository ( [https://github.com/mautic/mautic](https://github.com/mautic/mautic) ) so you have your own fork.
2. Use the commands described in [https://github.com/mautic/mautic#how-to-test-a-pull-request](https://github.com/mautic/mautic#how-to-test-a-pull-request) to run the local version of Mautic but use your fork as URL for git clone command.
3. For every new feature/bug fix create a new git branch from origin branch.
4. Do the coding stuff.
5. Add, commit, push to your fork.
6. Click the “New Pull Request” button at [https://github.com/mautic/mautic/pulls](https://github.com/mautic/mautic/pulls), describe the PR and submit it.

Also, read [https://github.com/mautic/mautic/blob/staging/CONTRIBUTING.md](https://github.com/mautic/mautic/blob/staging/CONTRIBUTING.md)

Hope it helps. If you’ll have some additional questions, join us on Slack chat ( [https://www.mautic.org/slack/](https://www.mautic.org/slack/) ) where we can help you in real time. Any PR is much appreciated!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/git-commit-convention/2687/5 "2020-02-02T22:57:27Z")

</div>


