Git入门培训.pptx

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Git入门培训

Git江伟伟2013.7.25什么是Git?Git是一个分布式版本控制/软件配置管理软件,原来是linux内核开发者Linus Torvalds为了更好地管理linux内核开发而创立的。/wiki/Git/wiki/GitGit设计目标:SpeedSimple designStrong support for non-linear development (thousands of parallel branches)Fully distributedAble to handle large projects like the Linux kernel efficiently (speed and data size)/book/en/Getting-Started-A-Short-History-of-Githttp:///book/en/Getting-Started-A-Short-History-of-G/book/en/Getting-Started-A-Short-History-of-Git谁在用Git?/https/:////GitHub is the best place to share code?with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.Git-分布式代码管理Git代码提交流程3-step commit process (SVN is 2-step)Working files: User-modified (also in SVN)Staged files: Ready for commitCommitted files: Safely stored in repo (also in SVN)Staging areaCommit all or only some changed filesCommit portions of a changed fileAllows for a forgiving flexible work processCan change many files, but commit them in groups according to features/about/staging-areahttp:///about//about/staging-areaGit客户端安装客户端安装cygwin(在windows平台上运行的unix模拟环境)/需要安装下面4个软件包git git-completionGit自动补全vim Git 默认的编辑器openssh SSH 客户端,为访问 SSH 协议的版本库提供支持安装程序与本地包文件共享: file:///\\SRV030046\share\cygwin\\file:///\\SRV030046\share\cygwinSRV030046\share\cygwin运行setup.exe,安装软件包方式选择本地,这样速度会比较快参考:/modules/newbb/viewtopic.php?topic_id=47282http:///modules/newbb/viewtopic.php?topic_id=47282/modules/newbb/viewtopic.php?topic_id=47282Git客户端安装配置cygwin生成vim配置文件$ cp /usr/share/vim/vim73/vimrc_example.vim ~/.vimrc自动补全忽略大小写$ vim ~/.inputrc# Filename completion/expansionset completion-ignore-case on #解除这行的注释更多的安装与设置参考/modules/newbb/viewtopic.php?topic_id=47282/modules/newbb/viewtopic.php?topic_id=47282/post/2012-12-22/stunning-cygwinhttp/post/2012-12-22/stunning-cygwin:///post/2012-12-22/stunning-cygwinGit客户端配置git config --system core.fileMode false #禁止Git对文件权限的跟踪git config --system core.quotepath false #输出中文文件名显示问题git config --system color.ui tr

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档