Git Tab no longer appearing

I am having the same exact issue as described here, which is now closed:

I noticed this after upgrading my Macbook to Catalina.

Git is installed:

(base) QST-ML-0208:~ btibert$ whereis git
/usr/bin/git

Rstudio recognizes git

image

But the project open within Rstudio does not

image

And last but not, least I previously managed this project via git prior to the upgrade. Worth noting is that I actually uninstalled Rstudio this morning, and reinstalled it just now, no dice.

Proof this is a git project on my machine:

My system info:

> Sys.info()
                                                                                           sysname 
                                                                                          "Darwin" 
                                                                                           release 
                                                                                          "19.2.0" 
                                                                                           version 
"Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64" 
                                                                                          nodename 
                                                                           "QST-ML-0208.ad.bu.edu" 
                                                                                           machine 
                                                                                          "x86_64" 
                                                                                             login 
                                                                                         "btibert" 
                                                                                              user 
                                                                                         "btibert" 
                                                                                    effective_user 
                                                                                         "btibert" 

There are two things you might try:

  1. You might need to re-accept the Xcode license, with:
sudo xcodebuild -license accept
  1. You might need to re-install command line tools:
xcode-select --install

Also, just in case it's relevant: do you see this behavior in a brand new project as well?

1 Like

Thank you. For completeness, new projects also had this issue. For the first command, that actually didn't work; ironically I had to open Xcode to accept the license. After that, I ran the second command, as that was needed.

After a full restart, everything appears to be back to normal.

Thanks again.

2 Likes

Phew, glad you were able to get to the bottom of the issue!

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