$ git clone -n https://gitee.com/src-anolis-os/strace.git /var/lib/mock/dist-an23.2-build-418382-72829/root/chroot_tmpdir/scmroot/strace Cloning into '/var/lib/mock/dist-an23.2-build-418382-72829/root/chroot_tmpdir/scmroot/strace'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/strace * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 25aa176 Refer to CentOS Stream strace-6.12-1