Difference between revisions of "Git"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Setup)
Line 11: Line 11:
 
  git remote add origin https://github.com/webdawg/binary2twitter.git
 
  git remote add origin https://github.com/webdawg/binary2twitter.git
 
  git push origin master
 
  git push origin master
 +
 +
git add --all
 +
git commit -am "rest of the code push'
 +
git push origin master
 +
 
=Fork=
 
=Fork=
  

Revision as of 19:23, 15 February 2014

Setup

https://github.com/repositories/new

git config --global user.name "webdawg"
git config --global user.email "webdawg@gmail.com"
git init
nano/touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/webdawg/binary2twitter.git
git push origin master
git add --all
git commit -am "rest of the code push'
git push origin master

Fork