随笔分类 -  Git

Git的使用总结
摘要:git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --all 原文:https:/ 阅读全文
posted @ 2022-03-17 14:02 vlson 阅读(158) 评论(0) 推荐(0)
摘要:问题描述: 某天上午来了公司拉取新代码git pull,报错: remote: Enumerating objects: 9284, done. remote: Counting objects: 100% (9284/9284), done. remote: Compressing objects 阅读全文
posted @ 2021-05-24 11:46 vlson 阅读(2528) 评论(0) 推荐(0)
摘要:1.Git配置 查看Git配置:git config --list 设置用户名:git config --global user.name 'vlson'; 设置用户邮箱:git config --global user.email 'vlson@***.com'; 查看是否成功 git confi 阅读全文
posted @ 2020-03-07 15:13 vlson 阅读(883) 评论(0) 推荐(1)
摘要:Git:git pull时报错 查看该文件: 未在网上找到解决办法,重启服务器就好了,重新查看该文件, 状态没变,但是里面的记录增多了! 阅读全文
posted @ 2019-02-15 15:52 vlson 阅读(1949) 评论(0) 推荐(0)
摘要:在目录下 创建: .gitignore文件,将不需要被追踪的文件地址, 写在该文件中, 此时git软件就不会追踪列出的文件进行版本同步; windows不允许创建没有文件名的文件,可以用编辑器创建.gitignore; 阅读全文
posted @ 2018-04-16 01:09 vlson 阅读(376) 评论(0) 推荐(0)