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