-
Notifications
You must be signed in to change notification settings - Fork 5
github configuration
Nilesh edited this page Sep 5, 2011
·
1 revision
##github setup
macbook:~ nilesh$ workon workhere
(workhere)macbook:~ nilesh$ cd ~/domains/workhere/
(workhere)macbook:workhere nilesh$ git config --global user.name "Nilesh"
(workhere)macbook:workhere nilesh$ git config --global user.email lvnilesh@yahoo.com
(workhere)macbook:workhere nilesh$ mkdir fab-canvas
(workhere)macbook:workhere nilesh$ cd fab-canvas
(workhere)macbook:fab-canvas nilesh$ git init
Initialized empty Git repository in /Users/nilesh/domains/workhere/fab-canvas/.git/
(workhere)macbook:fab-canvas nilesh$ touch README
(workhere)macbook:fab-canvas nilesh$ git add README
(workhere)macbook:fab-canvas nilesh$ git commit -m 'first commit'
[master (root-commit) ba5c664] first commit
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README
(workhere)macbook:fab-canvas nilesh$ git remote add origin git@github.com:lvnilesh/fab-canvas.git
(workhere)macbook:fab-canvas nilesh$ git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 207 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@github.com:lvnilesh/fab-canvas.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
(workhere)macbook:fab-canvas nilesh$
(workhere)macbook:fab-canvas nilesh$ cd ..
(workhere)macbook:workhere nilesh$ git clone git@github.com:lvnilesh/fab-canvas.wiki.git
Cloning into fab-canvas.wiki...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
(workhere)macbook:workhere nilesh$ pwd
/Users/nilesh/domains/workhere
(workhere)macbook:workhere nilesh$ ls -l
drwxr-xr-x 19 nilesh staff 646 Sep 3 20:57 bin
drwxr-xr-x 3 nilesh staff 102 Sep 3 20:55 build
drwxr-xr-x 4 nilesh staff 136 Sep 4 16:27 fab-canvas
drwxr-xr-x 4 nilesh staff 136 Sep 4 16:40 fab-canvas.wiki
drwxr-xr-x 3 nilesh staff 102 Sep 3 20:53 include
drwxr-xr-x 3 nilesh staff 102 Sep 3 20:53 lib