$ git clone -n https://gitee.com/yueeranna/expect.git /var/lib/mock/dist-an23-build-228209-62388/root/chroot_tmpdir/scmroot/expect Cloning into '/var/lib/mock/dist-an23-build-228209-62388/root/chroot_tmpdir/scmroot/expect'... $ git reset --hard 63d2b3c2cf1297c45f9b0f9be8712b5500e9642b HEAD is now at 63d2b3c init from upstream