From 3e40e5d4b58a7db6b0c04eed9668c5074c2ab977 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 25 Aug 2016 19:34:10 +0200 Subject: [PATCH] docs: explain how to contribute code --- README.GIT | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.GIT b/README.GIT index f208afcb..bb926882 100644 --- a/README.GIT +++ b/README.GIT @@ -80,5 +80,26 @@ you'll need to run that "make install" command with root privileges. Problems? --------- -Please submit any bugs in the git repository using the Savannah project's -bug tracker (https://savannah.gnu.org/bugs/?group=nano). +Please submit any bugs you find in the code in git via the bug tracker +on Savannah (https://savannah.gnu.org/bugs/?group=nano). + + +Contributing something +---------------------- + +If you have a fix for a bug, or the code for a new or improved feature, +first create a branch off of master: + + $ git checkout -b somename + +Then change the code so it does what you want, and commit it, with in the +commit message (after the one-line summary) a rationale for the change: + + $ git commit -as + +Then create a patch (or patches): + + $ git format-patch master + +Send that patch (or patches) to , as an attachment +or with git send-email.