$ git clone -n https://gitee.com/src-anolis-dde/util-dfm.git /var/lib/mock/dist-an23-dde-build-345087-70104/root/chroot_tmpdir/scmroot/util-dfm Cloning into '/var/lib/mock/dist-an23-dde-build-345087-70104/root/chroot_tmpdir/scmroot/util-dfm'... $ git reset --hard origin/a23 HEAD is now at 9f7ed30 fix build error