From eceb0b11c9f8e68d96c33c1f4af0335b3e66376d Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 5 Sep 2025 10:47:23 +0200 Subject: [PATCH] Document how to push git lfs files to 3rd party PRs (#7507) --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 110f92dd..d3140d94 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,6 +71,9 @@ git add --renormalize . # Moves already added files to regular git (according to # Push to a contributor remote (see https://github.com/cli/cli/discussions/8794#discussioncomment-8695076) git push --no-verify + +# Push git lfs files to contributor remote: +git push origin $(git branch --show-current) && git push --no-verify && git push origin --delete $(git branch --show-current) ``` ## PR review