mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
2.0 KiB
2.0 KiB
Contributing to gitmoji
Hello!
Thanks for for contributing on gitmoji. Before implementing new features and changes, feel free to submit an issue. We're going to talk here 😜.
If you would like to add a new emoji to gitmoji, fill the provided ISSUE_TEMPLATE when creating an issue and take a look at the contributing section.
How to submit a pull request?
- Fork this repository.
- Create a new branch with the feature name. (Eg: add-emoji-deploy, fix-website-header)
- Make your changes.
- Commit your changes. Don't forget to add a commit title with an emoji and a description.
- Push your changes.
- Submit your pull request.
How to add a gitmoji
- Open the gitmoji.json file located at
src/data/gitmojis.json. - Add your emoji using the following code inside of the
gitmojis array []: - Save the file and create a pull request.
{
"emoji": "",
"code": ":code:",
"description": "Enter the description for the gitmoji.",
"name": "code (same as code but without ':' replace underscores for dashes _ => - )"
}
How to start gitmoji and update
If you want to make changes to the site, follow the next steps:
- Clone gitmoji
$ git clone https://github.com/carloscuesta/gitmoji.git
$ cd gitmoji
- Install the dependencies and start the development task.
$ npm i && gulp
- Make sure the styles are using a link instead of being inlined.
If you are updating the SCSS files and the styles doesn't get updated, go to the index.pug and about.pug paste the following code
link(href="css/style.css", type="text/css", rel="stylesheet")
Remove this one
style
include ../../dist/css/style.css
After making your changes, inline the styles as before.