I think this is a fairly simple question. I've set up a new site using the blogdown package and thehugo academic theme. Everything is working great, but I am curious about the files that are being staged in RStudio.
So, currently the folder structure looks like this:
-all other hugo files.
But, when I did the first commit to push my website to the github repository, RStudio committed files for almost all the other folders that are parallel to /website_folder/.
so it added
I would like RStudio to only commit changes in website_folder/public/.
When I navigate to website_folder/public/ in the terminal and commit the changes there, then it only commits the the changes in the public folder.
So, how do I get RStudio to only commit changes made in file website_folder/public?
Do I have to make a .gitignore file in website_folder?
Thank you. I hope this question is clear.