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