$ git clone -n https://gitee.com/src-opencloudos-rpms/sudo.git /var/lib/mock/dist-oc8-build-38533-12507/root/chroot_tmpdir/scmroot/sudo Cloning into '/var/lib/mock/dist-oc8-build-38533-12507/root/chroot_tmpdir/scmroot/sudo'... $ git reset --hard origin/oc8 HEAD is now at cc062a7 import sudo-1.8.29-10.tl3