[gnome-software: 6/14] docs: Don’t use `git commit -a` to release




commit 6aabac1490f1e970042e98bfb2b9dd6ab06945d5
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Jan 27 13:05:37 2021 +0000

    docs: Don’t use `git commit -a` to release
    
    You might accidentally commit changes you didn’t mean to. Safer to
    self-review each change using `git add -p`.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 RELEASE.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/RELEASE.md b/RELEASE.md
index 1172c2392..4dcee84a4 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -35,7 +35,8 @@ appstream-util appdata-to-news ../data/appdata/org.gnome.Software.appdata.xml.in
 
 Tag the release:
 ```
-git commit -a -m "Release version 3.38.1"
+git add -p
+git commit -m "Release version 3.38.1"
 git tag -s 3.38.1 -m "==== Version 3.38.1 ===="
 <enter password>
 ```


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]