What's your git workflow look like when you're working with RStudio?
I want to start using github for source control of my scripts. I know you can use the command line/terminal to push a repository, but have been unable to find a package for git. Any suggestion for one?
Alternatively, I could use the system
command: system("git push")
Can anyone suggest a better/more elegant way to do this?
The most direct way to get data from Github to your computer/ into R, is to download the repository. That is, click the big green button: The big, green button saying “Clone or download”, click it and choose “download zip”. Of course, for those using Git and Github, it would be appropriate to clone the repository.
I seem to remember that the new development version of Rstudio has builtin support for git. If you do not want to use that I myself am perfectly fine with using the command line in a separate console to checkin code. You can also do this from within R using the system command.
ps Daily builds of RStudio can be found here:
http://www.rstudio.org/download/daily/desktop/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With