$ git clone -n https://gitee.com/gcdota930915/gnome-shell.git /var/lib/mock/dist-an8.7-build-173487-59014/root/chroot_tmpdir/scmroot/gnome-shell Cloning into '/var/lib/mock/dist-an8.7-build-173487-59014/root/chroot_tmpdir/scmroot/gnome-shell'... $ git reset --hard origin/a8 HEAD is now at 0e320b2 fix