I have a local git repository for an Xcode project. How do I checkout (from Terminal) a specific revision of the project to a different folder?
Thanks.
You can clone a local repo into another folder:
git clone -b my-branch /path/to/local/repo /path/to/new/repo
git clone -b aTag /path/to/local/repo /path/to/new/repo
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.