|
2 | 2 |
|
3 | 3 | A collection of cool hidden and not so hidden features of Git and GitHub. This cheat sheet was inspired by [Zach Holman](https://github.com/holman)'s [Git and GitHub Secrets](http://www.confreaks.com/videos/1229-aloharuby2012-git-and-github-secrets) talk at Aloha Ruby Conference 2012 ([slides](https://speakerdeck.com/holman/git-and-github-secrets)) and his [More Git and GitHub Secrets](https://vimeo.com/72955426) talk at WDCNZ 2013 ([slides](https://speakerdeck.com/holman/more-git-and-github-secrets)).
|
4 | 4 |
|
| 5 | +*Read this in other languages: [English](README.md) [한국어](README.ko.md) or [日本語](README.ja.md).* |
| 6 | + |
5 | 7 | # 목록
|
6 | 8 |
|
7 | 9 | - [GitHub](#github)
|
@@ -75,7 +77,7 @@ diff나 파일 URL에 `?ts=4`를 덧붙이면 텝 문자의 크기를 기본값
|
75 | 77 | 
|
76 | 78 |
|
77 | 79 | 그리고 `?ts=4`를 붙인 [다음에는](https://github.com/pengwynn/flint/blob/master/flint/flint.go?ts=4) 이렇게 됩니다.
|
78 |
| - |
| 80 | + --allow-empty |
79 | 81 | 
|
80 | 82 |
|
81 | 83 | ### Commit History by Author
|
@@ -220,12 +222,12 @@ https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L
|
220 | 222 | 어떤 커밋이 이슈를 고쳤다면, `fix/fixes/fixed`, `close/closes/closed`, `resolve/resolves/resolved`를 키워드로 해당 이슈가 마스터 브랜치에 커밋 될 때 닫을 수 있습니다.
|
221 | 223 |
|
222 | 224 | ```bash
|
223 |
| -$ git commit -m "Fix cock up, fixes #12" |
| 225 | +$ git commit -m "Fix screwup, fixes #12" |
224 | 226 | ```
|
225 | 227 |
|
226 | 228 | 이렇게 하면 이슈를 닫고 클로징 커맨트로 참조하게 합니다.
|
227 | 229 |
|
228 |
| - |
| 230 | + |
229 | 231 |
|
230 | 232 | [*커밋 메세지로 이슈 닫기에 대해 더 읽어 보세요.*](https://help.github.com/articles/closing-issues-via-commit-messages)
|
231 | 233 |
|
@@ -612,6 +614,7 @@ $ git commit -m "Big-ass commit" --allow-empty
|
612 | 614 | - 한 뭉치의 일을 시작하기 전에 주석으로 사용
|
613 | 615 | - 코드와 관련없는 프로젝트 수정을 할때 주석으로 사용
|
614 | 616 | - 저장소를 사용하는 사람과의 대화
|
| 617 | + - 나중에 리베이스하지 않을 저장소의 첫 커밋으로 사용 `git commit -m "init repo" --allow-empty`. |
615 | 618 |
|
616 | 619 | ### Styled Git Status
|
617 | 620 |
|
|
0 commit comments