$ git clone -n https://gitee.com/src-opencloudos-rpms/anaconda.git /var/lib/mock/dist-oc9-build-40560-14589/root/chroot_tmpdir/scmroot/anaconda Cloning into '/var/lib/mock/dist-oc9-build-40560-14589/root/chroot_tmpdir/scmroot/anaconda'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/anaconda * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f1bfe1 import anaconda-38.4-12.ocs23