$ git clone -n https://gitee.com/opencloudos-stream/iwd.git /var/lib/mock/dist-oc9-epol-build-65269-16665/root/chroot_tmpdir/scmroot/iwd Cloning into '/var/lib/mock/dist-oc9-epol-build-65269-16665/root/chroot_tmpdir/scmroot/iwd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/iwd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e4a4f8 !1 initial Merge pull request !1 from jeremiazhao/master