$ git clone -n https://gitee.com/opencloudos-stream/golang-github-lib-pq.git /var/lib/mock/dist-ocs23-epol9-build-278110-26247/root/chroot_tmpdir/scmroot/golang-github-lib-pq Cloning into '/var/lib/mock/dist-ocs23-epol9-build-278110-26247/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 8c7b69b update