tony19
tony19

Reputation: 138196

how to create a patch using the repo command?

I'm currently working in the CyanogenMod 9 source, and I'd like to create a patch of all my changes. How can I use repo to generate a patch that I can forward to a colleague for him to apply to his repository? Thanks.

Upvotes: 0

Views: 3808

Answers (1)

Lily Ballard
Lily Ballard

Reputation: 185653

I have zero experience with repo, but it looks like repo diff is your friend. That generates a standard diff (using git diff) which can be applied using either git apply (if you're willing to use git directly), or using the venerable patch utility (invoked as patch -p1).

Upvotes: 3

Related Questions