diff --git a/apps/code/src/main/services/git/service.ts b/apps/code/src/main/services/git/service.ts index 3181d8f9f..e02debeb6 100644 --- a/apps/code/src/main/services/git/service.ts +++ b/apps/code/src/main/services/git/service.ts @@ -767,10 +767,13 @@ export class GitService extends TypedEventEmitter { body?: string, draft?: boolean, ): Promise<{ success: boolean; message: string; prUrl: string | null }> { + const prFooter = + "\n\n---\n*Created with [PostHog Code](https://posthog.com/code?ref=pr)*"; + const args = ["pr", "create"]; if (title) { args.push("--title", title); - args.push("--body", body || ""); + args.push("--body", (body || "") + prFooter); } else { args.push("--fill"); }