$ git clone -n https://gitee.com/opencloudos-stream/postgresql-ip4r.git /var/lib/mock/dist-oc9-epol-build-106052-66708/root/chroot_tmpdir/scmroot/postgresql-ip4r Cloning into '/var/lib/mock/dist-oc9-epol-build-106052-66708/root/chroot_tmpdir/scmroot/postgresql-ip4r'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/postgresql-ip4r * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 448f6fe update