$ git clone -n https://gitee.com/yueeranna/swtpm.git /var/lib/mock/dist-an23-build-232822-62623/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/dist-an23-build-232822-62623/root/chroot_tmpdir/scmroot/swtpm'... $ git reset --hard 8c8f27071b4bca48550f72d22ecf5482f9798118 HEAD is now at 8c8f270 init from upstream