> On Apr 14, 2015, at 2:53 PM, Gaurav Aradhye <gaurav.arad...@clogeny.com> 
> wrote:
> 
> Need to some advice from established committers :-)
> 
> How do you merge the pull request? Through button on github? Or applying 
> patch locally and then committing it?
> Where to add “This closes ###” comment exactly?
> 
> Please help me out with steps!
> 
> Regards,
> Gaurav Aradhye
> 

personally I do this:

wget  https://github.com/apache/cloudstack/pull/166.patch
review patch manually
git apply —check….

then

git am -s < 166.patch

git rebase -i (to squash if needed and edit commit message…)

git commit —amend allows you to edit the commit message, that’s where you add 
the “This closes #xyz” , remember to leave the original message…

git push

if applicable, make sure to cherry-pick to all branches concerned.


Reply via email to