$ git clone -n https://gitee.com/src-opencloudos-rpms/patchutils.git /var/lib/mock/dist-oc9-build-71012-47502/root/chroot_tmpdir/scmroot/patchutils Cloning into '/var/lib/mock/dist-oc9-build-71012-47502/root/chroot_tmpdir/scmroot/patchutils'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/patchutils * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5f644f1 import patchutils-0.4.2-4.tl4