Hi,

I'm not a usergrid committer so take the following as a suggestion.

On Sun, Mar 9, 2014 at 8:26 PM, Malaka Mahanama
<[email protected]> wrote:
> Dave,
>
> That doc looks good !
>
> I am currently going through the JIRA page and fixing some of the bugs.
> After a review of the fixes (on the mailing list) I am planning to commit
> to the original source so that a commiter can do the merge.
>

> *Here is what I did, on a windows machine:*
>
> Git init
>
> git clone [email protected]:usergrid/usergrid.git
>
>
> *Made the changes in my local code and planning to execute the following
> commands:*
>

It's good practice to create a specific git branch for each issue
you're fixing or feature you're implementing, so that you can work on
multiple fixes at the same time (e.g. while waiting for your first fix
to be reviewed and applied).

git checkout -b USERGRID-[bug ID]

> git add \stack\core\src\main\java\org\apache\usergrid\persistence\Query.java
>
> git commit -m "fix for bug USERGRID-[bug ID here], ICLA - Malaka Mahanama"
>

> git push origin master
>

Push your local fix/feature branch under the same name under your GitHub repo.

git push origin USERGRID-[bug ID]

When submitting your pull request in GitHub you can select your specific branch.

hth,
Lieven

>
> Please let me know if this is the correct approach.
>
> Else could you let me know the proper steps and we can add it to the above
> link so that it would benefit future contributors as well.
>
> Thanks and Regards,
> Malaka Mahanama
> Virtusa ~ Sri-Lanka
>
>
> On Sun, Mar 9, 2014 at 8:35 AM, Dave <[email protected]> wrote:
>
>> I added a page to our website that explains how to contribute code to
>> Usergrid:
>>
>>    http://usergrid.incubator.apache.org/docs/contribute-code/
>>
>> Feedback is most welcome. Do I need to add more details? Should I show
>> every command? Am I missing other important points?
>>
>> I plan to add another page that explains how to contribute documentation
>> and website changes.
>>
>> Thanks,
>> Dave
>>

Reply via email to