$ git clone -n https://gitee.com/src-opencloudos-rpms/sudo.git /var/lib/mock/dist-oc8-build-67544-46223/root/chroot_tmpdir/scmroot/sudo Cloning into '/var/lib/mock/dist-oc8-build-67544-46223/root/chroot_tmpdir/scmroot/sudo'... $ git fetch origin 6737835e0310190e8386ec9fed327e342dd51c73:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sudo * [new ref] 6737835e0310190e8386ec9fed327e342dd51c73 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6737835 import sudo-1.9.5p2-1.tl3