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