From b7d0680fb354fddece5e4c1d99600d452742ea10 Mon Sep 17 00:00:00 2001 From: Dinesh Date: Wed, 13 Dec 2017 17:52:58 +0530 Subject: [PATCH] git-commit: auto stage and commit --- pages/common/git-commit.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index e84a76611..7f67036ff 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -1,6 +1,6 @@ # git commit -> Commit staged files to the repository. +> Commit files to the repository. - Commit staged files to the repository with comment: @@ -9,3 +9,7 @@ - Replace the last commit with currently staged changes: `git commit --amend` + +- Auto stage all modified files and commit with comment: + +`git commit -a -m {{message}}`