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