...
Info | ||
---|---|---|
| ||
- Create a GitHub account
- Download GitHub console
- If you want the GUI, download it from here
...
- Open the git console and navigate to the location that you want manage with git
- Type git init - this will create the git database in that directory
- Type git add . - this will add all the files in the current directory and sub directories (recursively) the local git db, the files remain in staged state until committed
- Type git commit -m <some message in single quotes> - this move the files from the staged state to commited
- Type git push -u origin master
The files that have just been committed have not been pushed to the GitHub remote server so we need to do this
...
- Create a directory (anywhere of your choosing) on the local machine
- Use git clone <url to github repository>
- You don't have to use git fetch < branch>
- Read more at especially the paragraph headed Fetching and Pulling from Your Remotes
- Once the clone has completed you can edit the content as normal
...