Re: about synchronization of remote forked master, local master & local branches


Li, Jun R
 

Let’s say the PR’s number is $PR, run the follow commands:

 

  1. git pull origin master
  2. git fetch origin +refs/pull/$PR/merge
  3. git checkout FETCH_HEAD -b my_branch_with_fix

 

 

 

From: <devel@...> on behalf of vikrant8051 <vikrant8051@...>
Date: Thursday, August 16, 2018 at 05:43
To: "devel@..." <devel@...>, "users@..." <users@...>
Subject: [Zephyr-devel] about synchronization of remote forked master, local master & local branches

 

Hi,

 

Assume a person create one PR (to solve already present issues) & it take some time to get approval from reviewers.

 

Meanwhile Zephyr master get upgrad as usual.

 

Then how to properly sync

 

1) forked Zephyr master branch on GitHub

2) local master branch

3) local branch (which is actually responsible to fix issues)

 

periodically without disturbing own commits architecture?

 

Thank You !!

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.