-
Notifications
You must be signed in to change notification settings - Fork 7
Notes on git
Ayaz Siddiqui edited this page Jun 13, 2019
·
4 revisions
Saving an older version of the repository on your PC
- Install TortoiseGit on your PC. (This probably isn't necessary, but it is the only way I have learned to do it so far).
- In the folder that contains the OCTProject.prj (Simulink project file), right click anywhere in the white space, hover your mouse pointer over 'TortoiseGit' and select 'Show log'.
- This should open a window which has the working tree, commit messages, the names of the people who made the commit and the date of the commit.
- You can find the version that you wish to go back to by scrolling down the list or by entering the SHA-1 ID (eg. 2f03de49b60f008406cdfc43f478b43920dbbd3c) of the commit in the find block on top of the window. You can find the SHA-1 ID on github->commits or on Slack.
- Right click on the version that you are interested in click on export this verion.
- Specify the name of the zip file that you wish to export the repository to. This zip file should contain the older version of the repository.