$ git clone -n https://gitee.com/zhonglingh/metis.git /var/lib/mock/dist-an23-build-345664-70116/root/chroot_tmpdir/scmroot/metis Cloning into '/var/lib/mock/dist-an23-build-345664-70116/root/chroot_tmpdir/scmroot/metis'... $ git reset --hard 8aaf970bbb55842b443386d7d8681522b821770d HEAD is now at 8aaf970 init from upstream