$ git clone -n https://gitee.com/opencloudos-stream/libscrypt.git /var/lib/mock/dist-oc9-epol-build-82726-57142/root/chroot_tmpdir/scmroot/libscrypt Cloning into '/var/lib/mock/dist-oc9-epol-build-82726-57142/root/chroot_tmpdir/scmroot/libscrypt'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libscrypt * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9617562 package init