개념
unreachable git object 들을 local 에서 clean 하는 작업.
- remote의 것을 지우는것이 아님
- unreachable 어떠한 ref에도 접근할 수 없는 것.
git remote prune origin
Reference
https://www.atlassian.com/git/tutorials/git-prune
Git Prune | Atlassian Git Tutorial
It's time to clean up your codebase! Learn about Git Prune, a housekeeping utility that cleans up unreachable or "orphaned" Git objects.
www.atlassian.com
'IT > git' 카테고리의 다른 글
GIT - Stash (0) | 2023.06.13 |
---|---|
GIT - Reset (0) | 2023.06.13 |
GIT - Commit (0) | 2023.06.13 |
GIT - Branch (0) | 2023.06.13 |
GIT - pull vs fetch (0) | 2023.06.13 |