Thursday 29 November 2012

CREATE A NEW GITHUB REPO FROM A LOCAL DIRECTORY

Initialize git in the directory (In local directory)


Create new repository (On Github)

Add an origin to point to newly created remote repository.


Merge the remote repository with the local repository

Add all local files to the merged local repository


Commit the added files


Push all to the remote repository


2 comments:

  1. what is the name of your local directory?
    Does it match the name of your github repository?

    ReplyDelete
  2. i noticed there you just have ttps://github.com... this must a mistake, supposed to be https://github.com

    ReplyDelete