Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to commit.md in Reference. Added what would happen if no flag is given. #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions reference/static/commands/basics/commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <msg>
Expand Down