Create patch file git diff --no-prefix > [path file name] Apply path file patch -p0 < [path file name]