git push失败的解决办法(2)
摘要:错误一:Cannot rebase: You have unstaged changes 解决办法: Cannot rebase: You have unstaged changes. 那说明有修改过的文件 git stash git pull --rebase (每次push之前最好这样做一次)
阅读全文
posted @
2016-02-29 13:43
细雨微光
阅读(4947)
推荐(0) 编辑
python(6)时间戳和北京时间互转,输出当前的时间和推到七天前的日期
摘要:项目发展的需要:(包含时间函数)time datetime 时间戳和北京时间互转 1 import time 2 import datetime 3 s = '2015-04-17 11:25:30' 4 d = datetime.datetime.strptime(s,"%Y-%m-%d %H:%
阅读全文
posted @
2016-02-29 11:45
细雨微光
阅读(3815)
推荐(0) 编辑