Skip to content

Commit e26fce2

Browse files
ezyangpytorchmergebot
authored andcommitted
Instruct Claude to preserve ghstack trailers in commit messages (#177536)
Pull Request resolved: #177536 Approved by: https://github.com/Skylion007
1 parent 30c3fac commit e26fce2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ entirely.
4747

4848
Disclose that the PR was authored with Claude.
4949

50+
If a commit message contains `ghstack-source-id` or `Pull-Request` trailers,
51+
you MUST preserve them when rewriting or splitting commit messages. ghstack
52+
will update the source id automatically when needed.
53+
5054
# Coding Style Guidelines
5155

5256
Follow these rules for all code changes in this repository:

0 commit comments

Comments
 (0)