RockScience
RockScience

Reputation: 18600

RStudio: git clone another branch

By default when creating a new project in RStudio it clones the master branch.

On my side I dont have write access to the master branch. I have forked a repository and created a development branch called "dev" Is there a way to create a new RStudio project that works on this development branch only?

Thank you

Upvotes: 3

Views: 1583

Answers (2)

squeezer44
squeezer44

Reputation: 640

You can handle the branches within your RStudio environment - it's really easy:
1. Choose an existing branch and point the project on it
2. Create a new branch within a RStudio project
Further infos about using version control within RStudio

Upvotes: 3

VonC
VonC

Reputation: 1326696

If you have forked the repository, you do have access to the master branch of that fork.

If you need master for your project to work, you can work on that branch.

Upvotes: 1

Related Questions