$ git clone -n https://gitee.com/gcdota930915/giflib.git /var/lib/mock/dist-an8.7-build-177981-59111/root/chroot_tmpdir/scmroot/giflib Cloning into '/var/lib/mock/dist-an8.7-build-177981-59111/root/chroot_tmpdir/scmroot/giflib'... $ git reset --hard origin/a8-poc HEAD is now at 04ab05b update to giflib-5.2.1-9.el9.src.rpm