diff --git a/sync-from-upstream b/sync-from-upstream new file mode 100755 index 0000000..059b889 --- /dev/null +++ b/sync-from-upstream @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Fetching from upstream" +git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream +echo "Formatting patch and applying..." +git format-patch --stdout -1 FETCH_HEAD | sed -e 's|centos/|rocky/|' | git apply +echo "!! DIFF OF CHANGES !!" +git --no-pager diff HEAD + +echo "You may now commit and push."