$ git clone -n https://gitee.com/src-anolis-os/protobuf-c.git /var/lib/mock/dist-an23-build-126581-46161/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-an23-build-126581-46161/root/chroot_tmpdir/scmroot/protobuf-c'... $ git reset --hard origin/a23 HEAD is now at 1afd63f update to 1.4.1