$ git clone -n https://gitee.com/yan1hcdc/clang.git /var/lib/mock/dist-an23-build-510332-75048/root/chroot_tmpdir/scmroot/clang Cloning into '/var/lib/mock/dist-an23-build-510332-75048/root/chroot_tmpdir/scmroot/clang'... $ git fetch origin 4f5bc68dd19e111d0fb5fcddfde8a6b2264710e7:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/clang * [new ref] 4f5bc68dd19e111d0fb5fcddfde8a6b2264710e7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f5bc68 fix the spelling error in the variable name