1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages.ko/common/git-filter-repo.md
코드싸이 0819a11434
git-*: add and update Korean translation (#14031)
* git-a*: add and update Korean translation

* git-b*: add and update Korean translation

* git-*: add and update Korean translation

* Update git-standup.md

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-08 00:22:02 +09:00

667 B

git filter-repo

Git 히스토리를 재작성하는 다목적 도구. 같이 보기: bfg. 더 많은 정보: https://github.com/newren/git-filter-repo.

  • 모든 파일에서 민감한 문자열 대체:

git filter-repo --replace-text <(echo '{{찾을_문자열}}==>{{대체할_문자열}}')

  • 특정 폴더를 히스토리를 유지하면서 추출:

git filter-repo --path {{경로/대상/폴더}}

  • 특정 폴더를 히스토리를 유지하면서 제거:

git filter-repo --path {{경로/대상/폴더}} --invert-paths

  • 하위 폴더의 모든 파일을 한 단계 위로 이동:

git filter-repo --path-rename {{경로/대상/폴더/:}}