1. To https://github.com/kongq/springcloud.git ! [rejected] master -> master (fetch first)error: failed to push some refs to 'https://github.com/kongq/springcloud.git'hint: Updates we...
原创
2021-08-25 09:47:51
402阅读
1. To https://github.com/kongq/springcloud.git ! [rejected] master -> master (fetch first)error: failed to push some refs to
原创
2022-02-18 15:47:39
297阅读
//1.git常用命令,git的branch 2.git的原理 //4.怎么同步到本地仓库,怎么传到远程仓库 //3.git中 rebase 和 merge的区别 5.git的使用,讲一下? //4.git如何clone?如何push?本地和远程repo名字不一样怎么解决? //5.git reba
转载
2018-10-03 14:35:00
112阅读
2评论
问题 Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa 解决方法 cd .ssh vim config 添加
原创
2023-05-29 10:08:10
57阅读
一、将本地代码提交到远程仓库 【初始将文件修改上传到远程仓库】 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 初始化: git init 添加到暂存区: git add . 提交到仓库: git ...
转载
2021-05-15 22:59:00
216阅读
2评论
错误代码git ------ fatal: No configured push destination. Either specify the URL from the command-line or co$ git pushfatal: No configured push destination.Either specify the URL from the command-line...
原创
2021-08-11 09:04:46
254阅读
1. 解决error: failed to push some refs to 'xxxx' 今天将项目修改了一部分,然后用 git push origin master 向远程仓库推送的时候报如下错误: error: failed to push some refs to 'https://git ...
转载
2021-10-10 17:40:00
84阅读
2评论
https://blog.csdn.net/hejiamian/article/details/51800763 2016年07月01日 14:24:05 ascetictor 阅读数:1303 2016年07月01日 14:24:05 ascetictor 阅读数:1303 2016年07月01日
转载
2019-03-19 00:12:00
96阅读
2评论
1、上传代码/拉取代码报错:remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. 秘钥过期,把本地git公钥配制到 ...
转载
2021-10-31 01:02:00
131阅读
2评论
git版本控制软件的使用
原创
2017-12-19 15:55:04
500阅读
clone远程版本号库的时候,报错,提示路径不正确。 之前输入的路径为:ssh://【ip】:【port号】/【数据库名称】 增加username后的路径:ssh://【username】@【ip】:【port号】/【数据库名称】 试之。成功。mark标记。 clone远程版本号库的时候,报错,提示
转载
2017-06-05 17:29:00
111阅读
2评论
sword@git.okjiaoyu.cn/esearch/es_makedata_py.git fetch = +refs/heads/:refs/remotes/origin/ 的形式。我的问题是,当我用ssh key来推送
原创
2022-10-08 19:00:43
116阅读
问题描述在公司git的项目上新建了分支,但是当我使用git branch -a命令时找不到新建的分支新建的分支:使用git branch -a命令发
原创
2024-04-12 14:56:29
426阅读
目录项目场景问题描述1:git push origin master出错 原因分析解决方案问题描述2:git push origin master出错原因分析解决方案问题描述3:git branch -D出错原因分析解决方案项目场景: 第一次接触Git时,使用Git遇见的问题 问题描述
转载
2024-07-31 12:02:54
23阅读
问题:warning: LF will be replaced by CRLF 原因:需要提交的文件是在windows下生成的,windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示 解决办法:git bash中输入以下命令设置下就可以了 git c ...
转载
2021-10-10 22:36:00
292阅读
2评论
问题1:error: The following untracked wonking tree files would be overwritten by merge:解决办法:git clean -d -fx
原创
2022-09-28 09:45:25
23阅读
报错non-fast-forward
non-fast-forward
push之前需要先同步远程版本。pull会自动合并,所以要改为fetch手动合并;
问题分析
可以这样理解这个问题就是:别人上传到远程仓库后,你没有及时的同步(拉取)到本地,但是你同时又添加了一些内容(提交),以致于你在提交时,它会检测到你之前从远程仓库拉取的时候的仓库状态和现在的不一样。于是,它为了安全起见拒绝了你的提交(
Rust 引用 && 借用继续学rust 今天这篇文章主要跟随上一篇 Rust中的move而写的 引用和借用文章目录Rust 引用 && 借用主要内容一、引用是什么?思考二、rust借用三、可变引用四、悬垂引用总结主要内容这里主要讲 rust 中的引用与借用,根据其中一些例子,尽量扯明白其中的关系和原理,讲的不对的留言,我及时更改。一、引用是什么?在rust 中的引
GIT 遇到的问题
转载
2021-07-26 08:43:00
180阅读
2评论
上周五提交代码冲突了一次,造成了代码回滚。并且短时间内开发环境在特定业务模块报错。于是,今天有空,赶紧好好补习下git相关知识。操作记录由于之前工作中使用merge造成过代码丢失,所以现在经常使用rebase合并代码。这次也是一样,习惯性的将开发分支使用gitrebaseihash将开发的一系列commit整理成了一个,然后一并rebase到了develop分支。但是当前版本需求改动较大。这次re
原创
2022-09-11 21:49:13
120阅读