随笔分类 -  git

摘要:解决git add . 错误 阅读全文
posted @ 2022-02-28 11:55 wonder32 阅读(8020) 评论(0) 推荐(1)
摘要:git设置上游分支以及解决Connection reset by IP port 22 fatal: Could not read from remote repository git设置上游分支 git branch --set-upstream-to=origin/master master 解 阅读全文
posted @ 2022-01-14 16:39 wonder32 阅读(1763) 评论(0) 推荐(0)
摘要:git push本地master分支到远程github的main分支 最简单的方式是保持本地和远程的分支同名,当然这样也不算解决问题 拉取远程的main分支到本地master分支 首先要从远程的main分支中拉取一次 git pull origin main 这里如果本地的分支不为空的话,需要进行m 阅读全文
posted @ 2021-11-23 18:16 wonder32 阅读(1244) 评论(0) 推荐(0)