Git Product home page Git Product logo

Comments (7)

pschloss avatar pschloss commented on July 17, 2024

Found it with some help here: https://twitter.com/PatSchloss/status/704811988078215168

In Mac OS X: Cmd-shift-G allows you to manually type in /usr/bin/ and then you can select git. For Windows this does the trick: https://stat545-ubc.github.io/git03_rstudio-meet-git.html

Do you think it would be worth putting something into the instructor's guide or the setting up RStudio module to indicate this? The Mac OS X is a bigger issue than the windows because you can't see the /usr folder without this solution.

from r-novice-gapminder.

naupaka avatar naupaka commented on July 17, 2024

For OS X, you can do Shift + Command + G to bring up a dialog that lets you go to any path, including /usr/bin. For Windows, git bash (I believe) puts git.exe in C:\Program Files\Git\bin

from r-novice-gapminder.

naupaka avatar naupaka commented on July 17, 2024

Beat me to it @pschloss!

from r-novice-gapminder.

naupaka avatar naupaka commented on July 17, 2024

I think it would be great to have this info in the RStudio set up module (and perhaps the instructor's guide as well). It's the sort of thing that comes up at every single workshop.

from r-novice-gapminder.

pschloss avatar pschloss commented on July 17, 2024

Cool, I'll try to pull something together in the next few days for this as a PR. The other thing that would be good would be to mention an explicit workflow for getting RStudio to talk to github and the need for something like

git config --global credential.helper 'cache --timeout=10000000'

to cache the password from the terminal so one can push/pull from within RStudio

from r-novice-gapminder.

naupaka avatar naupaka commented on July 17, 2024

Excellent idea to extend timeout. Students always get frustrated by repeated password entering -- this is a nice quick fix. There's also a "Shell..." option in the "More" drop-down in the git tab in RStudio if you want to do the quick pref setting that way.

from r-novice-gapminder.

naupaka avatar naupaka commented on July 17, 2024

Closed by #138

from r-novice-gapminder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.