Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rstudio Git bash pop-up every time

I have integrated the git version control to an existing project in Rstudio(Windows). After that for every change I make in the Rmd file, a pop up is coming. I could see that it is a git bash executing on every command I have added in the file. I do not have more details on this.

like image 466
Prradep Avatar asked Jun 18 '15 07:06

Prradep


People also ask

How do I use Git bash in RStudio?

Check that the terminal in RStudio is set to use Git bash/bash. This should only be necessary for Windows machines. Go to Tools -> Global Options -> Terminal. In the drop down box for New terminals open with, select Git Bash.

Do you need Git for RStudio?

You need Git, so you can use it at the command line and so RStudio can call it. If there's any chance it's installed already, verify that, rejoice, and skip this step. (But consider updating an existing installation.) Otherwise, find installation instructions below for your operating system.

How do I link Git and RStudio?

In RStudio, start a new Project: File > New Project > Version Control > Git. In “Repository URL”, paste the URL of your new GitHub repository. It will be something like this https://github.com/jennybc/myrepo.git .


1 Answers

Actually solved it myself just now with the help of this info: https://stat545-ubc.github.io/git03_rstudio-meet-git.html

WARNING: On Windows, do NOT use C:/Program Files (x86)/Git/cmd/git.exe. The difference between the good and bad paths is bin vs. cmd.

My Rstudio-version was setting the cmd/git.exe as default. If you change that to bin/git.exe my problem was solved...

like image 104
jeborsel Avatar answered Oct 13 '22 04:10

jeborsel