Hi everyone, I recently created a website using blogdown and now hosting it on a github repository. When I set it up, I used to the terminal to commit files using the git version control. So making changes and then commiting them to my github repository was easy.
However, now when I connect to my project, the git version control does not appear, therefore not allowing me to commit changes within R studio. And in version control, it now says "none". My guess is that the connection between the terminal and github was changed/removed. Does anyone know how to re-establish this? I've looked up instructions, but they all deal with creating the website and using the terminal to download the folder from github again.
Nope, that looks correct, assuming your Git executable does truly live at /usr/bin/git (Sorry, I erroneously assumed you were working on Windows before).
Presumedly, the project you're working on does already have a Git repository initialized? (Does a .git folder exist in that project?)
Thanks! And I think so. There is the "bjk127.github.io.Rproj" along with the other folders provided with hugo (e.g., config.toml, content folder, layouts folder, public folder).
Thanks. I've been doing research on this all weekend. I still haven't figured it out and I'm wondering if this issued occurred when I updated my mac to the new software. I found a few websites. One gave instructions to download the homebrew and make sure it's installed properly. So I'm good there. Then below I read:
Enable git for this project
* Click Tools -> Version Control -> Project Setup * Click the dropdown box Version control system and select Git * If you don't have a Git option go back to Rstudio.
So that let me to the Rstudio website. The tricky part in my situation is that I have an already existing project. So that's where I'm at now.