Monday, September 24, 2012

github notes

If you want read/write access to repo, use ssh link.

To clone a project:

cd ~/.ssh && ssh-keygen
cat id_rsa.pub | xclip 
git clone

git init

git remote add some_name_in_remote.git
git add files
git push


git branch

No comments:

Post a Comment