12 2018 档案

摘要:demo1 Ubuntu16,Python2,且安装过中文语言什么的。 #!usr/bin/python# -*- coding: utf-8 -*-a = "我就是中文啊"print("a:",a)1234 输出就是: ('a:', '\xe6\x88\x91\xe5\xb0\xb1\xe6\x9 阅读全文
posted @ 2018-12-28 12:21 刚刚好的幸福 阅读(6574) 评论(0) 推荐(0)
摘要:git常用命令: git init //初始化本地git环境 git clone XXX//克隆一份代码到本地仓库 git pull //把远程库的代码更新到工作台 git pull --rebase origin master //强制把远程库的代码跟新到当前分支上面 git fetch //把远 阅读全文
posted @ 2018-12-25 18:34 刚刚好的幸福 阅读(106) 评论(0) 推荐(0)
摘要:输 入 git add . 后出现 解决方法: git config --global core.autocrlf false 就可以解决了。 原因就是: 原因是路径中存在 / 的符号转义问题,false就是不转换符号默认是true,相当于把路径的 / 符号进行转义,这样添加的时候就有问题 原文链接 阅读全文
posted @ 2018-12-25 18:24 刚刚好的幸福 阅读(175) 评论(0) 推荐(0)