$ git clone -n https://gitee.com/src-opencloudos-rpms/setup.git /var/lib/mock/dist-oc9-build-71998-47624/root/chroot_tmpdir/scmroot/setup Cloning into '/var/lib/mock/dist-oc9-build-71998-47624/root/chroot_tmpdir/scmroot/setup'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/setup * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c229b6 import setup-2.14.5-2.tl4