Github Commit

The following are commands to clone and commit changes to Github, specifically useful with Jekyll.

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

git clone https://github.com/username/username.github.io

cd username.github.io
echo "Hello World" > index.html

git add --all
git commit -m "Initial commit"
git push -u origin master