You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the `.commit.json` file is not included, the tool will just fall back to its default settings (GitHub style issues).
63
67
Same will happen for any of the settings that is not included in the config json. See the default values in [constants.go](/internal/helpers/constants.go) file.
@@ -73,6 +77,11 @@ For example, the branch named `add-tests-for-CR-127-and-CR-131-features`, the is
73
77
## Testing
74
78
So far I haven't added a lot of unit tests for this project, but I will be doing it in the future.
75
79
To run the tests, use the `make test` or `go test -v ./tests` commands.
80
+
### Debug
81
+
To check what commit message will be generated without making the actual commit, there is a `-dry-run` flag that can be passed to the command:
82
+
```shell
83
+
commit -dry-run "Not a real commit"
84
+
```
76
85
## Contributing
77
86
Originally I wrote this tool for myself in shell and Swift and used a lot on MacOS. This repo is an attempt to make it crossplatform and an opportunity to excercise in writing Go.
78
87
If you find it useful and see that something's wrong or missing, feel free to raise issues and contribute to the project.
0 commit comments