$ git clone -n https://gitee.com/SmallPegasus/iproute.git /var/lib/mock/dist-an23.1-devel-build-365497-71289/root/chroot_tmpdir/scmroot/iproute Cloning into '/var/lib/mock/dist-an23.1-devel-build-365497-71289/root/chroot_tmpdir/scmroot/iproute'... $ git reset --hard 4d4c9d1cb7a7ced55b034de3506f47b2c6f532fe HEAD is now at 4d4c9d1 update iproute.spec.