2022-07-30から1日間の記事一覧

Gitで特定のファイルの特定の行の履歴を調べるコマンド

Gitであるファイルの特定の行の修正履歴を知りたくなり、それを出すコマンドを調べた。 View git history of specific line - Stack Overflow には解決策が書かれている。 git log -L行数,1:/path/to/the/file を実行すればよい。参考URLでは/path/to/the/fi…