$ git clone -n https://gitee.com/src-opencloudos-rpms/gdisk /var/lib/mock/dist-oc8-build-32129-9648/root/chroot_tmpdir/scmroot/gdisk Cloning into '/var/lib/mock/dist-oc8-build-32129-9648/root/chroot_tmpdir/scmroot/gdisk'... $ git reset --hard origin/oc8 HEAD is now at d84cb45 import gdisk-1.0.3-9.oc8