$ git clone -n https://gitee.com/yueeranna/spice-protocol.git /var/lib/mock/dist-an23-build-240747-63009/root/chroot_tmpdir/scmroot/spice-protocol Cloning into '/var/lib/mock/dist-an23-build-240747-63009/root/chroot_tmpdir/scmroot/spice-protocol'... $ git reset --hard bd148af7f3d0670833fcf09e53b1f6a48bd1041d HEAD is now at bd148af init from upstream