简体   繁体   中英

How to import a git project based on a revision in eclipse

Is it possible to checkout code from a GIT repository based on an old revision. For example, I would like to checkout as a new application a code base I have but around the time when the code was first created (ie revision 10 or so)

i don't seem to see this option available in eclipse.

Any help would be appreciated

As I mentioned in " Eclipse/EGit: How to Build a Specific Tag of Git Repo ", you could use the " EGit Checkout ", but your HEAD would be detached .

It is easier to open the History view , and create a branch from the right commit .
(right click on the right commit in the "commit graph" section of that view)

http://wiki.eclipse.org/images/d/df/Egit-0.9-history-view.png

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM