User Tools

Site Tools


private:add_origin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
private:add_origin [2015/01/28 04:34]
david
private:add_origin [2015/02/04 14:00] (current)
Line 5: Line 5:
   - Now you need to create remote origin: open shell, and type: <​code>​git remote add origin https://​github.com/​USERNAME/​PACKAGE.git</​code>​ (this will add the origin to the RStudio options - Tools > Project options > Git/SVN)   - Now you need to create remote origin: open shell, and type: <​code>​git remote add origin https://​github.com/​USERNAME/​PACKAGE.git</​code>​ (this will add the origin to the RStudio options - Tools > Project options > Git/SVN)
   - Choose what to commit (e.g. everything:​)<​code>​git add .</​code>​   - Choose what to commit (e.g. everything:​)<​code>​git add .</​code>​
-  - Make the initial commit: <​code>​git commit -"​initial commit"</​code>​+  - Make the initial commit: <​code>​git commit -"​initial commit"</​code>​
   - Establish this repository in GitHub   - Establish this repository in GitHub
   - Push the commit: <​code>​git push -u origin master</​code>​   - Push the commit: <​code>​git push -u origin master</​code>​
  
private/add_origin.txt · Last modified: 2015/02/04 14:00 (external edit)