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