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