[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dolibarr-dev] simple git question
From: |
Sasa Ostrouska |
Subject: |
Re: [Dolibarr-dev] simple git question |
Date: |
Thu, 11 Jul 2019 12:40:16 +0200 |
On Thu, Jul 11, 2019 at 12:42 PM Christophe Battarel
<address@hidden> wrote:
>
> i should be more accurate :
>
> 1) i have a fork on github based on dolibarr github repo
>
> 2) i have a local repo linked with my fork
>
> 3) i often do git pull from dolibarr (not my fork) github repo to get latest
> code, then i push on my github fork
>
> 4) this way i can make commit on my local repo, push on my github fork, and
> make PR on dolibarr official repo.
>
>
> My question is : when a new branch is created on dolibarr official repo
> (latest was 10.0), how do i get it in my local and my fork repos ?
>
"git fetch " should do the job for everything. Then you have to use
"git merge" to merge what you need and where you need it.
man git fetch
Rgds
Saxa
> i guess other dolibarr contributors should face the same "problem" (for me)...
>
>
> Thanks
>
> Christophe
>
>