Git Branching Branches in a Nutshell Branches in a Nutshell let’s assume that you have a directory containing three files, and you stage them all and commit. Staging the files computes a checksum for each one (the SHA-1 hash), stores that version of…
Git Basics Getting a Git Repository Initializing a Repository in an Existing Directory For Linux: $ cd /home/user/my_project For Mac OS: $ cd /Users/user/my_project For Windows: $ cd /c/user/my_project and type: $ git init $ git add *.c $ git add LIC…
Getting Started About Version Control Local Version Control Systems Centralized Version Control Systems Distributed Version Control Systems A Short History of Git 2005, Linus Torvalds, Linux Community goals of Git: Speed Simple design Strong support…
git 笔记二-Git安装与初始配置 Git的安装 由于我日常生活和工作基本上都是在Windows上,因此此处只说windows上的安装.Windows上的安装和其他程序一样,只需要到http://git-scm.com/download/win上下载安装包安装就行了,基本上都用默认就可以.对于喜欢界面的,可以安装Git for Windows,不过从我的体验看,还是需要先学一下直接用命令行,不然Git for Windows出现错误的时候自己也能大概知道问题所在.Git for Windows…
转眼间加入git的阵营已经快两年了,结识git,缘起github,2年前在寻找代码托管网站,当时还是用svn,起初使用google code,可是google的服务虽好,在天朝你懂得,后来发现了github,多亏了蒋鑫老师的<GotGitHub>将我带入github的大门,如果你是个github新手,那我强烈建议你阅读这篇文章,里面讲了很多东西. 起初的时候我是用github for windows这个客户端,在切换到多分支的时候被,自动转换换行符坑的不浅,后来越来阅读了<git详解&g…