$ git clone -n https://gitee.com/mgb01105731/velocity_1.git /var/lib/mock/dist-an23-build-327134-69055/root/chroot_tmpdir/scmroot/velocity_1 Cloning into '/var/lib/mock/dist-an23-build-327134-69055/root/chroot_tmpdir/scmroot/velocity_1'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/velocity_1 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b8ea864 update to version 2.3