$ git clone -n https://gitee.com/src-opencloudos-rpms/pysnmp.git /var/lib/mock/dist-oc9-build-122015-71871/root/chroot_tmpdir/scmroot/pysnmp Cloning into '/var/lib/mock/dist-oc9-build-122015-71871/root/chroot_tmpdir/scmroot/pysnmp'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pysnmp * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 79a8e48 import pysnmp-4.4.12-6.tl4