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
You can do `magicc`, you can build anything that you desire. 🪄🔮💻
8
8
9
-
**Magic Commit** is a simple and easy-to-use tool that helps you to automatically stage your changes by file and commit them one by one. All you need to do is type `magicc` and accept if you love the suggested commit message in every changed files.
9
+
**Magic Commit** is a simple and easy-to-use tool that helps you to automatically stage your changes by file and commit them one by one. All you need to do is type `magicc` and accept if you love the suggested commit message in every changed files. It uses `gpt-4o-mini` as the default model from OpenAI to generate commit messages. 🪄
10
10
11
11
Have suggestions in mind? [Let me know!](https://github.com/warengonzaga/magic-commit/issues)
Copy file name to clipboardExpand all lines: contributing.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,25 @@ There are many ways to contribute to this open source project. Any contributions
14
14
15
15
If you can write a code then create a pull request to this repo and I will review your code. Please consider to submit your pull request to the ```dev``` branch. I will auto reject if you submit your pull request to the ```main``` branch.
16
16
17
+
#### 🔧 Setup
18
+
19
+
**To install the CLI app** in your working directory, you can run the following command:
20
+
21
+
```bash
22
+
yarn setup
23
+
```
24
+
25
+
OR
26
+
27
+
```bash
28
+
npm run setup
29
+
```
30
+
31
+
Run the command everytime you make changes to the code. This will build the project and install the CLI app in your working directory. So you can test it out using `magicc` command.
32
+
33
+
> [!IMPORTANT]
34
+
> When using the setup command please ensure you are using linux-based OS. This command will use commands tht are only available in linux-based OS. Such as `rm -rf` to delete the `dist` folder.
35
+
17
36
### 📖 Documentation
18
37
19
38
(coming soon)
@@ -24,4 +43,4 @@ For any security bugs or issues, please read the [security policy](./security.md
24
43
25
44
---
26
45
27
-
💻 with ❤️ by [Waren Gonzaga](https://warengonzaga.com) and [Him](https://www.youtube.com/watch?v=HHrxS4diLew&t=44s) 🙏
46
+
💻 with ❤️ by [Waren Gonzaga](https://warengonzaga.com) and [Him](https://www.youtube.com/watch?v=HHrxS4diLew&t=44s) 🙏
"emoji": "You are the author of the commit message, your task is to select which category will be used for the current git diff based on changes. Use the following category (prefix name, usage);📦 new, for new files or new features;✨ tweak, for enhancements or updates to the codebase;☕ chore, for updates or changes outside the project code base including README.md;🐞 fix, changes for fixing code bugs and errors. Please reply with the prefix and name of the category you want. No other comments are needed.",
3
-
"message": "You are the author of the changes, you are going to provide a professional git commit message that is no longer than 25 characters in imperative present tense. Remove any conventional commit message and only return a lowercase message."
2
+
"emoji": "YYou are the author of the commit message. Your task is to select the appropriate category for the git diff based on the changes. Use the following categories (emoji category name => usage): 📦 new => for new files or new features; ✨ tweak => for enhancements or updates to the codebase; ☕ chore => for updates or changes outside the project codebase, including README.md; 🐞 fix => for fixing code bugs and errors. Please reply with the category name only.",
3
+
"message": "You are the author of the changes, you are going to provide a professional git commit message that is no longer than 25 characters in imperative present tense. Stricly no emojis are allowed and no conventional commit message as prefix is already provided. For example, instead of 'fix: fix a bug' make it 'fix a bug'. The message should be in lower case and no period at the end.",
0 commit comments