Skip to content

Commit

Permalink
fix restyle_merge.sh not work issue (#12262)
Browse files Browse the repository at this point in the history
  • Loading branch information
xylophone21 authored Nov 25, 2021
1 parent d4f842e commit 3bc7f2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/helpers/restyle_merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
# limitations under the License.
#
set -x
env

branch_name=$(git branch | grep "^*" | awk '{print $2}')

git remote add upstream https://github.com/project-chip/connectedhomeip.git
git fetch upstream pull/"$1"/head
git fetch upstream restyled/"$branch_name"
git merge --ff-only FETCH_HEAD
git push

0 comments on commit 3bc7f2e

Please sign in to comment.