To prevent myself from Googling over and over, I will gather some of the hard to remember git commands
git clone --depth=1 --branch=master git://someserver/somerepo
git log --oneline | grep PATTERN
git log --since=5.days --author="$(git config user.name)"
git log --full-history -- FILENAME
- Add build folder to .gitignore in master/development branch
git checkout --orphan gh-pages
git rm -rf .
- Make a first commit and push
- Script something like
git checkout gh-pages && git add --all && git commit -m "Release at $(date)" && git push origin gh-pages
or use Travis to deploy
git remote prune origin --dry-run
git remote prune origin
git push REMOTE --all
git push REMOTE --tags