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