毎度毎度調べてるのが面倒なのでメモ程度に置いておきます。
$ git diff --no-prefix HEAD~ > thisis.patch
$ patch --dry-run -p0 < thisis.patch
$ patch -p0 < thisis.patch
More than 5 years have passed since last update.
毎度毎度調べてるのが面倒なのでメモ程度に置いておきます。
$ git diff --no-prefix HEAD~ > thisis.patch
$ patch --dry-run -p0 < thisis.patch
$ patch -p0 < thisis.patch
Register as a new user and use Qiita more conveniently