$ git clone -n https://gitee.com/opencloudos-stream/golang-github-logfmt.git /var/lib/mock/dist-ocs23-epol9-build-231144-19145/root/chroot_tmpdir/scmroot/golang-github-logfmt Cloning into '/var/lib/mock/dist-ocs23-epol9-build-231144-19145/root/chroot_tmpdir/scmroot/golang-github-logfmt'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/golang-github-logfmt * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d5c3872 update