At first, I used the command below to generate my README file
usethis::use_readme_rmd().
After modifying the README.Rmd file, I tried pushing it to GitHub and receive this message within the Git Commit panel, which prevented the process to happen.
I googled the problem and there was one that suggested me running the code below to resolve the problem.
file.remove(".git/hooks/pre-commit")
I ran this code in the console and re-pushed again, and it worked! But my README file just didn't appear in the right format as I expected. Instead of the "nice landing page", my README on GitHub just appeared as an "original" Rmarkdown file with all the plain codes. And now I have no ideas..!
Could you please explain what the above message means and what should I do to avoid it in order to push the README?