随笔分类 -  git

摘要:遇到问题: 最近因为换了自己的邮箱密码后,每次push的时候都需要填写密码,账号。很烦 解决方法: [戎马半生的答案] (http://www.cnblogs.com/zhaoyu1995/p/6508927.html) 亲测有效的方法:、 + 在当前用户目录下 新建 .git credential 阅读全文
posted @ 2018-10-03 21:38 小字辈 阅读(543) 评论(0) 推荐(0)
摘要:1, git fetch 和 git pull 参考链接: https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch git pull = git fetch + 阅读全文
posted @ 2018-07-10 22:26 小字辈 阅读(122) 评论(0) 推荐(0)
摘要:笔记参考自以下链接: git官方网站 https://git-scm.com/ git小书 https://git-scm.com/book/zh/v2 阮一峰 git_cheat_sheet http://www.ruanyifeng.com/blog/2015/12/git-cheat-shee 阅读全文
posted @ 2018-07-01 14:49 小字辈 阅读(170) 评论(0) 推荐(0)
摘要:1,已有github账号 2,本地已经安装git 3,本地创建ssh-key 在git bash中输入后直接回车。 设置ssh的密码 ssh key 被保存在id_rsa文件中,在c/Users/YourName/.ssh/id_rsa中,然后打开id_rsa.pub文件,复制里面所有内容,粘贴在g 阅读全文
posted @ 2018-07-01 14:16 小字辈 阅读(214) 评论(0) 推荐(0)