$ git clone -n https://gitee.com/src-opencloudos-rpms/cups /var/lib/mock/dist-oc8-build-56982-15199/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-oc8-build-56982-15199/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/cups * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce1f150 import cups-2.2.6-51.tl3.1