1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/git-maintenance.md
2025-03-07 13:48:24 +02:00

24 lines
721 B
Markdown

# git-maintenance
> Git 저장소 데이터를 최적화하기 위한 작업 실행.
> 더 많은 정보: <https://git-scm.com/docs/git-maintenance>.
- 현재 저장소를 사용자의 목록에 등록하여 매일 유지 관리 작업 실행:
`git maintenance register`
- 현재 저장소에서 유지 관리 작업 시작:
`git maintenance start`
- 현재 저장소의 백그라운드 유지 관리 일정 중지:
`git maintenance stop`
- 현재 저장소를 사용자의 유지 관리 저장소 목록에서 제거:
`git maintenance unregister`
- 현재 저장소에서 특정 유지 관리 작업 실행:
`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}`