欢迎来到Anderson_An的博客

🌵点此关注哟
里寻他千百度,蓦然回首,那人却在灯火阑珊处众

随笔分类 -  git

git 报错:error: failed to push some refs to 'https://github.com/Anderson-An/******.git'(已解决)
摘要:提交push 报错: $ git push origin masterTo https://github.com/Anderson-An/******.git ! [rejected] master -> master (fetch first)error: failed to push some 阅读全文

posted @ 2018-12-19 12:35 Anderson_An 阅读(3371) 评论(3) 推荐(0) 编辑

windows使用git时出现:warning: LF will be replaced by CRLF
摘要:windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示, 解决办法: $ rm -rf .git // 删除.git$ git config --global core.autocrlf false //禁用自动转换 然后重新执行: $ git in 阅读全文

posted @ 2018-12-18 19:59 Anderson_An 阅读(216) 评论(0) 推荐(0) 编辑

git push远程仓库时报错:fatal: remote origin already exists. (已解决)
摘要:在做远程仓库调试阶段,突然发现修改后的项目无法push了: 如果输入$ git remote add origin git@github.com:djqiang(github帐号名)/gitdemo(项目名).git 提示出错信息:fatal: remote origin already exist 阅读全文

posted @ 2018-11-21 00:03 Anderson_An 阅读(302) 评论(0) 推荐(0) 编辑

Git的使用--如何将本地项目上传到Github
摘要:很早之前就注册了Github,但对其使用一直懵懵懂懂,很不熟练。直到昨天做完百度前端技术学院的task,想把代码托管到Github上的时候发现自己对于Git的操作是如此之愚钝,所以今天决定把Git好好学习一遍,好让自己以后能更好地使用Github,主要还是通过Git教程 - 廖雪峰的官方网站来学习。 阅读全文

posted @ 2018-11-20 21:45 Anderson_An 阅读(346) 评论(0) 推荐(0) 编辑

git 学习笔记 Git实践
摘要:网上有很多教程,这里我自己做下整理,省得有时忘记,有道是好记性不如烂博客! 先大概描述下Git的各种命令: git init #初始化 git clone #将远程项目拷贝到本地 git add # 提交文件更改(修改和新增) git commit # 基于当前分支提交修改 git reset # 阅读全文

posted @ 2018-11-15 23:23 Anderson_An 阅读(201) 评论(0) 推荐(0) 编辑

Github+hexo+next搭建教程
摘要:今天参考的是大神的教程,学了一个新东西,但是可能由于原教程中运用的npm包与我当前使用的npm包版本不同的原因,有出过多处运行错误,但都在此教程中解决了; 总结了下命令: npm install hexo -g 全局安装 hexo -v 查看当前版本 hexo init 初始化 hexo insta 阅读全文

posted @ 2018-11-15 13:31 Anderson_An 阅读(1085) 评论(0) 推荐(0) 编辑

FATAL bad indentation of a mapping entry at line 83, column 3: branch: master 已解决;
摘要:部署hexo 时候,修改完_config.yml 文件后更新报错如下,问题解决: FATAL bad indentation of a mapping entry at line 83, column 3: branch: master 重写添加修改_config.yml 文件如下格式,问题解决: 阅读全文

posted @ 2018-11-15 12:42 Anderson_An 阅读(4395) 评论(0) 推荐(0) 编辑

GIT 常用命令
摘要:学无止境,精益求精! 十年河东,十年河西,莫欺少年穷! 学历代表你的过去,能力代表你的现在,学习代表你的将来! 本篇博客是转发的别人的,原文地址:http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html 很久没写博客了,都是工作太忙闹的, 阅读全文

posted @ 2018-11-12 07:40 Anderson_An 阅读(267) 评论(0) 推荐(0) 编辑

git的配置:
摘要:Administrator@SC-201810302356 MINGW64 /c/wamp64/www $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/c/Users 阅读全文

posted @ 2018-11-12 07:25 Anderson_An 阅读(873) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 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 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示