Git Learning Part II - Working locally】的更多相关文章

file status life circle basic: modified:   Examples: untracked: unmodified: modified: Git branching ( $ git branch  : view all the branches) create a branch : $ git branch <branch name> switching from branch to branch :  $ git checkout <branch na…
There are several instructions on how to connect to TFS Git from Xamarin Studio if you're using the Team Foundation Service. We have locally installed TFS 2013 which also has Git support, but Xamarin Studio is unable to connect to it with the followi…
Today I begin to learn to use Git. I learn from Pro Git. And I recommend it which is an excellent book. Some Ideas: Git is a Distributed Version Control System and it is brilliant. And we know that DDoS attack is famous and distributed as well. So, d…
一.Why Git 1.1 Git是分布式的,本地的版本管理 chect out代码后会在自己的机器上克隆一个自己的版本库,即使你在没有网络的环境,你仍然能够提交文件,查看历史版本记录,创建项目分支,等不需要远程或架设服务器就能做到本地版本管理. 1.2 不污染子目录的track文件 svn每个子目录都要扔一个.svn.这个实在是.. .(我想很多人都碰到过svn lock folder的情况.实在让人气急败坏.实际上.svn文件就是罪魁祸首.各种clean up无果. delelte后svn…
help document of Github : https://help.github.com/ 1 upload 1.1 new update  Initialize a repository  Create a repositoy and name it while selecting "with a  README" option. tips: 1.push a new branch to the remote : $ git push -u origin <branc…
Why we need 'Git' GIt version control: 1. record the history about updating code and deleting code 2. cooperation --- We can know what our coworkers has done and even  the particular lines changed 3. feature branches --- We can work on the different…
最近在项目中使用git了,在实战中才知道,以前学习的git 知识只是皮毛,需要重新系统的学一下,读了一本叫  Learn Git in a Month of Lunches 的书籍,这本书通俗易懂,使我对git 有了全面的认识. 在平时,我们常常听到git 和github,它俩总是一起出现,总有一种必须一起使用的感觉.实际上,git和 github 是两个不同的概念, git是一个版本管理工具,而github则是一个网站,主要用于保存代码,分享代码.它们 之间没有必然的联系,可以使用其中的任意一…
一,安装git 一键安装 Mac 或 Windows. 二,下载一个工具书 Git 命令手册 free Git cheat sheet 三,安装完成之后需要先配置两个基本配置:用户名和邮箱 $ git config --global user.name "Your Name" $ git config --global user.email "your@email.org" 四,开始使用git创建第一个代码库(Repository)了 1)通过克隆一个已经存在的代码…
Learn Android Studio 汉化教程 Let’s reset even further to remove all traces of your work on the deprecated method calls. Choose VCS ➤ Git ➤ Reset Head. Then enter HEAD~2 in the pop-up dialog box, shown in Figure 7-28, and click Reset. Remember to click t…
1.配置用户名,邮箱 git config --global user.name "Mike" git config --global user.email Mike@example.com 2.查看配置信息 git config --list 也可以直接查阅某个环境变量的设定,只要把特定的名字跟在后面即可 git config user.name 3.获取帮助 git help <verb> git <verb> --help man git <verb…