#presentation [https://www.youtube.com/watch?v=aolI_Rz0ZqY](https://www.youtube.com/watch?v=aolI_Rz0ZqY) GitHub の元創業者の [Scott Chacon](https://scottchacon.com/) が [https://fosdem.org/2024/](https://fosdem.org/2024/) でしていたプレゼンテーション アジェンダとしては、以下 - Some helpful config stuff - Oldies but goodies - Some new stuff you may not have noticed - Some big repo / monorepo stuff - Some new GitHub stuff スライドも [https://speakerdeck.com/schacon/so-you-think-you-know-git](https://speakerdeck.com/schacon/so-you-think-you-know-git) で公開されている 以下「へーとなったこと」 ## Oldies but goodies sh ``` git blame -L 15,26 path/to/file git blame -L :KEYWORD:path/to/fil # KEYWORD には、 クラス名や関数名を含めることができてヒューリスティックに探してくれる ``` ちなみに `git log -L` でも同じようなことができる [[Software Design X-Rays]] で log は見ていたので知ってはいたが blame でもできるのは知らなかった ## Some new stuff you may not have noticed sh ``` git config --global columnn.ui auto git config --global branch.sort -commiterdate git push --force-with-lease # -> これはすでに alias として設定していたけどここでも紹介されてたので ```