$ git clone -n https://gitee.com/opencloudos-stream/golang-github-mdlayher-wifi.git /var/lib/mock/dist-oc9-epol-build-113945-67931/root/chroot_tmpdir/scmroot/golang-github-mdlayher-wifi Cloning into '/var/lib/mock/dist-oc9-epol-build-113945-67931/root/chroot_tmpdir/scmroot/golang-github-mdlayher-wifi'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/golang-github-mdlayher-wifi * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9db64ef update