meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git:patch [2016/04/05 21:31] – niziak | git:patch [2020/06/03 11:16] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== patch ====== | ||
+ | |||
+ | ====== Applying ====== | ||
+ | Check and apply the patch: | ||
+ | <code bash> | ||
+ | git apply --stat fix_empty_poster.patch | ||
+ | git apply --check fix_empty_poster.patch | ||
+ | git am --signoff < fix_empty_poster.patch | ||
+ | </ | ||
+ | |||
+ | ====== Create ====== | ||
+ | ===== last commit ===== | ||
+ | <code bash>git format-patch -1</ | ||
+ | |||
+ | ===== current branch and master branch ===== | ||
+ | <code bash>git format-patch gitlab/ | ||
+ | |||
=== squash all commits === | === squash all commits === | ||
<code bash> | <code bash> |