$ git clone -n https://gitee.com/mgb01105731/libecap.git /var/lib/mock/dist-an23-build-303343-66044/root/chroot_tmpdir/scmroot/libecap Cloning into '/var/lib/mock/dist-an23-build-303343-66044/root/chroot_tmpdir/scmroot/libecap'... $ git reset --hard fe871a8ed033fa39a95a6595e14c20b715cd85f4 HEAD is now at fe871a8 init upstream from version 1.0.1