$ git clone -n https://gitee.com/src-opencloudos-rpms/bzip2.git /var/lib/mock/dist-oc9-build-45866-14592/root/chroot_tmpdir/scmroot/bzip2 Cloning into '/var/lib/mock/dist-oc9-build-45866-14592/root/chroot_tmpdir/scmroot/bzip2'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/bzip2 * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 947a98c import bzip2-1.0.8-3.tl4