关于git提交、还原使用
1.本地修改,未提交到本地仓库,想要恢复到修改前
右键这个文件-team-show local hostory -找到某一版本-右键-get Contents 即可恢复到某一版本
2. 命令:git remote -v
cd 到 git 项目目录下执行:git remote -v
origin http://****/AA/a.git (fetch)
origin http://****/AA/a.git (push)
3.代码运行命令:
dos: mvn spring-boot:run
eclipse:spring-boot:run
====================================
问题: 在 eclipse: mvn spring-boot:run 执行这条命令出错,最后去掉 mvn 在执行 OK!
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building qianke 0.1
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.200 s
[INFO] Finished at: 2016-11-04T15:39:51+08:00
[INFO] Final Memory: 9M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
最新文章
- C#调用SendMessage 用法
- Android 单元测试(junit、mockito、robolectric)
- Android.mk 基本应用
- 捉襟见肘之UIImagePickerController 和自定义照相机
- true是表示使用身份验证,否则不使用身份验证
- mac El Capitan 10.11.6
- java获取点击微信自定义菜单的用户openid
- web app 相关记录
- Jquery之家5个顶级Material Design框架
- css table 布局
- 在openwrt上编译最简单的一个ipk包文件
- 理解OC“属性”这一概念
- python学习day15 模块(重点)
- js操作DOM对象
- [JavaScript] 后端js的模块化规范CommonJs
- canvas绘图工具
- 002_soa_zk处理经验总结
- 你好!酷痞Coolpy 之 Linux篇
- HDU - 2043密码 水题
- yum安装包另存