$ git clone -n https://gitee.com/opencloudos-stream/samba.git /var/lib/mock/dist-ocs23-rebuild-test-2-build-246303-23872/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-ocs23-rebuild-test-2-build-246303-23872/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/samba * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e9a1345 Rebuilt for loongarch release