$ git clone -n https://gitee.com/opencloudos-stream/ghc-simple-cmd.git /var/lib/mock/dist-oc9-epol-build-85797-57550/root/chroot_tmpdir/scmroot/ghc-simple-cmd Cloning into '/var/lib/mock/dist-oc9-epol-build-85797-57550/root/chroot_tmpdir/scmroot/ghc-simple-cmd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-simple-cmd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 28e5888 update