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