This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
revertversion [2025/06/03 19:10] – admin | revertversion [2025/06/19 08:00] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Revert to an earlier | + | ======Revert to an another |
- | Sometimes, it may be important to return back to an earlier | + | Sometimes, it may be important to return back to an another |
+ | |||
+ | To do this, you need to first right click on the repository folder in the main work area (in the left side) and select //Commit History// This will take you to the //Log// page and there you can read all the various //pushes// that were seen for that repository. | ||
Each push would have an ID: statement. That is what we need to use. | Each push would have an ID: statement. That is what we need to use. | ||
Line 11: | Line 13: | ||
In the above example, make sure you select the entire text using the mouse right from the starting " | In the above example, make sure you select the entire text using the mouse right from the starting " | ||
- | **Important** | + | **Important**\\ |
- | Make sure you click the button else it would again become invisible if you happened to unselect the earlier selected ID information | + | Make sure you click the button else it would again become invisible if you happened to unselect the earlier selected ID information. |
+ | |||
+ | **NOTES**\\ | ||
+ | When you use this command, please note that the ENTIRE contents of the repository folder would shift to the state it was during the commit you had selected. This affects ONLY your computer and will NOT affect the files kept at the Git host service. | ||
+ | |||
+ | Instead of using this command, you can just select the files you want to work on and revert just that. Explained [[revertfiles? | ||
----- | ----- | ||
[[/ | [[/ | ||