$ git clone -n https://gitee.com/src-opencloudos-rpms/gdm /var/lib/mock/dist-oc8-build-27748-8562/root/chroot_tmpdir/scmroot/gdm Cloning into '/var/lib/mock/dist-oc8-build-27748-8562/root/chroot_tmpdir/scmroot/gdm'... $ git reset --hard origin/oc8 HEAD is now at 7cf39f9 import gdm-40.0-24.tl3