$ git clone -n https://gitee.com/src-opencloudos-rpms/opensc /var/lib/mock/dist-oc8-build-58054-15875/root/chroot_tmpdir/scmroot/opensc Cloning into '/var/lib/mock/dist-oc8-build-58054-15875/root/chroot_tmpdir/scmroot/opensc'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/opensc * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15c3d24 import opensc-0.20.0-7.tl3