
git
文章平均质量分 56
ziziju
这个作者很懒,什么都没留下…
展开
-
[问题记录]git添加隐藏文件到暂存区
问题记录:添加文件到暂存区后,查询暂存区文件发现一部分隐藏文件没有添加进暂存区,猜测git add *只能添加非隐藏文件。解决:使用git add原创 2021-06-15 00:49:53 · 1214 阅读 · 0 评论 -
配置SSH key(报错fatal: Could not read from remote repository.Please make sure you have the correct ac)
由于之前一直在用的机器送去修,最近换了一台新机器,在使用git push -u origin master命令提交时报错Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.查过了才发现是没有配置ssh key。所以在重新配置ssh ..原创 2021-06-15 00:25:21 · 8090 阅读 · 0 评论 -
git常用命令&github上传项目方法总结
一.一些常用的git命令总结与定义Git的一些基础命令介绍:1.git init //初始化本地git仓库2.git add <file> //添加文件3.git status//查看状态4.git commit //提交(一般会用 git commit -m '******' 来省略修改介绍的步骤)5.git push //推送到...原创 2021-06-14 00:23:24 · 245 阅读 · 0 评论 -
使用Git创建本地仓库(命令行方式&图形化界面方式)
1.使用命令行创建本地仓库(1)在空文件夹中点git bash here原创 2021-06-08 14:36:03 · 973 阅读 · 0 评论