$ git clone -n https://gitee.com/src-anolis-os/lujavrite.git /var/lib/mock/dist-an23-build-239703-62937/root/chroot_tmpdir/scmroot/lujavrite Cloning into '/var/lib/mock/dist-an23-build-239703-62937/root/chroot_tmpdir/scmroot/lujavrite'... $ git reset --hard origin/a23 HEAD is now at 2a05ccb init from upstream