From 514a25bd4eacfa06bfda7f52f48734b5d21e125f Mon Sep 17 00:00:00 2001 From: Logan Trevorrow Date: Mon, 21 Oct 2019 18:59:35 -0400 Subject: [PATCH] Changes to commit.md in Reference. Added what would happen if no flags were passed. --- reference/static/commands/basics/commit.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/static/commands/basics/commit.md b/reference/static/commands/basics/commit.md index aa73e59..4bd6e65 100644 --- a/reference/static/commands/basics/commit.md +++ b/reference/static/commands/basics/commit.md @@ -14,6 +14,13 @@ $ git commit ### Useful Options / Examples +#### `commit` +~~~ bash +$ git commit +~~~ + +* If git commit is ran without of any of the following flags then your terminal will launch you into your prefered editor to make changes to your commit if you desire to. For example, if your preferred editor is vim, you will be launched into vim where you can add a commit message if you desire. + #### `commit -m` ~~~ bash $ git commit -m