$ git clone -n https://gitee.com/wb-qtt862918/pigz.git /var/lib/mock/dist-an7_9-updates-build-199629-60912/root/chroot_tmpdir/scmroot/pigz Cloning into '/var/lib/mock/dist-an7_9-updates-build-199629-60912/root/chroot_tmpdir/scmroot/pigz'... $ git reset --hard d2bd63794b047fab21cf24dd8ac2313d461e88d5 HEAD is now at d2bd637 use patch from upstream directly