![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
常见的Git问题以及命令
大吉大利的卦象
世人慌慌张张
唯图碎银几两
偏这碎银几两
能解世间惆怅
展开
-
提示报错git branch --set-upstream-to=origin/<branch> master
There is no tracking information for the current branch.Please specify which branch you want to merge with.See git-pull(1) for details. git pull If you wish to set tracking information for this branch you can do so with:原创 2023-03-23 09:55:36 · 1629 阅读 · 0 评论 -
git push origin HEAD:<name-of-remote-branch>报错
git push origin HEAD:报错原创 2023-03-22 10:01:21 · 1409 阅读 · 0 评论 -
配置git以及生成密钥
git配置本地信息,以及密钥生成。原创 2022-11-21 13:42:12 · 264 阅读 · 0 评论 -
git操作命令
1、创建分支git checkout -b 分支名字2、查看所有分支git branch3、切换分支git checkout 分支名字4、合并分支(先切换到主分支上,再选择需要合并的分支进行合并)git merge 分支名5、推送代码(上传代码)git push6、推送到云端 git push -u origin "master"7、本地仓库指向远程仓库git remote add origin https://gitee.com/xxx/xxx.git原创 2022-02-28 18:18:50 · 231 阅读 · 0 评论