## gh-pages
git push origin :gh-pages
git subtree push --prefix build origin gh-pages## How to delete all commit history in github?
git checkout --orphan latest_branch
git add -A| function fetchPageAssets() { | |
| let images = document.querySelectorAll('img[src*=files]'); | |
| images.forEach(function(image) { | |
| files.push('<img src="' + image.src.replace(/_60x60/, "") + '">'); | |
| }); | |
| } | |
| function downloadListFile() { | |
| let button = document.createElement("a"); | |
| let data = 'data:application/octet-stream;base64,' + window.btoa(files.join('\n')); |
## gh-pages
git push origin :gh-pages
git subtree push --prefix build origin gh-pages## How to delete all commit history in github?
git checkout --orphan latest_branch
git add -A