bash script to pull in branch B the changes from parent branch A

2017-11-21 Thread Laetitia Pfaender
Hi, I have a bash script to pull in branch B the changes from parent branch A that does the following: cd repo-in-branchB git branch --set-upstream-to=origin/branchB git pull git branch --set-upstream-to=origin/branchA git pull git branch --set-upstream-to=origin/branchB It does exactly what I

Re: bash script to pull in branch B the changes from parent branch A

2017-11-21 Thread Paul Smith
On Wed, 2017-11-22 at 00:19 +0800, Laetitia Pfaender wrote: > cd repo-in-branchB > git branch --set-upstream-to=origin/branchB > git pull > > git branch --set-upstream-to=origin/branchA > git pull > git branch --set- > upstream-to=origin/branchB > > It does exactly what I want but, as I have > ma