zkong筆記30

早上:前端

升級ESL香港服務器,安裝HTTPS證書,在reload nginx過程當中遇到問題:nginx

香港服務器上的nginx是本地make出來的,問題解決參考:git

http://www.javashuo.com/article/p-kerfbvgo-mu.html服務器

 

在杭州/香港服務器上,使用crontab定時任務更新HTTPS證書:spa

crontab -e

輸入:(每週一2點30分執行任務).net

30 2 * * 1 /usr/local/bin/certbot-auto renew  >> /var/log/le-renew.log

系統查看crontab任務可以使用:code

crontab -l

 

下午:blog

研究ESL現有的圖像處理邏輯。crontab

 

晚上:get

幫助前端在git上實現代碼回退,新建dev branch並修改相應Jenkins的任務配置。

git如何revert一個merge commit:

經過 git log查看commit的狀態

能夠看到第一個commit是一個merge commit,它由後面的兩個commit組成。要revert這種commit須要指定mainline 如:

指定--mainline爲1,實際上revert的是組成這個merge commit的第一個commit。

相關文章
相關標籤/搜索