Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| dev:git:gitdiffzip [2025/08/04 12:49] โ added setup hint arvid | dev:git:gitdiffzip [2026/01/18 11:43] (current) โ added version list link arvid |
|---|
| <code>git archive -o ../NAMEOFFILE.zip {TO} $(git diff --name-only {FROM} --diff-filter=ACMRTUXB)</code> | <code>git archive -o ../NAMEOFFILE.zip {TO} $(git diff --name-only {FROM} --diff-filter=ACMRTUXB)</code> |
| (whereas //{FROM}// is the commit ID of the FP release the update package should be working on, and //{TO}// is the commit ID of the release the update package should bring you to.) | (whereas //{FROM}// is the commit ID of the FP release the update package should be working on, and //{TO}// is the commit ID of the release the update package should bring you to.) |
| | |
| | For the commit IDs of the individual FlatPress releases, see: [[doc:flatpress:releases|]] |
| |
| Examples: | Examples: |
| * Update from 1.3 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.3|commit ID 32771f9]]) to 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]):\\ <code>git archive -o ../13to141.zip 3345063 $(git diff --name-only 32771f9 --diff-filter=ACMRTUXB)</code> | * Update from 1.3 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.3|commit ID 32771f9]]) to 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]):\\ <code>git archive -o ../13to141.zip 3345063 $(git diff --name-only 32771f9 --diff-filter=ACMRTUXB)</code> |
| * Update from 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]) to HEAD (latest development version):\\ <code>git archive -o ../141toHEAD.zip HEAD $(git diff --name-only 3345063 --diff-filter=ACMRTUXB)</code> | * Update from 1.4.1 ([[https://github.com/flatpressblog/flatpress/releases/tag/1.4.1|3345063]]) to HEAD (latest development version):\\ <code>git archive -o ../141toHEAD.zip HEAD $(git diff --name-only 3345063 --diff-filter=ACMRTUXB)</code> |