摘要: 关闭mac自带apache的启动。 sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 如果哪天你想让它开机启动了,则将unload 改为 load: sudo launchctl load -w 阅读全文
posted @ 2018-11-05 17:02 PaulyCoding 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 用git pull来更新代码的时候,遇到了下面的问题: 1 2 3 4 error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.php Please, commit you 阅读全文
posted @ 2018-11-05 15:02 PaulyCoding 阅读(97) 评论(0) 推荐(0) 编辑
摘要: git config --global credential.helper store 1.2 添加Git Config 内容 进入git bash终端, 输入如下命令: git config --global credential.helper store 执行完后查看%HOME%目录下的.git 阅读全文
posted @ 2018-11-05 14:43 PaulyCoding 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 在使用git pull时,经常会遇到报错: Please move or remove them before you can merge 这是因为本地有修改,与云端别人提交的修改冲突,又没有merge. 如果确定使用云端的代码,最方便的解决方法是删除本地修改,可以使用以下命令: git clean 阅读全文
posted @ 2018-11-05 13:39 PaulyCoding 阅读(132) 评论(0) 推荐(0) 编辑
摘要: git删除本地分支 git branch -d <BranchName> git remote 删除 git remote remove <name> 阅读全文
posted @ 2018-11-05 12:04 PaulyCoding 阅读(117) 评论(0) 推荐(0) 编辑