git
git
m0_47808809
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git如何查看远程仓库地址
打开终端,切换到项目目录,test 为项目根目录 cd /data/test 输入git remote -v查看远程仓库地址 git remote -v原创 2020-07-02 14:13:51 · 1603 阅读 · 0 评论 -
Git 忽略提交 .gitignore
.gitignore只能忽略那些原来没有被track的文件,如果某些文件已经被纳入了版本管理中,则修改.gitignore是无效的。 解决方法就是先把本地缓存删除(改变成未track状态),然后再提交: git rm -r --cached . git add . git commit -m 'update .gitignore' ...原创 2020-06-28 11:36:35 · 113 阅读 · 0 评论 -
git branch --set-upstream 本地分支关联远程分支
git在本地新建一个分支,并切换到新建的分支执行git pull或git push 命令时可能会遇到下面的情况 There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch> If you wish to se原创 2020-06-26 18:10:52 · 2857 阅读 · 0 评论
分享