$ git clone -n https://gitee.com/src-opencloudos-rpms/nss.git /var/lib/mock/dist-oc8-build-100867-65157/root/chroot_tmpdir/scmroot/nss Cloning into '/var/lib/mock/dist-oc8-build-100867-65157/root/chroot_tmpdir/scmroot/nss'... $ git fetch origin ba0031e45ebddf7d600b2222666c5b4b5f36767f:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nss * [new ref] ba0031e45ebddf7d600b2222666c5b4b5f36767f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba0031e import nss-3.101.0-7.tl3