Planet of NCCUCS
adobe photoshop 8.0 warez Adobe Premiere Pro CS5 can t reinstall adobe creative suite download adobe photoshop 8 0 cs Adobe Illustrator CS5 adobe premiere pro 1.5 serial key adobe acrobat reader 6.0 free Adobe Dreamweaver CS5 adobe course indesign software adobe photoshop free cursive fonts Adobe Photoshop CS5 Extended adobe photoshop elements 4 help sound adobe photoshop logos Adobe Creative Suite 5 Master Collection adobe creative suite torrents adobe photoshop and trial version Adobe Acrobat 9 Pro Extended adobe photoshop shape tools adobe photoshop free trial software Adobe Contribute CS5 wartz adobe acrobat adobe creative suite 2 academic Adobe Indesign CS5 adobe acrobat approval adobe premiere preview download Adobe Flash Catalyst CS5 602 acrobat adobe reader update adobe acrobat 7 reader update Adobe Flex Builder 3 Pro opening pps in adobe photoshop

Git 如何切換不同版本

作者:Anderson on 二月 27, 2009 Posted in RSS | | 觀看文章來源

本來以為

因為git並沒有所謂版本號碼,所以無法直接換回某版本。
但是git還是有用”特殊字串”來表示各個上傳的版本。

需要先

1. diff

2. patch 回 想要換回的版本

3. git commit

等於是再上傳一次 !

但是發現

git reset [version number]

就可將local端的git index reset 回到某一版本

那只是替換成遠端的版本呢 ?

先砍掉local端的檔案,再git pull是不行的。

因為git 的index 並沒有更新

需要先

1. 砍掉local端的檔案
rm xxx

2. 從local端的git index中去除
git rm xxx

3. 接著checkout
git checkout

就會把xxx 救回來

相關文章:

好物推薦:Git

:

讀過本文的讀者, 也對以下文章有興趣

No comments for this entry yet...

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

最新文章

照片

R0012028R0012036R0013553R0013551R0013550R0013549R0013560R0013558R0013569R0013561R0013570R0013571R0013580R0013581R0013556R0013567R0013563R0013572R0011783R0012312