Skip to content
R for the Rest of Us Logo

Using Git and GitHub with R

Use gitignore to Keep Files Off of GitHub

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Learn More

Another interesting idea is to add create a file with, as Taylor Rodgers puts it, "work-in-progress scripts, random ideas, etc." By adding this to gitignore, you have a place to quickly work on things without having them show up on GitHub. that you can use for any kind of quick testing

One of my most common problems is that I only remember to add something to gitignore after I have committed it. You can delete the file(s), but old versions will remain on GitHub. To deal with this, you do need to use some terminal commands. The Quarto docs lay out the details for how to do this.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.