- 当 maven compile code时, 下载很多的resource files时, 怎样略过如下
mvn clean compile -o install
- 开发免不了进行代码review,当遇到git提交出现 ‘Changes not staged for commit’ 问题的解决方法
Cases are
1) when pull from remote branch1
2) Modify and submit, then push to remote branch2
3) Remote branch2 updated some files, and local branch modified
4) Cant submit and push to remote branch2 now
Solution steps:
1) Check out new local branch from remote branch2
2) Modify new local branch and submit & push to remote branch2
3) After merge to remote branch1(e.g. master branch), remove old local branch and checkout from remote branch
4) Remove the local branch which pushes to remote branch2