$ git clone -n https://gitee.com/src-anolis-os/libdazzle.git /var/lib/mock/dist-an23-build-242023-63085/root/chroot_tmpdir/scmroot/libdazzle Cloning into '/var/lib/mock/dist-an23-build-242023-63085/root/chroot_tmpdir/scmroot/libdazzle'... $ git reset --hard origin/a23 HEAD is now at 224e4d7 !4 init pacakge from upstream Merge pull request !4 from happy_orange/a23