$ git clone -n https://gitee.com/alpha-wang/samba.git /var/lib/mock/dist-an23-build-python3.11-403570-72390/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23-build-python3.11-403570-72390/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 26d265ceaeec705df67d2a01398f53a94c7fc00e:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/samba * [new ref] 26d265ceaeec705df67d2a01398f53a94c7fc00e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26d265c update samba.spec.