$ git clone -n https://gitee.com/src-anolis-os/rubygem-pg /var/lib/mock/module-ruby-2.5-8090020231219103816-31c5aa00-build-340130-69822/root/chroot_tmpdir/scmroot/rubygem-pg Cloning into '/var/lib/mock/module-ruby-2.5-8090020231219103816-31c5aa00-build-340130-69822/root/chroot_tmpdir/scmroot/rubygem-pg'... $ git fetch origin 2825b6f088f2d5db14e707c56a377d105c4a924e:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rubygem-pg * [new ref] 2825b6f088f2d5db14e707c56a377d105c4a924e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2825b6f remove needless patch