How do I create new repository on github using devtools in RStudio? I\'ve tried to:
Hope this helps someone:
rpackage
in this example)create("rpackage")
(this will create rpackage folder)rpackage
directorygit init
Start Git/More/Shell and type
git add *
git commit -m "first commit"
git remote add origin git@github.com:[username]/rpackage.git
git push -u origin master
Then you can refresh repository on github
. Now you can close (or even delete) your local project and next time you can start a new project Project/New project/Version Control/Git