chore(cursor): rule to commit and push after repo changes
Made-with: Cursor
This commit is contained in:
10
.cursor/rules/git-push-after-changes.mdc
Normal file
10
.cursor/rules/git-push-after-changes.mdc
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: 코드·문서 수정 후 origin/main에 커밋하고 git push까지 한다
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Git: 수정 후 push
|
||||
|
||||
- 이 저장소에서 **의도한 변경**을 마치면 `git add` → **의미 있는 커밋 메시지**로 `git commit` → **`git push origin main`** 까지 수행한다.
|
||||
- 사용자가 별도로 말하지 않아도, 작업 완료 시점에 푸시한다(원격이 `main`이 아니면 해당 브랜치).
|
||||
- 커밋에 포함하면 안 되는 로컬 전용 파일은 `.gitignore`를 따른다.
|
||||
Reference in New Issue
Block a user