$ git clone -n https://gitee.com/fundawang/gnome-shell.git /var/lib/mock/dist-an23-build-246702-63183/root/chroot_tmpdir/scmroot/gnome-shell Cloning into '/var/lib/mock/dist-an23-build-246702-63183/root/chroot_tmpdir/scmroot/gnome-shell'... $ git reset --hard 5d94d0f4cd6fd704c9fb42c3af9de98bb785c5d6 HEAD is now at 5d94d0f cleanup br