First you need to know the address of your new repository, this can be easily found on the repository page (http://github.com/username/repository_name), the addy supposed to look like this below :
On your local console run :
$ mkdir myNewRepo $ cd myNewRepo $ git init $ git add . $ git commit * -m "write your message here" $ git remote add git@github.com:ms-egg-gee/pronto.git $ git push origin master
Basically, what it did was :
1) & 2) self explained4) initiate the directory to be git-i-fied
5) add all files & folders inside the directory
6) stage the changes to be committed
7) self explained
8) commit changes to remote repository
No comments:
Post a Comment