Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Sasa Ostrouska
On Thu, Jul 11, 2019 at 4:30 PM Christophe Battarel wrote: > > i answer myself, it can help others : > > in my case, i have two remotes origin (which is my fork on github) and > dolibarr (official dolibarr repo). > > in order to retrieve a branch, let's take 10.0, you have to : > > 1) git fetch

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Christophe Battarel
i answer myself, it can help others : in my case, i have two remotes origin (which is my fork on github) and dolibarr (official dolibarr repo). in order to retrieve a branch, let's take 10.0, you have to : 1) git fetch dolibarr 2) git checkout -t dolibarr/10.0 that's all ! Le 11/07/2019

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Christophe Battarel
do you have an example ? Le 11/07/2019 à 12:40, Sasa Ostrouska a écrit : On Thu, Jul 11, 2019 at 12:42 PM Christophe Battarel 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

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Sasa Ostrouska
On Thu, Jul 11, 2019 at 12:42 PM Christophe Battarel 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

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Christophe Battarel
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,

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Yves Brungard
Bonjour, J'ai ça en stock: https://help.github.com/articles/syncing-a-fork/ Amicalement Yves Le 11/07/2019 à 11:13, Christophe Battarel a écrit : hello again, a more easy question but i am struggling with it often and did not find the answer on the net : i have a local git repo based on my

Re: [Dolibarr-dev] simple git question

2019-07-11 Par sujet Jean Traullé
publickey - Description: application/pgp-key Le 11 juil. 2019 à 11:13, Christophe Battarel a écrit : hello again,a more easy question but i am struggling with it often and did not find the answer on the net :i have a local git repo based on

[Dolibarr-dev] simple git question

2019-07-11 Par sujet Christophe Battarel
hello again, a more easy question but i am struggling with it often and did not find the answer on the net : i have a local git repo based on my github fork; how can i pull new created branch (10.0 for instance) without putting the mess in my repo ? Best regards Christophe