Can't see git option in version control

Hi everyone,
I have a problem for using setting git as version control system.
Long story short, here is the problem:

I installed git, restart Rstudio but still I can't see the option of git in the Project Options.

Also, I can't create a new project by git. It says that git is not detected on system path.

My git executable: /usr/bin/git

Also, I tried command git config --global --list in terminal and it works.

System Information:

  • RStudio Version: 1.0.143
  • OS Version: darwin15.6.0
  • R Version: 3.4.4

Thanks for your help,
ZZC

In Tools|Global Options|Git/SVN you can Enable version control and set the path to the Git executable.

I figured that out by changing the git executable direction exact same as git path shown in shell.
Thanks anyway.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.