2.4. GitHub Wiki - shinokada/gitnotes GitHub Wiki
# Create a directory structure
$ mkdir new-dir-name && cd $_
$ mkdir git-repo-name
# git init in the main repo directory
$ cd git-repo-name
$ touch README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git remote add origin https://github.com/shinokada/git-repo-name.git
$ git push -u origin master
Go to github and create a wiki page. Then clone it. Your github wiki's URL is something like ttps://github.com/yourname/git-repo-name.wiki.git.
# go back one level up
$ cd ..
# And clone the wiki
$ git clone https://github.com/yourname/git-repo-name.wiki.git
Follow naming guideline.
curl -Lo- https://goo.gl/C170k | bash
// add changes
git add .
curl https://raw.githubusercontent.com/hybridgroup/GitHub-Wikifier/master/pre-commit > .git/hooks/pre-commit;
git commit -m "new message"
Push your changes
git push origin master