$ git clone -n https://gitee.com/opencloudos-stream/pre-commit.git /var/lib/mock/dist-oc9-epol-build-80996-54485/root/chroot_tmpdir/scmroot/pre-commit Cloning into '/var/lib/mock/dist-oc9-epol-build-80996-54485/root/chroot_tmpdir/scmroot/pre-commit'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/pre-commit * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ac7efef !1 init build Merge pull request !1 from abushwang/master