Difference between revisions of "Git"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Fork)
(Setup)
 
Line 15: Line 15:
 
  git commit -am "rest of the code push'
 
  git commit -am "rest of the code push'
 
  git push origin master
 
  git push origin master
 +
 +
==links==
 +
*http://stackoverflow.com/questions/17743549/git-recursively-add-the-entire-folder
  
 
=Fork=
 
=Fork=

Latest 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

links

Fork

Notes