From 2021c9014056466c2ecc841f7934a790221cced4 Mon Sep 17 00:00:00 2001 From: plskz Date: Thu, 1 Jul 2021 01:13:11 +0800 Subject: [PATCH] Update git.sh --- tools/git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/git.sh b/tools/git.sh index bbbd86b..46573a0 100644 --- a/tools/git.sh +++ b/tools/git.sh @@ -41,6 +41,7 @@ git grep --heading --line-number '' # Find lines matching the patt git log --grep='' # Search Commit log git commit -m "msg" # commit changes with a msg +git commit -m "title" -m "description" # commit changes with a title and description git commit --amend # combine staged changes with the previous commit, or edit the previous commit message without changing its snapshot git commit --amend --no-edit # amends a commit without changing its commit message git commit --amend --author='Author Name ' # Amend the author of a commit