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 and pull[bot] committed May 25, 2022
1 parent 45e7537 commit 3121784
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 3121784

Please sign in to comment.