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