Repo from RStudio to Github

前端 未结 2 1269
粉色の甜心
粉色の甜心 2020-12-10 11:31

I love github and RStudio for workflow. Recently, I\'ve created a project template that makes directories and scripts etc. and would like to create locally and push to gith

2条回答
  •  余生分开走
    2020-12-10 12:09

    Have you seen hub?

    hub create
    git push -u origin master
    

    will do the job for you, once hub is configured to access your GitHub account. If you want the project to be called different from the name of the parent directory, use

    hub create projectname
    

    The general usage is

    hub create [NAME] [-p] [-d DESCRIPTION] [-h HOMEPAGE]
    

    (-p -- private repository), and you can access many more GitHub features with this tool.

提交回复
热议问题