$ git clone -n https://gitee.com/src-anolis-os/sssd.git /var/lib/mock/dist-an23-build-python3.11-378124-71790/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-an23-build-python3.11-378124-71790/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin 40e10b6c28c7291f4ccfa6fccaa0216c2e518709:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/sssd * [new ref] 40e10b6c28c7291f4ccfa6fccaa0216c2e518709 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40e10b6 2.8.2