$ git clone -n https://gitee.com/src-opencloudos-rpms/setserial.git /var/lib/mock/dist-oc9-build-71997-47624/root/chroot_tmpdir/scmroot/setserial Cloning into '/var/lib/mock/dist-oc9-build-71997-47624/root/chroot_tmpdir/scmroot/setserial'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/setserial * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b43209 import setserial-2.17-4.tl4