Skip to content

.Rproj.user files created at some point before we're ready for them in git lesson #180

@pschloss

Description

@pschloss

Some learners are getting a .Rproj.user directory in their project root and/or code/. This causes a bunch of unnecessary things to show up when they git add .

A couple of thoughts...

  1. Don't use git add ., rather, be specific about what files to add - git add file1 file2 etc.
  2. Do git status see that there's a .Rproj.user directory and introduce .gitignore and add .Rproj.user to that

I think both are probably good practices to teach people. There's a potential problem they could run into in their future where they accidentally commit a large file and then try to push it. Then Bad Things Happen. By being specific about git add they can reduce the risk of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions