$ git clone -n https://gitee.com/opencloudos-stream/json-c.git /var/lib/mock/dist-rebuild-after-rpm-check-build-173251-10869/root/chroot_tmpdir/scmroot/json-c Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-173251-10869/root/chroot_tmpdir/scmroot/json-c'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/json-c * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc57975 !1 update to 0.17 Merge pull request !1 from 冯玮耀/master