$ git clone -n https://gitee.com/src-opencloudos-rpms/sanlock.git /var/lib/mock/dist-oc8-build-74796-51353/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-oc8-build-74796-51353/root/chroot_tmpdir/scmroot/sanlock'... $ git fetch origin 5bcfc0db287b5a2ae4c06df043a59f06907d3755:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sanlock * [new ref] 5bcfc0db287b5a2ae4c06df043a59f06907d3755 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5bcfc0d import sanlock-3.8.4-5.tl3