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