Comments (7)
ahah I was going to make the same suggestion
from aicommits.
Agreed! Added this feature suggestion to the README and will plan to implement it under a feature flag so only those who want it can use it
from aicommits.
Would be helpful if someone can engineer a prompt for this and suggest it here. You can experiment for free on https://chat.openai.com.
from aicommits.
A variation of this might work.
I will give you a commit message for git, and you will classify the commit category and pick a suitable gitmoji for the category. Respond with only the emoji and then the category you classified the commit as, don't give any commentary. Here is your first commit: {{commitMessage}}
from aicommits.
Example output:
feat: show multiple options (#64) > ✨ feat (feature)
chore: add commit hooks (#56) > 🔧 chore (maintenance)
Merge pull request #63 from Nutlope/bundle-deps > 🔄 merge (merge)
from aicommits.
v2 that only gives the text code:
I will give you a commit message for git, and you will classify the commit category and pick a suitable gitmoji for the category.
Respond with only the gitmoji text code and not an emoji or commit catagory, don't give any commentary.
Response should be formated like this without the quotes: ':sparkles:'
Here is your commit: {{commitMessage}}
from aicommits.
I sent a PR on how to implement this, I added a prompt to the end like this:
preface with the suitable Gitmoji markup between colons:
to use it:
Write an insightful but concise Git commit message in a complete sentence in present tense for the following diff preface with the suitable Gitmoji markup between colons:\n${diff}
from aicommits.
Related Issues (20)
- Option to skip precommit checks HOT 1
- Error: Too many requests HOT 1
- Extract issue name from branch and append to commit message HOT 2
- Message sanitization should not always remove newlines
- Feature: Ollama integration HOT 6
- self-signed certificate in certificate chain
- Unable to Set OpenAI API Key HOT 4
- How to setting max tokens? HOT 2
- Timeout Error in aicommits v1.11.0 on Large File Commit HOT 1
- Customize generated commit message HOT 1
- Add support for custom OpenAI base url (LocalAI integration) HOT 4
- at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
- certificate is not yet valid
- Integrate with copilot-gpt4-service
- Prompt fine-tuning HOT 1
- More customizable commit message template, auto commit, support for other LLMs, and Perforce VCS HOT 2
- Random "<commit message>" appears in message
- unable to get local issuer certificate
- Add Support for Custom LLMs/Models HOT 1
- is this repo dead? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aicommits.