$ git clone -n https://gitee.com/src-opencloudos-rpms/nss /var/lib/mock/dist-oc8-build-57147-15341/root/chroot_tmpdir/scmroot/nss Cloning into '/var/lib/mock/dist-oc8-build-57147-15341/root/chroot_tmpdir/scmroot/nss'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nss * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cabedc9 import nss-3.90.0-3.tl3