Making a git patch
From FrugalWiki
Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어
Making a git patch
Preparing
See the page about how Cloning the git repo
By default, vim is use by Git. If you want another one, like nano, you have to do this :
and add
[core] editor = nano
Creating patch
1.Browse in your git repo local copy (/home/<user>/git/current/source/folder group/ indicated in your FrugalBuild)
2.Make a new directory with the name of your package
3.Put your FrugalBuild in this directory
4.Open a terminal and type :
To check possible errors.
Add all other files you need.
Check package name and add under it:
* new package
To get the hash under * new package:
Everything under the hash (including the hash line) will be ignored in creating the patch.
You'll have a file in this form:
0001-PackageName-PackageVersion-Arch.patch
and this is the file to send to Mailing-List -devel to suggest your contribution :-)