2.3.0 • Published 11 months ago
git-auto-merger v2.3.0
git-auto-merger
This CLI helps to create an auto-merge functionality for git. When it fails to merge (due to conflicts), you can send an alert out.
Usage
$ npm install -g git-auto-merger
$ git-auto-merger COMMAND
running command...
$ git-auto-merger (--version)
git-auto-merger/2.3.0 linux-x64 node-v16.19.0
$ git-auto-merger --help [COMMAND]
USAGE
$ git-auto-merger COMMAND
...
Commands
git-auto-merger help [COMMAND]
Display help for git-auto-merger.
USAGE
$ git-auto-merger help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for git-auto-merger.
See code: @oclif/plugin-help
git-auto-merger merge
Tries to merge the base branch into all of the other ones that have been specified or match a pattern.
USAGE
$ git-auto-merger merge -b <value> [-e <value>] [-i <value>] [-m <value> -P <value>] [-c] [-P]
FLAGS
-P, --project-name=<value> The name of the project when sending the notification
-P, --push-commit Push the changes of the merge
-b, --base-branch=<value> (required) The base branch that we want to merge into other branches
-c, --commit Commit the changes when the merge takes place
-e, --exclude-pattern=<value>... The regex pattern(s) to exclude when running a merge. For example: ^main$
-i, --include-pattern=<value>... The regex patterns(s) to include when running a merge. For example: feature.+
-m, --notify-email=<value>... Send a notification via SMTP if the merge cannot take place
DESCRIPTION
Tries to merge the base branch into all of the other ones that have been specified or match a pattern.
Exclusion takes preference over inclusion, so we will ignore a branch if it triggers in the include and exclude
patterns.
EXAMPLES
$ git-auto-merger merge --base-branch=develop --include-pattern='develop
--include-pattern='feature/.*' --exclude-pattern='main' --notify-email="dev@example.com" --project-name=Test
See code: dist/commands/merge.ts
git-auto-merger set credentials smtp
Set the SMTP credentials that should be used to send the alert
USAGE
$ git-auto-merger set credentials smtp -h <value> -u <value> -p <value> -P <value> -f <value> [-s]
FLAGS
-P, --port=<value> (required) The SMTP port to use
-f, --from=<value> (required) The from email address
-h, --host=<value> (required) The SMTP host to connect to
-p, --password=<value> (required) The email password
-s, --tls TLS enabled
-u, --username=<value> (required) The email username
DESCRIPTION
Set the SMTP credentials that should be used to send the alert
EXAMPLES
$ git-auto-merger set credentials smtp --host=smtp.postmarkapp.com --port=587 --username=xxxxx-xxxxx-xxxxx --password=xxxxx-xxxxx-xxxxx --tls --from=info@example.com
2.3.0
11 months ago
2.0.3
11 months ago
2.2.0
11 months ago
2.0.5
11 months ago
2.0.4
11 months ago
2.0.11
11 months ago
2.0.7
11 months ago
2.0.12
11 months ago
2.0.6
11 months ago
2.0.9
11 months ago
2.0.10
11 months ago
2.0.8
11 months ago
2.1.0
11 months ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.6.1
1 year ago
1.6.0
1 year ago
1.5.2
1 year ago
1.5.1
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.0
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago