Skip to content

Instantly share code, notes, and snippets.

if certbot fail, get free ssl from https://freessl.cn/
<VirtualHost *:80 *:443>
ServerName www.853rd.com
ServerAlias 853rd.com
ServerAdmin [email protected]
DocumentRoot /var/www/853rd.com
<Directory "/var/www/853rd.com/">
Options Indexes FollowSymLinks
git checkout --orphan TEMP_BRANCH && git add -A && git commit -am "Initial commit" && git branch -D master && git branch -m master && git push -f origin master && git branch --set-upstream-to=origin/master master && git pull
git rm -r --cached . && git add . && git commit -m "fixed untracked files" && git push