$ git clone -n https://gitee.com/opencloudos-stream/ghc-tagsoup.git /var/lib/mock/dist-oc9-epol-build-83254-57169/root/chroot_tmpdir/scmroot/ghc-tagsoup Cloning into '/var/lib/mock/dist-oc9-epol-build-83254-57169/root/chroot_tmpdir/scmroot/ghc-tagsoup'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ghc-tagsoup * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 515c1b0 package init