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