To host a website on github with your username.
more about gitbook...
----------------------------------------------------------
git init is used to start using git on a project that's not under git.
you can manually configure a repo set up with git init to connect to a remote.
The .git folder manages your project's repo. Git doesn't run as a server. Instead the .git folder acts as your local 'server' that all the git commands communicate with. Basically, running a git command edits the contents of the .git folder.
To host a website on git hub create a branch called gh-pages and push the necessary files there then you can access the page on http://username.github.io/repoName/
to change between branches git checkout branchName
to create a new branch git checkout -b branchName
No comments:
Post a Comment