+1 to the rename suggestion. I did the renaming but I am experimenting on
the git rebase command and the usefulness of it instead of using merging.
What I did was rebase the hotfix-ip-address branch to develop. Then rebase
the hotfix-ip-address branch to master as well.

Apparently the above approach has couple of pitfalls. It's never
recommended to rebase code on something that's already pushed to remote
repositories [1]. (The above commit I did is harmless because there were no
commits that happened between my commit). Guys there is an extension made
called git flow that can be installed on to git to manage git flow easily
[2]. Another note to make is prefixing happens with / not - (eg:-
hotfix/ip-address).

[1] - http://jeffkreeftmeijer.com/2010/the-magical-and-not-harmful-rebase/
[2] - https://github.com/nvie/gitflow/tree/0.2


On Fri, Mar 28, 2014 at 9:19 AM, Niranjan Karunanandham
<[email protected]>wrote:

> Instead of having the branch as ip-address-fix, name it hotfix-ip-address
> so that when looking at the branches it can be quickly identified as a fix
> branch..
>  On 28 Mar 2014 09:15, "Chan" <[email protected]> wrote:
>
>> +1 I was doing that. I have created a branch called develop and a branch
>> called ip-address-fix. The ip-addess-fix will be merged to the develop
>> branch and master branch after finishing. Then I'll push a tag to master on
>> the 1.0.0 release as well. (All pushing will happen to dev remote).
>>
>> Cheers~
>>
>>
>> On Fri, Mar 28, 2014 at 9:07 AM, Niranjan Karunanandham <
>> [email protected]> wrote:
>>
>>> Do not directly commit it to the develop.. get a tag from the master and
>>> put your fix (hotfix) and then merge it into master and develop.. the
>>> reason is that the ip related changes is a fix you did after the release.
>>>  On 28 Mar 2014 08:44, "Chan" <[email protected]> wrote:
>>>
>>>> Hi folks,
>>>> I am starting work on the product-emm (new fork at dev repo). For
>>>> reference I made 3 remotes for my local repo -
>>>>
>>>> official - WSO2 Organization Repo
>>>> dev - WSO2 Dev repo
>>>> own - WSO2 Fork
>>>>
>>>> I'll be committing of the ip related changes to dev.
>>>>
>>>> Cheers~
>>>>
>>>> --
>>>> Chan (Dulitha Wijewantha)
>>>> Software Engineer - Mobile Development
>>>> WSO2Mobile
>>>> Lean.Enterprise.Mobileware
>>>>  * ~Email       [email protected] <[email protected]>*
>>>> *  ~Mobile     +94712112165 <%2B94712112165>*
>>>> *  ~Website   dulitha.me <http://dulitha.me>*
>>>>  *  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
>>>>   *~SO     @chan <http://stackoverflow.com/users/813471/chan>*
>>>>
>>>
>>
>>
>> --
>> Chan (Dulitha Wijewantha)
>> Software Engineer - Mobile Development
>> WSO2Mobile
>> Lean.Enterprise.Mobileware
>>  * ~Email       [email protected] <[email protected]>*
>> *  ~Mobile     +94712112165 <%2B94712112165>*
>> *  ~Website   dulitha.me <http://dulitha.me>*
>> *  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
>>   *~SO     @chan <http://stackoverflow.com/users/813471/chan>*
>>
>


-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email       [email protected] <[email protected]>*
*  ~Mobile     +94712112165*
*  ~Website   dulitha.me <http://dulitha.me>*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
  *~SO     @chan <http://stackoverflow.com/users/813471/chan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to