$ git clone -n https://gitee.com/src-anolis-sig/gcc-python-plugin.git /var/lib/mock/dist-an8.8-build-292596-65137/root/chroot_tmpdir/scmroot/gcc-python-plugin Cloning into '/var/lib/mock/dist-an8.8-build-292596-65137/root/chroot_tmpdir/scmroot/gcc-python-plugin'... $ git fetch origin fa00364ef245eaf47c996f85b2d220009689ee3c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-sig/gcc-python-plugin * [new ref] fa00364ef245eaf47c996f85b2d220009689ee3c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fa00364 release 0.17.1