git apply patch done properly


Totally agree with the way this has been done.

Getting to know what are the change made 
git apply --stat 0001-file.patch

Initiate dry run to detect errors:
git apply --check 0001-file.patch

Finally, to apply patches git am to apply your patch as a commit: it allows you to sign off an applied patch.
This can be useful for later reference.
git am --signoff < 0001-file.patch 

Comments

Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

PySpark - Working with JDBC Sqlite database