Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您使用 RStudio 时,您的 git 工作流程是什么样的?
我想开始使用 github 对我的脚本进行源代码控制。我知道您可以使用命令行/终端来推送存储库,但一直找不到 git 的包。有什么建议吗?
或者,我可以使用以下system命令:system("git push")
system
system("git push")
谁能建议一个更好/更优雅的方法来做到这一点?
我似乎记得 Rstudio 的新开发版本已经内置了对 git 的支持。如果您不想使用它,我自己完全可以在单独的控制台中使用命令行来签入代码。您也可以使用系统命令在 R 中执行此操作。
ps RStudio 的每日版本可以在这里找到:
http://www.rstudio.org/download/daily/desktop/