$ git clone -n https://gitee.com/src-anolis-os/libecap.git /var/lib/mock/dist-an23-build-305936-66841/root/chroot_tmpdir/scmroot/libecap Cloning into '/var/lib/mock/dist-an23-build-305936-66841/root/chroot_tmpdir/scmroot/libecap'... $ git reset --hard origin/a23 HEAD is now at aac84ad init upstream from version 1.0.1