Search code examples
gitrepositorygit-checkoutrevision

Git checkout revision of local repository


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.


Solution

  • You can clone a local repo into another folder: