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