$ git clone -n https://gitee.com/opencloudos-stream/ghc-crypton-x509-system.git /var/lib/mock/dist-oc9-epol-build-112583-67837/root/chroot_tmpdir/scmroot/ghc-crypton-x509-system Cloning into '/var/lib/mock/dist-oc9-epol-build-112583-67837/root/chroot_tmpdir/scmroot/ghc-crypton-x509-system'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-crypton-x509-system * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21e8b3f update