[[TableOfContents]] == ì¼ë°˜ == ==== 알아ë‘ë©´ ì¢‹ì€ ê¸°ëŠ¥ ==== ===== stashing ===== ==== ìž‘ì—…ì˜ ì·¨ì†Œ ==== http://www.evernote.com/l/AMKuBFPL-uZItrAAGvEbqooTf52dvpkR1rQ/ ==== pushì˜ ì·¨ì†Œ ==== http://whiteship.me/?p=13516 ==== commit 메시지 ìˆ˜ì • ==== ===== 마지막 ì»¤ë°‹ì„ ìˆ˜ì •í•˜ê¸° ===== [[Code($ git commit --amend)]] 마지막 ì»¤ë°‹ì„ ìˆ˜ì •í•˜ëŠ” ë°©ë²•ì€ ë§¤ìš° 간단하다. ì´ ëª…ë ¹ìœ¼ë¡œ í…스트 편집기가 ì—´ë¦¬ê³ ë©”ì‹œì§€ë¥¼ ìˆ˜ì •í•˜ë©´ ëœë‹¤. ===== 커밋 메시지를 여러 ê°œ ìˆ˜ì •í•˜ê¸° ==== rebase를 사용해야 한다. 다ìŒì„ ì£¼ì˜ ê¹Šê²Œ ë´ì•¼ 한다. https://git-scm.com/book/ko/v1/Git-%EB%8F%84%EA%B5%AC-%ED%9E%88%EC%8A%A4%ED%86%A0%EB%A6%AC-%EB%8B%A8%EC%9E%A5%ED%95%98%EA%B8%B0 === diff 패치 ìƒì„± ë° ì ìš© === {{{ git diff --no-prefix > patchfile # 패치 ìƒì„± cd path/to/top/ # ì´ë™ patch -p0 < patchfile # ì ìš© }}} --no-prefix 옵션 ì—†ì´ ìƒì„±ëœ patch 파ì¼ì´ 있다면, {{{ patch -p1 < patchfile }}} == 기타 == === gitignore === ==== Visual Studio ==== https://github.com/github/gitignore/blob/master/VisualStudio.gitignore ---- CategoryDev