$ git clone -n https://gitee.com/gcdota930915/samba.git /var/lib/mock/dist-an23.3-build-415509-72844/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23.3-build-415509-72844/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin a2040b2762932e779e74f34892b941f39097da70:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/samba * [new ref] a2040b2762932e779e74f34892b941f39097da70 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a2040b2 Refer to CentOS Stream samba-4.21.3-101