03 2017 档案

摘要:git 一、git常用命令 1提交代码 git add . //把修改的或增加的文件添加到本地库里 git commit -am “说明性文字” git pull //从服务器上更新代码,避免覆盖别人的代码 git push //把自己修改的上传到服务器2查看状态 git status3解决冲突 当 阅读全文
posted @ 2017-03-20 16:29 baoguok 阅读(1817) 评论(0) 推荐(0)
摘要:hg 拉取他人分支: 阅读全文
posted @ 2017-03-20 16:27 baoguok 阅读(361) 评论(0) 推荐(0)
摘要:To have launchd start redis at login: ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents Then to load redis now: launchctl load ~/Library/Lau 阅读全文
posted @ 2017-03-20 16:25 baoguok 阅读(982) 评论(0) 推荐(0)
摘要:修改服务器主机名: CentOS 7 / Fedora version 18 and above Enter the following command to set the hostname, replacing plato with the hostname of your choice: ho 阅读全文
posted @ 2017-03-20 16:24 baoguok 阅读(152) 评论(0) 推荐(0)