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