![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
文章平均质量分 61
PerpetualLearner
这个作者很懒,什么都没留下…
展开
-
(20210301未解决)error: chmod on /path/.git/config.lock failed: Operation not permitted
Overview如题error: chmod on /path/.git/config.lock failed: Operation not permitted问题分析From R1, the reason is :The linux command chmod is not supported by NTFS.Solution which it suggest is :mkdir -p /home/user/.gitconfigs/myrepoln -s /home/user/...原创 2021-03-06 10:21:46 · 4592 阅读 · 1 评论 -
(20210221已解决)如何将本地已有文件夹push到github并新建仓库
OverviewIn english, maybe this question:How to push local directory to github, and create a new repository?SolutionsGithub: Create a new repository on Github, get the https URL创建时保证是空的,不要添加Readme或.gitignore, 避免出现 master had recent pushes Compa..原创 2021-03-07 12:32:04 · 921 阅读 · 0 评论 -
Git 常用命令(一)
Overviewporcelain commands: user-friendly commands;plumbing commands: that do low-level work and were designed to be chained together UNIX-style or called from scripts.git configgit config lets you get and set configuration variables that control a..原创 2021-02-21 21:34:38 · 474 阅读 · 0 评论 -
《Pro Git》读书笔记一
OverviewPage: 1~63Version ControlVersion control is a system that records changes to a file or set of files over time so that you can recall specific versions later.Before Git, there are:Local Version Control Systems: RCSCentralized Version Co..原创 2021-02-21 21:32:04 · 349 阅读 · 0 评论 -
重识Git
GitGit is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.Git was created by Linus Torvalds in 2005 for development of the Linux ..原创 2021-02-21 10:11:01 · 122 阅读 · 1 评论 -
(20210219已解决)git使用中出现Please make sure you have the correct access rights and the repository exists.
Overviewssh: Could not resolve hostname git_address: Name or service not knownfatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists出现上述问题是因为本地环境无法通过ssh连接到目标git仓库,本质是ssh层面的问题,需要设置本..原创 2021-02-21 10:06:07 · 410 阅读 · 0 评论