Dear community,
I have an RStudio project connected to a GitHub repository through version control.
Hw can I prevent to show some folders that are in my RStudio project but I don't want to show in my public repository in Github.
Manuel
Dear community,
I have an RStudio project connected to a GitHub repository through version control.
Hw can I prevent to show some folders that are in my RStudio project but I don't want to show in my public repository in Github.
Manuel
Include the path in your .gitignore file
Thank you very much.
Like this:
.Rproj.user
.Rhistory
.RData
.Ruserdata
my_folder_that_I_want_to_hide
Or do I need to put a dot before the name of the folder?
You have to use the relative path of the folder (relative to your project's working directory), if the path includes a dot like in those folders, then obviously you have to include it.
Thank you very much.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.