Categorygit

Revert Single File in GIT Commit

R

Step by step how to revert a file from a commit: Where to find the commit ID you’ll need Navigate to the repo which has the file version you are looking forClick through until you get to the file in questionTop right of the table you will see the last commit with a commit ID, 7 characters long and cryptic lookingCopy that number (example: 491ce18) and remember the path/to/your/file.phpIn...

Follow Me