随笔 - 388
文章 - 1
评论 - 31
阅读 -
94万
随笔分类 - git
git上传新建项目
摘要:新建立本地项目,现在需要上传到git。对上传过程归纳如下: 一 在gitlab中新建项目;如下图所示: 二,新建后获取url地址,在本地打开gitbash,根据url把git上的项目clone到本地;注意,这个项目名如果与本地项目名冲突,需要修改或者讲本地先移除,在放进来覆盖。 三,将本地项目的文件
阅读全文
解决因为本地代码和远程代码冲突,导致git pull无法拉取远程代码的问题
摘要:https://www.cnblogs.com/huanyou/p/6654813.html 一、问题 当本地代码和远程代码有冲突的时候,执行git pull操作的时候,会提示有冲突,然后直接终止本次pull,查了些资料没有找到强制pull的方式,但是可以使用如下方式解决。 二、解决思路 可以先将本
阅读全文
How to import a GitHub project into Eclipse
摘要:Assuming you have created a project in GitHub, these are the steps to import it into Eclipse. First, you have to add the git repository to Eclipse. To
阅读全文