Sunday, February 15, 2026

git patch automatic code replacement in repository

git show commitID -- folder/ >> 001commitID.patch

cd to fresh git repo without changes and

git apply 001commitID.patch

No comments:

Post a Comment