$ git clone -n https://gitee.com/gcdota930915/setools.git /var/lib/mock/dist-an23.3-build-417489-72868/root/chroot_tmpdir/scmroot/setools Cloning into '/var/lib/mock/dist-an23.3-build-417489-72868/root/chroot_tmpdir/scmroot/setools'... $ git fetch origin 7f17785388fa7b7c24498a8a3f91079557500849:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/setools * [new ref] 7f17785388fa7b7c24498a8a3f91079557500849 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f17785 Refer to CentOS Stream setools-4.5.1-4