$ git clone -n https://gitee.com/src-opencloudos-rpms/sat4j.git /var/lib/mock/dist-oc9-build-71965-47618/root/chroot_tmpdir/scmroot/sat4j Cloning into '/var/lib/mock/dist-oc9-build-71965-47618/root/chroot_tmpdir/scmroot/sat4j'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sat4j * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0f4c476 import sat4j-2.3.5-4.tl4