首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

git checkout — 掏出想要的文件

2013-02-17 
git checkout — 取出想要的文件用git checkout取出想要的文件:git checkout Makefile — 取出最近提交的Mak

git checkout — 取出想要的文件

用git checkout取出想要的文件:

git checkout Makefile — 取出最近提交的Makefile
git checkout?a98d3ca48c6500f97802587c8e11b3305731bb6b Makefile — 取出指定版本的Makefile

git checkout -b newBranch — 取出最近提交的文件并且创建newBranch分支
git checkout -b newBranch a98d3ca48c6500f97802587c8e11b3305731bb6b — 取出指定版本并且创建newBranch分支

?

热点排行