$ git clone -n https://gitee.com/src-anolis-os/libXcomposite.git /var/lib/mock/dist-an23-build-82318-41389/root/chroot_tmpdir/scmroot/libXcomposite Cloning into '/var/lib/mock/dist-an23-build-82318-41389/root/chroot_tmpdir/scmroot/libXcomposite'... $ git reset --hard origin/a23 HEAD is now at b5d53ee Init upstream libXcomposite for anolis os 23