关于git

一、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和*的忠心辅佐下,攻克一个又一个技术难题,实现一个又一个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 *, 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

 

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

 

开始做,坚持做,重复做
上一篇:Http协议中 常用的参数应用


下一篇:美工 前端 网站