$ git clone -n https://gitee.com/opencloudos-stream/golist.git /var/lib/mock/dist-oc9-epol-build-82972-57165/root/chroot_tmpdir/scmroot/golist Cloning into '/var/lib/mock/dist-oc9-epol-build-82972-57165/root/chroot_tmpdir/scmroot/golist'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/golist * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26f8a2c !2 fix url Merge pull request !2 from 楼思源/master