Git
youshang520i
不忘初心,方得始终
展开
-
git常见提交问题
管理员账号提交 已经存在的项目提示下面的内容(没有权限) git@gitlab.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 解决方案: 1.https://www.jianshu.com/p/cf41412c4d2d 2. .原创 2020-10-12 11:20:35 · 161 阅读 · 0 评论 -
git的使用(个人总结,从init~commit)
此总结来自于廖雪峰的Git教程 1. 创建git本地仓库 git init 2. 提交文件 git add *.txt 3.查看提交改动 git diff 4.查看文件内容 cat **.txt 5.查看当前文件的提交状态 git status 6.提交文件 git commit -m "备注" 7. 查看提交记录,精简查看追...原创 2019-05-15 14:18:27 · 803 阅读 · 0 评论 -
Git分支的处理
本文总结于廖雪峰,廖老师的Git教程,有想了解跟多的可以前往廖老师官网的Git教程 1.创建分支 git checkout -b dev git checkout命令加上-b参数表示创建并切换,相当于以下两条命令: $ git branch dev $ git checkout dev Switched to branch 'dev' 2.查看当前分支 git ...原创 2019-05-15 15:14:16 · 359 阅读 · 0 评论