$ git clone -n https://gitee.com/mgb01105731/qoder.git /var/lib/mock/dist-an23-build-501234-74764/root/chroot_tmpdir/scmroot/qoder Cloning into '/var/lib/mock/dist-an23-build-501234-74764/root/chroot_tmpdir/scmroot/qoder'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/qoder * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 487721a init