What's the right way to rename an RStudio project (esp., when that project is under version control)?
E.g., I created an RStudio project with version control in "~/myproject". Then I decided I wanted to rename the project to "myproject1". So I
- renamed "~/myproject" as "~/myproject1"
- renamed "myproject.Rproj" as "myproject1.Rproj"
- committed the "rename" changes with git via RStudio.
Everything seems to be fine. But I have a suspicion I'm missing something and that I'm going to be surprised by some project behavior down the line.
git remote set-url origin [GitHub repo URL]
See here: https://help.github.com/articles/changing-a-remote-s-url/ – jtr13 Aug 2 '17 at 15:40