Introduction to Git & Github

What’s git

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

What’s github

GitHub is a web-based Git repository hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

Read more...

Git同时推送到多个远程库

在有些情况下,我们希望将项目同时关联到多个远程库,并一次性推送到多个远程库。这里我们以同时推送到Github和Gitcafe为例,操作系统为OS X。

1. 创建本地git仓库


创建项目文件夹,并将其初始化为git仓库。

mkdir ~/github/testGit
cd ~/github/testGit
git init
Read more...