$ git clone -n https://gitee.com/fe_zhang/gnome-session.git /var/lib/mock/dist-an23-build-234727-62729/root/chroot_tmpdir/scmroot/gnome-session Cloning into '/var/lib/mock/dist-an23-build-234727-62729/root/chroot_tmpdir/scmroot/gnome-session'... $ git reset --hard c639e773f3ad263b7292e1deb1e5ca3b044bbe21 HEAD is now at c639e77 Init package from upstream