- 岛民
- 基督徒
- 热爱代码,以及代码相关的一切
感谢乌克兰人民和泽连斯基总统,不仅抵御了俄罗斯的侵略,更阻止了强权、暴政和恐怖主义对自由世界的侵害!
The commitizen command line utility, without nodejs.
License: MIT License
Macos, installing with homebrew
/opt/homebrew/commitizen-go: Bad CPU type in executable
I don't know how to uninstall it
If some pre-commit hook prevents creating a commit (in my case it was a hook checking that commit message starts from lowercase letter), then commit would not be created;git cz
though would appear as if it was successful.
通过运行survey v2的例子,发现survey对windows下git bash的交互界面支持并不是很友好
Hi, I would like commitizen-go
to load a configuration file in the root directory of the git repository.
Committers can use commitizen-go
to configure different settings for different projects.
Why not implement that feature, ready to submit a PR. 🎉
Hi there,
is it possible to pass any flags that this utility do not recognize to git commit
?
Sometimes you need to use some commit option, and you probably do not want to write a commit message without this wizard, so it would be nice...
So, if I write a commit message that is long enough to span to new line; and then I try to delete some part of it with backspace - then cursor can't go further that the beginning of the second line.
After it got there, no matter how many times I try to backspace, it stays there.
First line visually stays the same. But actually, if I proceed and create the commit, it will turn out that symbols on the first line were deleted as I was pressing backspace. It is just not shown in any way.
I'd like to Gitmoji with this Go version of Commitizen, but to do that, I need to use the user-selected type
as a key to lookup the appropriate emoji code to include in the commit message. How can I do this? I've struggled (in vain) to define a variable like map[string]string
in message.template
and index that using .type
but no joy:
"template": "{{ $emoji := map[string]string{\"prune\": \"fire\"}}}{{index $emoji .type}} ..."
I've finally found an equivalent of commitizen for Golang projects. Just wondering, are there any plans to add custom configuration files? (as a reference, cz-cli has support for .czrc
files)
Hi,
Thanks for your commitizen go version!
It would be great if you could make a brew package for it :)
Thanks
brew tap lintingzhen/tap
- works
brew install commitizen-go
==> Installing commitizen-go from lintingzhen/tap
==> Downloading https://github.com/lintingzhen/commitizen-go/releases/download/v1.0.0/commitizen-Darwin-x86-1.0.0.tgz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/178145467/2a250a00-e728-11ea-89c8-9c07047e2d2b?X-Amz-Algorithm=AW
######################################################################## 100.0%
Error: An exception occurred within a child process:
Errno::ENOENT: No such file or directory - commitizen
Is brew pointing to a bad version?
fail
/usr/lib/git-core/git-cz: 1: /usr/lib/git-core/git-cz: --2023-03-06: not found
/usr/lib/git-core/git-cz: 2: /usr/lib/git-core/git-cz: Syntax error: "(" unexpected
I have an issue on ubuntu 20.04 arm64,
/usr/lib/git-core/git-cz: 1: Syntax error: "(" unexpected
When i build with arm64 arch - everything is fine
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=arm64 go build -o $@ -ldflags ${REVISION_FLAG}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.