$ git clone -n https://gitee.com/dtcccccc/gcc-python-plugin-rpm.git /var/lib/mock/dist-an23-build-290391-64987/root/chroot_tmpdir/scmroot/gcc-python-plugin-rpm Cloning into '/var/lib/mock/dist-an23-build-290391-64987/root/chroot_tmpdir/scmroot/gcc-python-plugin-rpm'... $ git fetch origin fa00364ef245eaf47c996f85b2d220009689ee3c:KOJI_FETCH_HEAD From https://gitee.com/dtcccccc/gcc-python-plugin-rpm * [new ref] fa00364ef245eaf47c996f85b2d220009689ee3c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fa00364 release 0.17.1