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