Difference between revisions of "Ruby"

From Wiki2
Line 9: Line 9:
;git commit: commits change locally
;git commit: commits change locally
;git log: of commits
;git log: of commits
on github
;new repository:
back on local machine
;git remote add origin git@github.com:mckennatim/rubyapp2.git: this line is given in github
;git push -u origin master:

Revision as of 10:49, 2 November 2011

goto /users/tim/code/ruby

rails new appname
sets up directory system
bundle install
installs gems
.gitignore
installed with rails new
git init
starts new repository
git add .
git status
git commit
commits change locally
git log
of commits

on github

new repository

back on local machine

git remote add origin git@github.com
mckennatim/rubyapp2.git: this line is given in github
git push -u origin master