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