From 2527c80f2feaed543a835552399bf81384f4d251 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Mon, 6 Mar 2023 23:41:47 +0800 Subject: [PATCH] =?UTF-8?q?*=20=F0=9F=93=9D=20docs(README.md):=20replace?= =?UTF-8?q?=20opencommit=20with=20oc=20in=20commands=20The=20commands=20in?= =?UTF-8?q?=20the=20README.md=20file=20have=20been=20updated=20to=20use=20?= =?UTF-8?q?the=20new=20'oc'=20command=20instead=20of=20the=20old=20'openco?= =?UTF-8?q?mmit'=20command.=20This=20improves=20consistency=20with=20the?= =?UTF-8?q?=20naming=20conventions=20and=20makes=20it=20easier=20to=20use?= =?UTF-8?q?=20the=20tool.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 897ef17..8b84f93 100644 --- a/README.md +++ b/README.md @@ -60,13 +60,13 @@ oc To add emoji: ```sh -opencommit config set emoji=true +oc config set emoji=true ``` To remove emoji: ```sh -opencommit config set emoji=false +oc config set emoji=false ``` ### Postface commits with descriptions of changes @@ -74,13 +74,13 @@ opencommit config set emoji=false To add descriptions: ```sh -opencommit config set description=true +oc config set description=true ``` To remove description: ```sh -opencommit config set description=false +oc config set description=false ``` ## Git hook @@ -90,20 +90,20 @@ You can set opencommit as Git [`prepare-commit-msg`](https://git-scm.com/docs/gi To set the hook: ```sh - opencommit hook set +oc hook set ``` To unset the hook: ```sh - opencommit hook unset +oc hook unset ``` To use the hook: ```sh - git add - git commit +git add +git commit ``` Or follow the process of your IDE Source Control feature, when it calls `git commit` command — OpenCommit will integrate into the flow.