git format-patch <commit hash> # Create a file of changes that have been done in this commit
git format-patch -2 <commit hash> # determine the number of patches for multiple commits | will get two commit start from the hash mentioned
To check out and create a branch at the same time do:
git checkout -b work
INFO: Let’s add git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git as the remote named linux. Adding a remote helps us fetch changes and choose a tag to rebase from.
git remote add linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch linux
Mohamed Eraki
Multi-Cloud & DevOps Engineer experience in enterprise and FinTech environments, specializing in cloud platforms, DevOps, IaC......
for more info follow:
trainingportal.linuxfoundation.org/learn/course/a…
mohamed-eleraky.atlassian.net/wiki/spaces/D/pages…