TIL: Using git restore to Revert File Changes and Sync with Another Branch
Learn how to use git restore to revert a file's changes and sync it with another branch, such as restoring a file from the main branch to discard local commits.
Learn how to use git restore to revert a file's changes and sync it with another branch, such as restoring a file from the main branch to discard local commits.
Tests and results of it on building docker images using Kaniko and its effect on pipeline security and speed