Git 使用 patch

2017/03/29 Git

Git 生成 Patch

git diff > patch
git diff --cache > patch
git diff branchname --cached > patch

Git 应用 Patch

git apply patch

Search

    Post Directory