$ git clone -n https://gitee.com/src-opencloudos-rpms/qrupdate.git /var/lib/mock/dist-oc9-epol-build-54331-14768/root/chroot_tmpdir/scmroot/qrupdate Cloning into '/var/lib/mock/dist-oc9-epol-build-54331-14768/root/chroot_tmpdir/scmroot/qrupdate'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/qrupdate * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 67b8615 import qrupdate-1.1.2-2.tl4