$ git clone -n https://gitee.com/yueeranna/glusterfs.git /var/lib/mock/dist-an23-build-231724-62547/root/chroot_tmpdir/scmroot/glusterfs Cloning into '/var/lib/mock/dist-an23-build-231724-62547/root/chroot_tmpdir/scmroot/glusterfs'... $ git reset --hard 6cc3261978d48cba7097e1f1c1493c105bc1ee2f HEAD is now at 6cc3261 init from upstream