$ git clone -n https://gitee.com/opencloudos-stream/ntpsec.git /var/lib/mock/dist-ocs23-rebuild-test-0-build-264150-25333/root/chroot_tmpdir/scmroot/ntpsec Cloning into '/var/lib/mock/dist-ocs23-rebuild-test-0-build-264150-25333/root/chroot_tmpdir/scmroot/ntpsec'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ntpsec * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6aec448 update