git相关
Zorione
这个作者很懒,什么都没留下…
展开
-
git项目中提交代码到远程库忽略无用文件,只提交代码文件的项目下.gitignore中常用配置
.gitignore文件常用忽略配置 *.class *.log *.lock # Package Files *.jar *.war *.ear target/ #idea .idea/ *.imi *velocity.log* # STS .apt_generated .factorypath .springBeans # IntelliJ IDEA *.iml *.ipr *.iws .idea .classpath .project .settings/ bin/ *.log tmp原创 2021-03-28 15:22:42 · 109 阅读 · 0 评论 -
一系列问题:fatal: unable to access XXX : Failed to connect to github.com port 443: Timed out
在你项目中创建分支后,你在分支上push代码到远程仓库时你可能会遇到如下的问题: E:\Javaexample\Zorio>git push fatal: The current branch dev2 has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin dev2 dev2分支没有和远程仓库关联 此时你输入g原创 2021-03-28 15:13:32 · 877 阅读 · 0 评论