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