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