Skip to content

GitのTips

This content is a draft and will not be included in production builds.

特定バージョンにファイルを戻す

Section titled “特定バージョンにファイルを戻す”
Terminal window
git restore [commit] [file]

パターンを含まないファイルだけ列挙する

Section titled “パターンを含まないファイルだけ列挙する”
Terminal window
git grep -L [pattern]