$ git clone -n https://gitee.com/src-opencloudos-rpms/gnome-session.git /var/lib/mock/dist-oc8-build-38772-12693/root/chroot_tmpdir/scmroot/gnome-session Cloning into '/var/lib/mock/dist-oc8-build-38772-12693/root/chroot_tmpdir/scmroot/gnome-session'... $ git reset --hard origin/oc8 HEAD is now at 20119ae import gnome-session-3.28.1-20.tl3