Re: about synchronization of remote forked master, local master & local branches
vikrant8051 <vikrant8051@...>
Hi Li, I tried your trick. But it was not fulfill my requirements. Following is my way ....... It is lengthy but works !! (PART-A) // This is to sync forked local master (repo on PC/Laptop) with Zephyr Master cd /home/user_name/ git clone https://github.com/developer_user_name/zephyr.git cd zephyr git remote add upstream https://github.com/zephyrproject-rtos/zephyr.git git fetch upstream git pull upstream master // This is to sync GitHub forked master with Zephyr master git push -f origin master --------------------------------------------------------------------------------------------------------------------------------- (PART-B) // This is to sync local branch with master 1) cd /home/user_name/Desktop git clone -b fix_branch https://github.com/developer_user_name/zephyr.git cd zephyr git checkout master git pull git checkout - git rebase master --------------------------------------------------------------------------------------------------------------------------------- OR 2) (After following PART-A instructions) cd /home/user_name/zephyr git pull --all git checkout fix_branch git rebase master I'm looking for even better sequence of instructions than this. Thank You !!
On Thu, Aug 16, 2018 at 10:09 PM, Li, Jun R <jun.r.li@...> wrote:
|
|