随笔分类 - git
摘要:https://blog.csdn.net/yaomingyang/article/details/80514941
阅读全文
摘要:https://blog.csdn.net/qq_35425070/article/details/106883833 *.fbx filter=lfs diff=lfs merge=lfs -text *.fbX filter=lfs diff=lfs merge=lfs -text *.fBx
阅读全文
摘要:1、在终端(terminal)打开你的工程目录2、输入git config credential.helper store 3、拉取代码git pull
阅读全文
摘要:原因:过滤关键字是追加的,所以不生效 解决办法:# 清除本地库的缓存git rm -r --cached .# 讲本地代码重新加入git add .# 并让 .gitignore 文件夹生效,读取我配置的过滤规则git commit -m "update .gitignore"
阅读全文
摘要:coding c85Ao 解决办法,用http拉取,使用命令行clone 每次push需要密码解决方法 sourcetree 不停的让输入密码,报 password required1、在终端(terminal)打开你的工程目录2、输入git config credential.helper sto
阅读全文
摘要:https://www.cnblogs.com/zhou-chao/p/7678899.html 最近使用git pull的时候多次碰见下面的情况: There is no tracking information for the current branch.Please specify whic
阅读全文
摘要:https://www.cnblogs.com/sunshine-xin/articles/3521481.html 1. git rm --cached file will remove the file from the stage. That is, when you commit the f
阅读全文
摘要:https://www.cnblogs.com/yc8930143/p/5410734.html 1、vi编辑器 如同Windows下的记事本,vi编辑器是Linux下的标配,通过它我们可以创建、编辑文件。它是一个随系统一起安装的文本编辑软件。 vi编辑器提供了3种模式,分别是命令模式、插入模式、底
阅读全文
摘要:Git master branch has no upstream branch的解决 在push代码时,出现“git master branch has no upstream branch”问题的原因是没有将本地的分支与远程仓库的分支进行关联。如下图所示: 具体原因: 出现这种情况主要是由于远程
阅读全文
摘要:https://blog.csdn.net/u010697394/article/details/56484492 合并分支,冲突是难免的,在实际协作开发中我们遇到的情况错综复杂,今天就讲两个比较重要的命令使用git stash和git stash pop 试想一下:1.假如我们在develop分支
阅读全文
摘要:https://blog.csdn.net/chenjunfengf/article/details/78301957 场景 在git pull的时候,如果本地代码有改动,而服务器上代码也已经被其他人更新过,这个时候是无法成功pull的,可以通过以下四个步骤解决 git stash 将本地所有修改暂
阅读全文
摘要:git version 2.18.0.windows.1 node-v10.8.0-win-x64.zip 1 安装node.js,直接下载,配置环境变量即可(win10重启生效) 2 git安装,略,安装完直接启动Git Bash即可,git配置略(用户名,邮箱,配置github上的sshkey)
阅读全文
摘要:一 设置Git的user name和email: $ git config --global user.name "xuhaiyan"$ git config --global user.email "haiyan.xu.vip@gmail.com" git config --list 查看配置信息
阅读全文
摘要:图文 http://www.cnblogs.com/syp172654682/p/7689328.html 廖雪峰 https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137441
阅读全文
摘要:1.使用命令 git rm test.txt 删除版本库中文件, 下一步:git commit 提交 出现如图: 这是因为没有同时提交信息,即:git commit -m "这里是信息", 即上面红色部分,添加就不会出现提示了, 上面的界面退出 输入命令 :wq 即可
阅读全文
摘要:入门 使用Git前,需要先建立一个仓库(repository)。您可以使用一个已经存在的目录作为Git仓库或创建一个空目录。 使用您当前目录作为Git仓库,我们只需使它初始化。 使用我们指定目录作为Git仓库。 从现在开始,我们将假设您在Git仓库根目录下,除非另有说明。 添加新文件 我们有一个仓库
阅读全文