写bug的小杨

导航

04 2020 档案

Git Pull Failed :Your local changes would be overwritten by merge. Commit, stash or revert them
摘要:1、服务器代码合并本地代码 $ git stash //暂存当前正在进行的工作。 $ git pull origin master //拉取服务器的代码 $ git stash pop //合并暂存的代码 2.服务器代码覆盖本地代码 $git reset --hard //回滚到上一个版本 $git 阅读全文

posted @ 2020-04-29 09:52 迷途的小狗 阅读(1743) 评论(0) 推荐(1)

mac git 操作
摘要:1.test分支提交到deily和master 1.右下角——选择项目——选择origin/deily2.鼠标点击代码,右键git-compare with branch test(和本地的代码比对)3.合代码4.git-commit file5.git commit and push 2. mac 阅读全文

posted @ 2020-04-08 23:15 迷途的小狗 阅读(454) 评论(0) 推荐(0)

mac下安装maven
摘要:1.下载maven https://maven.apache.org/download.cgi 2.解压到指定目录 /usr/local/apache-maven-3.6.3 3.打开终端,输入vim ~/.bash_profile export MAVEN_HOME=/usr/local/apac 阅读全文

posted @ 2020-04-07 22:57 迷途的小狗 阅读(11424) 评论(1) 推荐(0)