关于git

简介: 一、Git基础教程    01.【入门练习】廖雪峰 git教程网:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000       02.

一、Git基础教程

   01.【入门练习】廖雪峰 git教程网:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000

      02.【进阶】git进阶教程  https://git-scm.com/book/zh/v1/Git-%E5%88%86%E6%94%AF-%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF

      03. 【高级】git高级操作  http://www.open-open.com/lib/list/81

      04. 【基础】易佰 git初级教程 http://www.yiibai.com/git/git_pull.html

      05.【清晰】阮一峰博客 《git工作流程》  http://www.ruanyifeng.com/blog/2015/12/git-workflow.html

      06.【清晰】阮一峰博客《git使用规范流程》 http://www.ruanyifeng.com/blog/2015/08/git-use-process.html

      07.【基础】git基础操作  http://www.bridgeli.cn/archives/153

      08.【进阶 分支】git远程分支与本地分支《Git开发最佳实践》  http://www.bridgeli.cn/archives/200

      09.【老外 git分支管理】 http://nvie.com/posts/a-successful-git-branching-model/

      10.【git使用简易指南】 http://www.bootcss.com/p/git-guide/

      11.【Pro Git(中文版)】 http://git.oschina.net/progit/

二、myeclipse与git博客

01.安装  http://blog.csdn.net/itmyhome1990/article/details/39961767

三、视频教程

    http://www.icoolxue.com/album/show/41

 

四、GFM 格式说明

  GFM 是 Github 拓展的基于 Markdown 的一种纯文本的书写格式。 https://www.zybuluo.com/techird/note/46064

 

五、理解GIT的工作流程(全英文)

  https://sandofsky.com/blog/git-workflow.html

 六、git忽略文件的技巧(手工设置)

  6.1 手工配置

          http://blog.csdn.net/benkaoya/article/details/7932370

            编辑 D:\Server\Code_IDEA_workspace\gitskills\.git\config     

[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
    hideDotFiles = dotGitOnly
    excludesfile = d:/gitignore.txt
[remote "origin"]
    url = git@github.com:JiangLongLiu/gitskills.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[branch "dev-22"]
    remote = origin
    merge = refs/heads/dev-22

 

      6.2 在集成开发环境 IDEA 中配置

    http://www.tuicool.com/articles/rmuauai

 

  七、git服务器搭建

     7.1 unbantu15.10 x86_64 下载

         链接:http://pan.baidu.com/s/1o7mgCHG 密码:ctah

     7.2 虚拟机vmware10上安装 ubantu15.10   

              http://jingyan.baidu.com/article/f3ad7d0f19f47709c3345bbe.html  

  7.3 如何在unbantu系统中激活root用户  

      http://jingyan.baidu.com/article/495ba84116104238b20ede62.html  

 

8、 github正确的使用方法     

  • 使用 GitHub Pages 搭建静态网站、博客(自动分配 username.github.io 的域名,也可绑自己的域名(CNAME))
    https://pages.github.com/

附上本人 GitHub 账号,求 follow:https://github.com/mdluo

     摘自:http://segmentfault.com/q/1010000004240527

 

9、git&github不完全指南

  http://segmentfault.com/bookmark/1230000003102652

 

10、git的《人间词话》三层境界 

在我看来,使用GitHub也存在如《人间词话》中的三重境界。

第一重境界:昨夜西风凋碧树。独上高楼,望尽天涯路。
作为一个小白用户,机缘巧合,你刚刚注册了GitHub的账号,还不知Git,Push,Pull,Pull Request,Repository为何物。懵懵懂懂,如一个单纯的小孩,来到了满是漂亮贝壳的沙滩,却还叫不出颜色的名字。
朋友中只有自己一个人在玩GitHub,在浏览着网页的你,心中还有淡淡的孤独与忧伤。
面对着被star过万遍的repositories,关注者以k计的id们,你发出一声长叹:什么时候我才能写出那样的名库,成为那样的牛人。

第二重境界:衣带渐宽终不悔,为伊消得人憔悴。
你创建了第一个repo,用来存放自己写过的小代码们。
你创建了 你的id.github.io,用hexo或jekyll开始了自己的技术博客之旅。
第一次pull request,第一次被别人pull request。
第一次创建issue,第一次被别人创建issue。
你想到了一个idea,在google search和stackoverflow的忠心辅佐下,攻克一个又一个技术难题,实现一个又一个feature,你的开源项目越来越像那么回事。
一年有365天,你的GitHub上竟然就有365条打卡记录,无一天中断。
别人在感叹,在技术上成长怎么那么难,你反问他:你见过GitHub凌晨四点的样子吗?

第三重境界:众里寻他千百度,蓦然回首,那人却在灯火阑珊处。
感谢时间这个好朋友,你有一天发现,你的followers也是以k计,你新开一个repository就引来了上百个watch。
你给Apache贡献过代码,给Tensorflow实现过feature,给Linux修过bug。
你在业界小有名气,很多人都知道你,你也认识很多人,你和你的朋友们在线上线下相遇,觥筹交错,谈笑风生。
江湖上都称呼你为大牛,在一年一度的InfoQ北京峰会上,凤凰科技一个带黑框眼镜的长发美女记者问你,“在成长为大牛的道路上,你最感谢谁?” 眼前的这个妹妹好像在哪里见过,你用拇指和食指摸了摸下巴,看着她的眼睛,缓缓说道,“感谢爸妈,感谢GitHub。”

下面是我的英文翻译,供洋人朋友阅读。
As far as I can see, GitHub users are also experiencing the three levels described in “Poetic Remarks in the Human World” by Wang Kuo-wei.

Level 1: Last night the west wind shriveled the green-clad trees. Alone I climb the high tower, to gaze my fill along the road to the horizon.

As a new user, by any chance, you registered a GitHub account. You dont know what Git, Push, Pull, Pull Request and Repository are. Just like an innocent child, you run into a beach full of colorful shells, but you cant even name the colors.
You are the only one among your friends to play with GitHub. Surfing around the webpages, you feel a little bit lonely and sad.
Facing repositories stared in 5-digit figure and IDs followed by some k, you sighed, “When can I create a famous repo like that? When can I grow to be a top coder like him.”

Level 2: My clothes grow daily more loose, yet care I not. For you am I thus wasting away in sorrow and pain.

You created your first repo to store your old naive code.
You created your_id.github.io and launched your technical blogging journey by hexo or jekyll.
Your first pull request, later your first incoming pull request.
Your first issue, later your first incoming issue.
You came up with an awesome idea, and thanks to Google Search and StackOverflow, you tackled one and another challenge, implemented one and another feature, and your open source project looks just like something.
There are 365 days in a year, and we found exactly 365 contribution tiles in your GitHub profile.
Others are complaining, “How can it be so hard to grow in tech?” You replied back, “Have you ever seen what is it like in GibHub on 4am?”

Level 3: I sought her in the crowd a hundred, a thousand times. Suddenly with a turn of the head, I saw her. That one there where the lamplight was fading.

Thank to Time, my good friend. One day, you found that your followers are some k, your new repository get 100+ watches on day one.
You once contributed code for Apache, you once implemented new features for TensorFlow, you once fixed bugs for Linux.
You gained some fame in Silicon Valley. Many people know you, you also know some of them. You and your friends meet online and offline, you drink and cheers, you talk and laugh.
In the annual QCon San Francisco Summit, you were interviewed by a blonde journalist, “Along your growing path, to whom do you want to say the biggest thanks?” The babe looks familiar, but you can’t remember. Thought for a short while, you said slowly, “Thanks my parents, thanks GitHub”.

P.S.
“Poetic Remarks in the Human World”《人间词话》 is a literature criticism book by Asian Studies Professor Wang Kuo-wei in 1910.

如果你想了解更多我和GitHub的故事,请阅读:
我的新博文 《GitHub Pull Request初体验 | 给Hexo博客留言页面添加评论系统》
我的博客 宋哲的国际博客

 摘自: http://segmentfault.com/q/1010000004240527

 

 

11.git clone git@xxx.xxx.git  比https速度快,但是需要三步 ①生成公钥私钥对,②给客户端加私钥,③给服务端加公钥

   11.1 生成密钥对,配置本地ssh-agent私钥:https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#generating-a-new-ssh-key
          Enter passphrase (empty for no passphrase):输入密码
 
   11.2 配置github的公钥: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/#platform-linux

 

 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

开始做,坚持做,重复做
相关文章
|
测试技术 开发工具 git
Git个人博客hexo设置关于、标签、分类、归档、时间线
1、添加 关于页面 使用:hexo new page "about" 新建一个 关于我 页面。 主题的 _config.yml 文件中的 menu 中进行匹配 不同主题 _config.
4467 0
|
2月前
|
开发工具 git
Git版本控制工具合并分支merge命令操作流程
通过以上步聚焦于技术性和操作层面指南(guidance), 可以有效管理项目版本控制(version control), 并促进团队协作(collaboration).
360 15
|
5月前
|
安全 开发工具 git
git的常用操作命令
git的常用操作命令
369 57
|
3月前
|
存储 缓存 开发工具
Git stash命令的详细使用说明及案例分析。
通过上述案例,我们看到stash命令能够在不丢失进度的情况下,帮助开发者临时切换开发上下文,这在处理多个任务或紧急bug时特别有用。正确使用Git stash可以大大提高开发的灵活性和效率。
1219 0
|
6月前
|
存储 项目管理 开发工具
Git常用命令及操作技巧
以上是Git的常用命令及操作技巧,尽管看起来有些繁琐,但实际上只要花费一些时间进行实践,您将很快熟练掌握。随着使用熟练度的提高,您会发现Git对项目管理和协同工作的强大帮助。
168 20
|
8月前
|
人工智能 前端开发 Java
用git rebase命令合并开发阶段中多条commit提交记录
通过 `git rebase`,可以合并多个提交记录,使开发历史更简洁清晰。操作分为 6 步:查看提交历史 (`git log --oneline`)、设置需合并的提交数 (`git rebase -i HEAD~N`)、修改动作标识为 `s`(squash)、保存退出编辑、调整提交信息、强制推送至远程仓库 (`git push -f`)。此方法适合清理本地无关提交,但若有团队协作或冲突风险,需谨慎使用以避免问题。
1338 60
|
7月前
|
Linux 开发工具 git
版本控制工具:Git的安装和基本命令使用指南。
结束这段探险,掌握了Git你就等于掌握了一个宝藏,随时可以瞥见你的编程历程,轻松面对日后的挑战。Git,无疑是编程者的强大武器,开始你的Git探险之旅吧!
276 28
|
12月前
|
开发工具 git
git 常用命令
这些只是 Git 命令的一部分,Git 还有许多其他命令和选项,可根据具体需求进行深入学习和使用。熟练掌握这些命令能够帮助你更高效地管理代码版本和协作开发。
|
10月前
|
网络安全 开发工具 git
mac git clone命令提示git@gitee.com: Permission denied (publickey).问题修复
mac git clone命令拉取gitee上项目代码时提示密钥问题
759 19
|
10月前
|
Java 网络安全 开发工具
Git进阶笔记系列(01)Git核心架构原理 | 常用命令实战集合
通过本文,读者可以深入了解Git的核心概念和实际操作技巧,提升版本管理能力。