$ git clone -n https://gitee.com/opencloudos-stream/needrestart.git /var/lib/mock/dist-oc9-epol-build-119472-70451/root/chroot_tmpdir/scmroot/needrestart Cloning into '/var/lib/mock/dist-oc9-epol-build-119472-70451/root/chroot_tmpdir/scmroot/needrestart'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/needrestart * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 73d7902 !1 upgrade to 3.8 Merge pull request !1 from Fanjun Kong/master