关于git

下载地址:http://git-scm.com/download

中文教程:http://www.bitsun.com/documents/gittutorcn.htm

IfyoualreadyhaveGitinstalled,youcangetthelatestdevelopmentversionviaGititself:

gitclonegit://git.kernel.org/pub/scm/git/git.git[localdir]

Ifyouhaveproblemsconnecting(Gitusesport9418),youcantrytoaccesstherepositoryovertheHTTPprotocol:

gitclonehttp://www.kernel.org/pub/scm/git/git.git[localdir]

部分git操作

gitclonegit://github.com/mongodb/mongo.git

gittag-l(列出可用版本)

gitcheckoutr1.4.1(切换到指定版本)

相关推荐