![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
learn git
Jimyoung97
从0起步的小垃圾
展开
-
Git: fatal: Pathspec is in submodule
如何把另一个git repo加到自己的git repo下?直接甩链接:https://stackoverflow.com/questions/24472596/git-fatal-pathspec-is-in-submodule如果不能翻墙: 如果所添加的git repo是directory,那么如下操作git rm --cached directorygit add dir...原创 2020-03-22 04:02:55 · 1609 阅读 · 0 评论 -
Add the ssh key from a new server to the Github account
Add the link here for future reference:Checking for existing SSH keysGenerating a new SSH key and adding it to the ssh-agentAdding a new SSH key to your GitHub account原创 2019-12-29 04:19:13 · 191 阅读 · 0 评论 -
git pull
实验室搬砖合作项目的时候git命令总是忘记哇哇哇。多学习,多记笔记,嗯嗯今日笔记: git pullDescription: Incorporates changes from a remote repository into the current branch. More precisely, git pull runs git fetch with the given paramet...原创 2018-10-12 22:30:09 · 99 阅读 · 0 评论 -
一条龙服务: git add + git commit + git remote + git push
今日份的学习笔记:如何跟踪远端仓库,并且上传代码Step1 git add .Description: This command updates the index using the current content found in the working tree, to prepare the content staged for the next commitStep2 ...原创 2018-10-12 22:49:58 · 1020 阅读 · 0 评论