# 삶을 편하게 해주는 Git 팁 들

> Clean Markdown view of GeekNews topic #3183. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3183](https://news.hada.io/topic?id=3183)
- GeekNews Markdown: [https://news.hada.io/topic/3183.md](https://news.hada.io/topic/3183.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-11-11T11:04:40+09:00
- Updated: 2020-11-11T11:04:40+09:00
- Original source: [opensource.com](https://opensource.com/article/20/10/advanced-git-tips)
- Points: 18
- Comments: 0

## Topic Body

오타 자동 교정 $ git config --global help.autocorrect 1

커밋 세기 $ git rev-list --count

Repo 최적화 $ git gc --prune=now --aggressive

추적제외 파일 백업하기 $ git ls-files --others --exclude-standard -z | xargs -0 tar rvf ~/backup-untracked.zip

다른 브랜치 파일 보기 $ git show main:README.md

Git 검색하기 $ git rev-list --all | xargs git grep -F ‘’

.git 폴더 이해하기

ㅤ$ cat .git/HEAD

ㅤ$ cat .git/description

## Comments



_No public comments on this page._
