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