if I do this I get

- patch1
-- patch 2 (depends on patch1)

in gerrit. What I need is, to make 2 patches that are completely unrelated

On Wed, Nov 20, 2013 at 2:50 PM, Petr Bena <[email protected]> wrote:
> petanb@srv:~/puppet/modules/toollabs/manifests$ git checkout production
> Already on 'production'
> Your branch is ahead of 'origin/production' by 2 commits.
>
> this keep my change depending on previous commit ^ and FAIL again
>
> On Wed, Nov 20, 2013 at 2:19 PM, Nikolas Everett <[email protected]> 
> wrote:
>> Normally:
>>
>> * clone a repo
>> * setup git & hooks
>>
>> # patch 1:
>>
>> * git checkout -b some_branch_name
>> * apply my changes
>> * git commit -a
>> * git review
>>
>> # patch 2:
>>
>> * git checkout production (or master on non-puppet repositories)
>> * git pull
>> * git checkout -b some_other_branch_name
>> * apply my changes
>> * git commit -a
>> * git review
>>
>>
>>
>> Nik
>>
>>
>>
>>
>> On Wed, Nov 20, 2013 at 8:13 AM, Petr Bena <[email protected]> wrote:
>>
>>> Currently I do:
>>>
>>> * clone a repo
>>> * setup git & hooks
>>>
>>> # patch 1:
>>>
>>> * apply my changes
>>> * commit
>>> * execute git-review
>>>
>>> # patch 2:
>>>
>>> * apply my changes
>>> * commit
>>>
>>> FAIL - the new commit it depending on previous commit - I can't push
>>>
>>> What am I supposed to do in order to push multiple separate patches?
>>>
>>> GIT-IDIOT way please, no long explanations, just commands and examples.
>>> Thanks
>>>
>>> _______________________________________________
>>> Wikitech-l mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to