Giter Club home page Giter Club logo

Comments (7)

AntoineKM avatar AntoineKM commented on August 28, 2024

ahah I was going to make the same suggestion

from aicommits.

Nutlope avatar Nutlope commented on August 28, 2024

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.

privatenumber avatar privatenumber commented on August 28, 2024

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.

kcoderhtml avatar kcoderhtml commented on August 28, 2024

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.

kcoderhtml avatar kcoderhtml commented on August 28, 2024

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.

kcoderhtml avatar kcoderhtml commented on August 28, 2024

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.

Th3Kr4t3 avatar Th3Kr4t3 commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.