$ git clone -n https://gitee.com/src-anolis-os/memstrack.git /var/lib/mock/dist-an23-build-79151-40669/root/chroot_tmpdir/scmroot/memstrack Cloning into '/var/lib/mock/dist-an23-build-79151-40669/root/chroot_tmpdir/scmroot/memstrack'... $ git reset --hard origin/a23 HEAD is now at 34ce933 Init version from upstream v0.2.2