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