Git commit convention

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

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

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

Thanks for the help.
João

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

  1. Fork the Git repository ( 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 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, describe the PR and submit it.

Also, read 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/ ) where we can help you in real time. Any PR is much appreciated!