July 2018
Intermediate to advanced
354 pages
10h 57m
English
First, we'll check out the develop branch and apply the patch generated from the master branch (0001-Calculate-pi-with-more-digits.patch) in the first example.
We use the Git am command to apply the patches; am is short for apply from mailbox:
$ git checkout develop Your branch is up-to-date with 'origin/develop'. $ git am latest-commit/0001-Calculate-pi-with-more-digits.patch Applying: Adds functionality to prime-test a range of numberserror: patch failed: math.c:47error: math.c: patch does not applyPatch failed at 0001 Adds functionality to prime-test a range of numbersThe copy of the patch that failed is found in: .git/rebase-apply/patchWhen you have resolved this problem, run "git am --continue".If you prefer to skip this ...
Read now
Unlock full access