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