Applying Single CAF Commits

Normally, git either fetches all remote branches or only a specific branch with git fetch <remote> <branch>, but most git servers cannot send a single commit.

Say you want to apply only a commit from CodeAurora Forum(“CAF”) but you do not know the branch it is on. E.g.

You can get a .patch-formatted version of any commit by exchanging /commit?id= for /patch?id=.

You can download that patch and apply it via git’s apply-mail function: curl '' | git am.

Published by

Edit source on Github