From 6273a8967d229280ea692c803118545e81bac16b Mon Sep 17 00:00:00 2001 From: Falko Zurell Date: Wed, 14 Feb 2024 16:53:20 +0100 Subject: [PATCH] updated README to include apply cmd Signed-off-by: Falko Zurell --- .gitignore | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bb88d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.DS_Store diff --git a/README.md b/README.md index a567c2a..1292b22 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ https://1010.gitlab.io/posts/customize-mastodon-character-limit/ 1. check out the mastodon original code 1. check out the Tag your want to patch for (e.q. `git checkout v.4.2.2`) 1. create a new branch from the tag: `git checkout -b v4.2.2-maxChar500` -1. modify the files that need to be modified +1. modify the files that need to be modified (e.q. `git apply ../mastodon-character-increase/character-limit-patch.patch/v4.2-increase-character-limit-from-500-to-5000.patch` ) 1. commit the changes to your branch: `git commit` 1. create the diff patch file: `mastodon git:(v4.2.2-maxChar5000) git format-patch --stdout v4.2.2` 1. verify the patch and save into this repo: `mastodon git:(v4.2.2-maxChar5000) git format-patch --stdout v4.2.2 > ../mastodon-character-increase/character-limit-patch.patch/v4.2.2-increase-character-limit-from-500-to-5000.patch`